diff options
author | Pablo Barciela <[email protected]> | 2018-01-27 22:04:52 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-09 14:14:02 +0100 |
commit | bf3da8eea7dad06618c84375adbb4952c74f6987 (patch) | |
tree | dd95b9a475316ba68cecd035129790eea6a2910a /src/caja-places-sidebar.c | |
parent | d8579ead4a13e66b03d2f17f3240f724008cc555 (diff) | |
download | caja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.bz2 caja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'src/caja-places-sidebar.c')
-rw-r--r-- | src/caja-places-sidebar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c index 9d081f6d..990acd0f 100644 --- a/src/caja-places-sidebar.c +++ b/src/caja-places-sidebar.c @@ -2655,7 +2655,7 @@ bookmarks_build_popup_menu (CajaPlacesSidebar *sidebar) item = gtk_image_menu_item_new_with_mnemonic (_("_Open")); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), - gtk_image_new_from_stock (GTK_STOCK_OPEN, GTK_ICON_SIZE_MENU)); + gtk_image_new_from_icon_name ("document-open", GTK_ICON_SIZE_MENU)); g_signal_connect (item, "activate", G_CALLBACK (open_shortcut_cb), sidebar); gtk_widget_show (item); @@ -2679,7 +2679,7 @@ bookmarks_build_popup_menu (CajaPlacesSidebar *sidebar) item = gtk_image_menu_item_new_with_label (_("Remove")); sidebar->popup_menu_remove_item = item; gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (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)); g_signal_connect (item, "activate", G_CALLBACK (remove_shortcut_cb), sidebar); gtk_widget_show (item); |