From 51a9de1eef7f64636d7eee6959a786616cc8c56b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 22 Aug 2012 12:42:11 -0500 Subject: in gtk-logout-helper's 'switch off' dialog, don't show a 'restart' button anymore --- src/dialog.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/dialog.c b/src/dialog.c index c46ac80..7c562d5 100644 --- a/src/dialog.c +++ b/src/dialog.c @@ -227,12 +227,6 @@ logout_dialog_new (LogoutDialogType type) NULL); } - if (type == LOGOUT_DIALOG_TYPE_SHUTDOWN) { - const gchar * restart_text; - restart_text = g_dpgettext2 (NULL, "button", button_strings[LOGOUT_DIALOG_TYPE_RESTART]); - gtk_dialog_add_button (GTK_DIALOG(dialog), restart_text, GTK_RESPONSE_HELP); - } - gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); /* The following is a workaround to fix an issue in GtkMessageDialog -- cgit v1.2.3