summaryrefslogtreecommitdiff
path: root/capplets/keyboard
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-15 12:08:53 +0300
committermonsta <[email protected]>2016-01-15 12:14:39 +0300
commitc4355a2ebda8e762d9595a202d646dd1145a4bdb (patch)
treecb0df20972be93135c19bc55d9bef46cc6fa0431 /capplets/keyboard
parentecefd0b3006c7a76e750270bfdd4f22ad3075900 (diff)
downloadmate-control-center-c4355a2ebda8e762d9595a202d646dd1145a4bdb.tar.bz2
mate-control-center-c4355a2ebda8e762d9595a202d646dd1145a4bdb.tar.xz
keyboard: use gtk_image_new_from_icon_name in both GTK+ builds
Diffstat (limited to 'capplets/keyboard')
-rw-r--r--capplets/keyboard/mate-keyboard-properties.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties.c b/capplets/keyboard/mate-keyboard-properties.c
index a5810e71..d0418616 100644
--- a/capplets/keyboard/mate-keyboard-properties.c
+++ b/capplets/keyboard/mate-keyboard-properties.c
@@ -86,10 +86,10 @@ create_dialog (void)
gtk_size_group_add_widget (size_group, WID ("cursor_blink_time_scale"));
g_object_unref (G_OBJECT (size_group));
- image = gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON);
+ image = gtk_image_new_from_icon_name ("list-add", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (WID ("xkb_layouts_add")), image);
- image = gtk_image_new_from_stock (GTK_STOCK_REFRESH, GTK_ICON_SIZE_BUTTON);
+ image = gtk_image_new_from_icon_name ("view-refresh", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (WID ("xkb_reset_to_defaults")), image);
return dialog;