summaryrefslogtreecommitdiff
path: root/capplets/appearance/theme-installer.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-26 11:06:00 +0100
committerraveit65 <[email protected]>2018-02-12 14:03:07 +0100
commit17b20172c581009a5d972dbb9bc523e7d3e4126d (patch)
treed18b5f4c993b16d5a70f0edfdd0ee5ae657aba3d /capplets/appearance/theme-installer.c
parent9e312c404d28250bd75782ba6f7a96ba9b707fb1 (diff)
downloadmate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.bz2
mate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'capplets/appearance/theme-installer.c')
-rw-r--r--capplets/appearance/theme-installer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c
index 03d7b96d..c79704e9 100644
--- a/capplets/appearance/theme-installer.c
+++ b/capplets/appearance/theme-installer.c
@@ -481,8 +481,8 @@ mate_theme_install_real (GtkWindow *parent,
apply_button = gtk_button_new_with_label (_("Apply New Theme"));
gtk_button_set_image (GTK_BUTTON (apply_button),
- gtk_image_new_from_stock (GTK_STOCK_APPLY,
- GTK_ICON_SIZE_BUTTON));
+ gtk_image_new_from_icon_name ("gtk-apply",
+ GTK_ICON_SIZE_BUTTON));
gtk_dialog_add_action_widget (GTK_DIALOG (dialog), apply_button, GTK_RESPONSE_APPLY);
gtk_widget_set_can_default (apply_button, TRUE);
gtk_widget_show (apply_button);
@@ -815,9 +815,9 @@ mate_theme_installer_run (GtkWindow *parent,
dialog = gtk_file_chooser_dialog_new (_("Select Theme"),
parent,
GTK_FILE_CHOOSER_ACTION_OPEN,
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_REJECT,
- GTK_STOCK_OPEN,
+ "gtk-open",
GTK_RESPONSE_ACCEPT,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);