# HG changeset patch # User Mark Doliner # Date 1071430361 0 # Node ID 40b37b1e0905e001f0fdaeb83fba056a3de4a190 # Parent f691e3eb4ff3b2cd0c598b6aa44e4820ddd33d2f [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 diff -r f691e3eb4ff3 -r 40b37b1e0905 src/gtkconn.c --- 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);