aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2008-10-17 20:46:22 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-10-17 20:46:22 +0800
commit8deb321794abbdc10c63febf07714cd57fa2a146 (patch)
tree23715b30d02f34dff40ea15660eac1c422087c04
parent9c1f1304af9f11b3d34d74c65cf29abb9c41aa77 (diff)
downloadgsoc2013-empathy-8deb321794abbdc10c63febf07714cd57fa2a146.tar
gsoc2013-empathy-8deb321794abbdc10c63febf07714cd57fa2a146.tar.gz
gsoc2013-empathy-8deb321794abbdc10c63febf07714cd57fa2a146.tar.bz2
gsoc2013-empathy-8deb321794abbdc10c63febf07714cd57fa2a146.tar.lz
gsoc2013-empathy-8deb321794abbdc10c63febf07714cd57fa2a146.tar.xz
gsoc2013-empathy-8deb321794abbdc10c63febf07714cd57fa2a146.tar.zst
gsoc2013-empathy-8deb321794abbdc10c63febf07714cd57fa2a146.zip
Avoid using gtk_widget_show_all and show each widget separately. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=1604
-rw-r--r--src/empathy-import-dialog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c
index 79a207a2a..ed825bee8 100644
--- a/src/empathy-import-dialog.c
+++ b/src/empathy-import-dialog.c
@@ -415,8 +415,10 @@ empathy_import_dialog_show (GtkWindow *parent)
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 @@ empathy_import_dialog_show (GtkWindow *parent)
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);
}