diff pidgin/gtkblist.c @ 21415:5203f3836da5

Really actually hide the description label inside a minidialog, even when someone calls show_all on the minidialog. The "no-show-all" gtkwidget property is useful!
author Will Thompson <will.thompson@collabora.co.uk>
date Mon, 05 Nov 2007 10:29:13 +0000
parents ccceac5e1976
children 38cc722159ff
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Mon Nov 05 01:39:39 2007 +0000
+++ b/pidgin/gtkblist.c	Mon Nov 05 10:29:13 2007 +0000
@@ -4445,7 +4445,6 @@
 		account);
 
 	add_error_dialog(gtkblist, mini_dialog);
-	gtk_widget_show_all(mini_dialog);
 }
 
 static void
@@ -4524,10 +4523,6 @@
 		ignore_elsewhere_accounts, NULL);
 
 	add_error_dialog(gtkblist, GTK_WIDGET(mini_dialog));
-	gtk_widget_show_all(GTK_WIDGET(mini_dialog));
-
-	/* Hide the description field now that the dialog has been shown. */
-	g_object_set(G_OBJECT(mini_dialog), "description", NULL, NULL);
 
 	/* Set priv->signed_on_elsewhere to NULL when the dialog is destroyed */
 	g_signal_connect(G_OBJECT(mini_dialog), "destroy",