empathy r1604 - trunk/src



Author: xclaesse
Date: Fri Oct 17 12:46:22 2008
New Revision: 1604
URL: http://svn.gnome.org/viewvc/empathy?rev=1604&view=rev

Log:
Avoid using gtk_widget_show_all and show each widget separately. (Jonny Lamb)

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/src/empathy-import-dialog.c

Modified: trunk/src/empathy-import-dialog.c
==============================================================================
--- trunk/src/empathy-import-dialog.c	(original)
+++ trunk/src/empathy-import-dialog.c	Fri Oct 17 12:46:22 2008
@@ -415,8 +415,10 @@
 
   dialog->label_select = gtk_label_new (
       _("Select the program to import accounts from:"));
+  gtk_widget_show (dialog->label_select);
 
   dialog->combo = gtk_combo_box_new_text ();
+  gtk_widget_show (dialog->combo);
 
   gtk_combo_box_append_text (GTK_COMBO_BOX (dialog->combo), "Pidgin");
   gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->combo), 0);
@@ -427,9 +429,8 @@
   gtk_box_pack_start_defaults (GTK_BOX (GTK_DIALOG (dialog->window)->vbox),
       dialog->combo);
 
-
   if (parent)
     gtk_window_set_transient_for (GTK_WINDOW (dialog->window), parent);
 
-  gtk_widget_show_all (dialog->window);
+  gtk_widget_show (dialog->window);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]