# HG changeset patch # User Will Thompson # Date 1194226100 0 # Node ID b089fd1ad059968fd91897043849d2dd7d2cb968 # Parent 4ccc4ad0a8b02033c146db7abea540b4baa7feb8 Hide the description label of the PidginMiniDialog used for signed on elsewhere errors. diff -r 4ccc4ad0a8b0 -r b089fd1ad059 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Mon Nov 05 01:19:51 2007 +0000 +++ b/pidgin/gtkblist.c Mon Nov 05 01:28:20 2007 +0000 @@ -4440,8 +4440,8 @@ (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 @@ ignore_elsewhere_accounts, NULL); add_error_dialog(gtkblist, GTK_WIDGET(mini_dialog)); - - /* Set priv->signed_on_elsewhere to NULL when it is destroyed */ + 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", (GCallback) gtk_widget_destroyed, &(priv->signed_on_elsewhere)); }