summaryrefslogtreecommitdiff
path: root/capplet/gsm-properties-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-12-12 00:55:49 +0100
committerZenWalker <[email protected]>2018-12-15 22:47:22 +0100
commit34ef232530e30a2ebc32d41bae8a112323adbcc2 (patch)
treea6d90253eda311b617c7238db988135ad1e7368d /capplet/gsm-properties-dialog.c
parent7cd2ccc48b5a90cd54ba24f6bcdfe36dd8b495f6 (diff)
downloadmate-session-manager-34ef232530e30a2ebc32d41bae8a112323adbcc2.tar.bz2
mate-session-manager-34ef232530e30a2ebc32d41bae8a112323adbcc2.tar.xz
gsm-properties-dialog: avoid 'gtk_dialog_add_buttons' with stock ids
Diffstat (limited to 'capplet/gsm-properties-dialog.c')
-rw-r--r--capplet/gsm-properties-dialog.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index e6463cd..3e080ed 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -472,10 +472,13 @@ setup_dialog (GsmPropertiesDialog *dialog)
GtkTreeSelection *selection;
GtkTargetList *targetlist;
- gtk_dialog_add_buttons (GTK_DIALOG (dialog),
- "gtk-help", GTK_RESPONSE_HELP,
- "gtk-close", GTK_RESPONSE_CLOSE,
- NULL);
+ gsm_util_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Help"), "help-browser",
+ GTK_RESPONSE_HELP);
+
+ gsm_util_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Close"), "window-close",
+ GTK_RESPONSE_CLOSE);
dialog->list_store = gtk_list_store_new (NUMBER_OF_COLUMNS,
G_TYPE_BOOLEAN,