Enlightenment CVS committal

Author  : andreas99
Project : e16
Module  : tools

Dir     : e16/tools/e16menuedit2/src


Modified Files:
        callbacks.c 


Log Message:
use same app icon for all dialogs

===================================================================
RCS file: /cvsroot/enlightenment/e16/tools/e16menuedit2/src/callbacks.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- callbacks.c 28 Aug 2004 14:50:58 -0000      1.14
+++ callbacks.c 28 Aug 2004 15:01:08 -0000      1.15
@@ -166,11 +166,12 @@
 
   logo_image = lookup_libglade_widget ("info_window", "logo_image");
 
-
   gtk_image_set_from_file (GTK_IMAGE (logo_image),
                            SYSTEM_PIXMAPS_DIR"/e16menuedit2-icon.png");
 
-  gtk_widget_show (info_window);
+  gtk_window_set_icon_from_file (GTK_WINDOW (info_window),
+                                 SYSTEM_PIXMAPS_DIR"/e16menuedit2-icon.png",
+                                 NULL);
 }
 
 void on_toolbutton_save_clicked (GtkToolButton *toolbutton,
@@ -310,17 +311,18 @@
   GtkWidget *comboboxentry1;
 
   properties_xml = glade_xml_new (PACKAGE_DATA_DIR"/glade/e16menuedit2.glade",
-                            "properties_window", NULL);
+                                  "properties_window", NULL);
   register_libglade_parent (properties_xml, "properties_window");
   glade_xml_signal_autoconnect (properties_xml);
 
   properties_window = lookup_libglade_widget ("properties_window", 
"properties_window");
 
   comboboxentry1 = lookup_libglade_widget ("properties_window", "comboboxentry1");
-  
+
   gtk_combo_box_set_active (GTK_COMBO_BOX (comboboxentry1), 0);
 
-  gtk_widget_show (properties_window);
+  gtk_window_set_icon_from_file (GTK_WINDOW (properties_window),
+                                 SYSTEM_PIXMAPS_DIR"/e16menuedit2-icon.png",          
                       NULL);
 }
 
 




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to