aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-08-31 19:29:22 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-08-31 19:29:22 +0200
commit0b1b65a1eedcd0158680437e0ceed9cb9f86f35f (patch)
tree1c9bf023e1f0fd55e4c8874c53e3f34f80df2f13 /src/dialog.c
parentda6785e18dc73a968ce57055754bcc2718d4e131 (diff)
parenta97388a9b3f7bb0c48af8e5a9a43b88d6a9ecc1f (diff)
downloadayatana-indicator-session-0b1b65a1eedcd0158680437e0ceed9cb9f86f35f.tar.gz
ayatana-indicator-session-0b1b65a1eedcd0158680437e0ceed9cb9f86f35f.tar.bz2
ayatana-indicator-session-0b1b65a1eedcd0158680437e0ceed9cb9f86f35f.zip
Import upstream version 12.10.2
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