Skip to content

Commit

Permalink
gsm-properties-dialog: avoid 'gtk_dialog_add_buttons' with stock ids
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Dec 15, 2018
1 parent 7cd2ccc commit 34ef232
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions capplet/gsm-properties-dialog.c
Expand Up @@ -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,
Expand Down

0 comments on commit 34ef232

Please sign in to comment.