im.pidgin.cpw.resiak.disconnectreason: 1b5cd92c6d8c2cc7f50cf2c3dcdb0dffd63f8c8b

resiak at soc.pidgin.im resiak at soc.pidgin.im
Mon Nov 5 04:40:39 EST 2007


-----------------------------------------------------------------
Revision: 1b5cd92c6d8c2cc7f50cf2c3dcdb0dffd63f8c8b
Ancestor: b4b6c5f5d9959ed4178c3f01b45fa54a0573424c
Author: resiak at soc.pidgin.im
Date: 2007-11-05T01:28:20
Branch: im.pidgin.cpw.resiak.disconnectreason

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Hide the description label of the PidginMiniDialog used for signed on elsewhere
errors.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	4188c704f27b27a1bf67f69007cebeb9b1558151
+++ pidgin/gtkblist.c	26dd208b80c567ca2d69d1d8255b2267e9163a8a
@@ -4440,8 +4440,8 @@ add_generic_error_dialog(PurpleAccount *
 		(GCallback)generic_error_destroy_cb,
 		account);
 
+	add_error_dialog(gtkblist, mini_dialog);
 	gtk_widget_show_all(mini_dialog);
-	add_error_dialog(gtkblist, mini_dialog);
 }
 
 static void
@@ -4520,8 +4520,12 @@ ensure_signed_on_elsewhere_minidialog(Pi
 		ignore_elsewhere_accounts, NULL);
 
 	add_error_dialog(gtkblist, GTK_WIDGET(mini_dialog));
+	gtk_widget_show_all(GTK_WIDGET(mini_dialog));
 
-	/* Set priv->signed_on_elsewhere to NULL when it is destroyed */
+	/* 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",
 		(GCallback) gtk_widget_destroyed, &(priv->signed_on_elsewhere));
 }


More information about the Commits mailing list