aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-08-23 13:16:40 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-08-23 13:16:40 -0500
commit6710fce4c104d8bf1314034a2aef935895d02d20 (patch)
tree124f1e01095dafeb52580441628b71abadfd9a50
parent84e5c6a228d15a86f5a27300de45c6d2d28fc25b (diff)
parent51a9de1eef7f64636d7eee6959a786616cc8c56b (diff)
downloadayatana-indicator-session-6710fce4c104d8bf1314034a2aef935895d02d20.tar.gz
ayatana-indicator-session-6710fce4c104d8bf1314034a2aef935895d02d20.tar.bz2
ayatana-indicator-session-6710fce4c104d8bf1314034a2aef935895d02d20.zip
merge lp:~charlesk/indicator-session/lp-1027952 to remove the Restart button from the shutdown dialog
-rw-r--r--src/dialog.c6
1 files changed, 0 insertions, 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