changeset 7874:40b37b1e0905

[gaim-migrate @ 8528] Change the order of the buttons on the disconnected dialog to Reconnect | Reconnect All | Close Do we really need the "reconnect" button on the disconnect dialog to toggle back and forth between "reconnect" and "remove"? It seems like it would be better if it were always "reconnect" and just grayed out if the account had already been reconnected committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 14 Dec 2003 19:32:41 +0000
parents f691e3eb4ff3
children c93c53f563b6
files src/gtkconn.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconn.c	Sun Dec 14 19:04:09 2003 +0000
+++ b/src/gtkconn.c	Sun Dec 14 19:32:41 2003 +0000
@@ -497,8 +497,7 @@
 		GtkCellRenderer *rend, *rend2;
 
 		disconnect_window = g_new0(struct disconnect_window, 1);
-		disconnect_window->window = gtk_dialog_new_with_buttons(GAIM_ALERT_TITLE, NULL, GTK_DIALOG_NO_SEPARATOR,
-									GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL);
+		disconnect_window->window = gtk_dialog_new_with_buttons(GAIM_ALERT_TITLE, NULL, GTK_DIALOG_NO_SEPARATOR, NULL);
 		g_signal_connect(G_OBJECT(disconnect_window->window), "response", G_CALLBACK(disconnect_response_cb), disconnect_window);
 
 		gtk_container_set_border_width(GTK_CONTAINER(disconnect_window->window), 6);
@@ -532,6 +531,11 @@
 			_("Reconnect _All"),
 			GTK_RESPONSE_APPLY);
 
+		gtk_dialog_add_button(
+			GTK_DIALOG(disconnect_window->window),
+			GTK_STOCK_CLOSE,
+			GTK_RESPONSE_CLOSE);
+
 		gtk_widget_show_all(disconnect_window->window);