summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-source-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-14 04:03:57 +0100
committerraveit65 <[email protected]>2018-02-14 09:26:08 +0100
commit70a60111e00fe834e1303d87265c1aa65cb1f086 (patch)
tree88faea28f15ac67a81e05724b068f772a8ab8057 /mate-dictionary/src/gdict-source-dialog.c
parentdab6502bbced250a11781b0239300af3d787b4a4 (diff)
downloadmate-utils-70a60111e00fe834e1303d87265c1aa65cb1f086.tar.bz2
mate-utils-70a60111e00fe834e1303d87265c1aa65cb1f086.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'mate-dictionary/src/gdict-source-dialog.c')
-rw-r--r--mate-dictionary/src/gdict-source-dialog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c
index f79b5a4a..3fc17de5 100644
--- a/mate-dictionary/src/gdict-source-dialog.c
+++ b/mate-dictionary/src/gdict-source-dialog.c
@@ -607,7 +607,7 @@ gdict_source_dialog_constructor (GType type,
/* the help button is always visible */
dialog->help_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_HELP,
+ "gtk-help",
GTK_RESPONSE_HELP);
vbox = GTK_WIDGET (gtk_builder_get_object (dialog->builder, "db-vbox"));
@@ -636,15 +636,15 @@ gdict_source_dialog_constructor (GType type,
/* we just allow closing the dialog */
dialog->close_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_CLOSE,
+ "gtk-close",
GTK_RESPONSE_CLOSE);
break;
case GDICT_SOURCE_DIALOG_CREATE:
dialog->cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_CANCEL);
dialog->add_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_ADD,
+ "gtk-add",
GTK_RESPONSE_ACCEPT);
/* the "add" button sensitivity is controlled by the transport_combo
* since it's the only setting that makes a source usable.
@@ -653,10 +653,10 @@ gdict_source_dialog_constructor (GType type,
break;
case GDICT_SOURCE_DIALOG_EDIT:
dialog->cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_CANCEL);
dialog->close_button = gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_CLOSE,
+ "gtk-close",
GTK_RESPONSE_CLOSE);
break;
default: