summaryrefslogtreecommitdiff
path: root/baobab/src/baobab.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-21 16:50:22 +0300
committermonsta <[email protected]>2016-01-21 17:31:06 +0300
commit2275a436e578255b37766ad09681074ea5722e8f (patch)
tree8a7567ae06d82d8db46835afa2929a230d125662 /baobab/src/baobab.c
parent13490a6cb5b8ddb3668176b3b24794f128ad279c (diff)
downloadmate-utils-2275a436e578255b37766ad09681074ea5722e8f.tar.bz2
mate-utils-2275a436e578255b37766ad09681074ea5722e8f.tar.xz
baobab: use gtk_image_new_from_icon_name in both GTK+ builds
Diffstat (limited to 'baobab/src/baobab.c')
-rw-r--r--baobab/src/baobab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c
index 27f6b492..2620fcbf 100644
--- a/baobab/src/baobab.c
+++ b/baobab/src/baobab.c
@@ -922,15 +922,15 @@ create_context_menu (void)
menu->up_item = gtk_image_menu_item_new_with_label (_("Move to parent folder"));
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu->up_item),
- gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU));
+ gtk_image_new_from_icon_name("go-up", GTK_ICON_SIZE_MENU));
menu->zoom_in_item = gtk_image_menu_item_new_with_label (_("Zoom in")) ;
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu->zoom_in_item),
- gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU));
+ gtk_image_new_from_icon_name("list-add", GTK_ICON_SIZE_MENU));
menu->zoom_out_item = gtk_image_menu_item_new_with_label (_("Zoom out"));
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu->zoom_out_item),
- gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU));
+ gtk_image_new_from_icon_name("list-remove", GTK_ICON_SIZE_MENU));
menu->snapshot_item = gtk_image_menu_item_new_with_label (_("Save screenshot"));
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu->snapshot_item),