aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-08-22 12:42:11 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-08-22 12:42:11 -0500
commit51a9de1eef7f64636d7eee6959a786616cc8c56b (patch)
tree8ba2a80d443d9fae73e37ccfbcf34f1eea3f69c5 /src/dialog.c
parent6468eba432ae085f71d9d256bed206391c280538 (diff)
downloadayatana-indicator-session-51a9de1eef7f64636d7eee6959a786616cc8c56b.tar.gz
ayatana-indicator-session-51a9de1eef7f64636d7eee6959a786616cc8c56b.tar.bz2
ayatana-indicator-session-51a9de1eef7f64636d7eee6959a786616cc8c56b.zip
in gtk-logout-helper's 'switch off' dialog, don't show a 'restart' button anymore
Diffstat (limited to 'src/dialog.c')
-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