/[beaver]/beaver/src/interface.c
ViewVC logotype

Diff of /beaver/src/interface.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by mikix, Mon Mar 24 20:06:10 2003 UTC revision 1.11 by mikix, Thu Mar 27 02:45:07 2003 UTC
# Line 49  Line 49 
49  /* The 'about' pixmap */  /* The 'about' pixmap */
50    
51  #include "../pixmaps/about.xpm"  #include "../pixmaps/about.xpm"
52    #include "../pixmaps/beaver.xpm"
53    
54  /* These variables HAVE to be global ones: I know this is bad, but... */  /* These variables HAVE to be global ones: I know this is bad, but... */
55    
# Line 1125  gint command_line (gint argc, gchar *arg Line 1126  gint command_line (gint argc, gchar *arg
1126      return count;      return count;
1127  }  }
1128    
1129    void set_beaver_icon (GtkWindow *window)
1130    {
1131            GdkPixbuf *icon;
1132            
1133            icon = gdk_pixbuf_new_from_xpm_data (beaver_xpm);
1134            gtk_window_set_icon (window, icon);
1135            
1136            g_object_unref (icon);
1137    }
1138    
1139    
1140  /* The main function in the shaping process of the interface */    /* The main function in the shaping process of the interface */  
1141    
# Line 1161  void interface (gint argc, gchar *argv[] Line 1172  void interface (gint argc, gchar *argv[]
1172    g_signal_connect_after (G_OBJECT(MainNotebook), "switch-page",    g_signal_connect_after (G_OBJECT(MainNotebook), "switch-page",
1173                        G_CALLBACK (page_changed), NULL);                        G_CALLBACK (page_changed), NULL);
1174    init_msgbar (GTK_BOX(MainVBox));    init_msgbar (GTK_BOX(MainVBox));
1175      set_beaver_icon (GTK_WINDOW (MainWindow));
1176    menu_set_files_open (FALSE);    menu_set_files_open (FALSE);
1177    command_line (argc, argv);    command_line (argc, argv);
1178    autosave (AUTOSAVE_DELAY);    autosave (AUTOSAVE_DELAY);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26