Skip to content
Permalink
Browse files

gsm-properties-dialog: avoid 'gtk_dialog_add_buttons' with stock ids

  • Loading branch information...
sc0w committed Dec 11, 2018
1 parent 7cd2ccc commit 34ef232530e30a2ebc32d41bae8a112323adbcc2
Showing with 7 additions and 4 deletions.
  1. +7 −4 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,

0 comments on commit 34ef232

Please sign in to comment.
You can’t perform that action at this time.