summaryrefslogtreecommitdiff
path: root/capplet
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-12-12 00:52:21 +0100
committerZenWalker <[email protected]>2018-12-15 22:47:22 +0100
commit7cd2ccc48b5a90cd54ba24f6bcdfe36dd8b495f6 (patch)
treef5bc23514956c286ccaf659b69dcb63e91771d3a /capplet
parent717a8f94d63a2040e8af7e6613d55d74660e07ed (diff)
downloadmate-session-manager-7cd2ccc48b5a90cd54ba24f6bcdfe36dd8b495f6.tar.bz2
mate-session-manager-7cd2ccc48b5a90cd54ba24f6bcdfe36dd8b495f6.tar.xz
avoid 'gtk_dialog_add_button' with stock ids
Diffstat (limited to 'capplet')
-rw-r--r--capplet/gsm-app-dialog.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/capplet/gsm-app-dialog.c b/capplet/gsm-app-dialog.c
index fbcfbef..f14701e 100644
--- a/capplet/gsm-app-dialog.c
+++ b/capplet/gsm-app-dialog.c
@@ -186,19 +186,22 @@ setup_dialog (GsmAppDialog *dialog)
"resizable", FALSE,
NULL);
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- "gtk-cancel", GTK_RESPONSE_CANCEL);
+ gsm_util_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Cancel"), "process-stop",
+ GTK_RESPONSE_CANCEL);
if (dialog->name == NULL
&& dialog->command == NULL
&& dialog->comment == NULL) {
gtk_window_set_title (GTK_WINDOW (dialog), _("Add Startup Program"));
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- "gtk-add", GTK_RESPONSE_OK);
+ gsm_util_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Add"), "list-add",
+ GTK_RESPONSE_OK);
} else {
gtk_window_set_title (GTK_WINDOW (dialog), _("Edit Startup Program"));
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- "gtk-save", GTK_RESPONSE_OK);
+ gsm_util_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Save"), "document-save",
+ GTK_RESPONSE_OK);
}
dialog->name_entry = GTK_WIDGET (gtk_builder_get_object (xml, CAPPLET_NAME_ENTRY_WIDGET_NAME));