[gaim-migrate @ 8528]

Sun, 14 Dec 2003 19:32:41 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sun, 14 Dec 2003 19:32:41 +0000
changeset 7874
03ead7bb8033
parent 7873
9a550466497c
child 7875
f94e1fe76d79

[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

src/gtkconn.c file | annotate | diff | comparison | revisions
--- 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);
 
 

mercurial