summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-04-10 20:51:17 +0200
committerVictor Kareh <[email protected]>2018-04-10 16:42:44 -0400
commit7a76ce41e102c1ae84b6b57ad811291e7009335e (patch)
treea8c45ab243fe8c4d3285e2f2b310db3844a2a866
parent2786f3c4577e051006335129e1995bf07629f720 (diff)
downloadcaja-7a76ce41e102c1ae84b6b57ad811291e7009335e.tar.bz2
caja-7a76ce41e102c1ae84b6b57ad811291e7009335e.tar.xz
sidebar popup menu: show "media-eject" icon
-rw-r--r--src/caja-places-sidebar.c2
-rw-r--r--src/file-manager/fm-tree-view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-places-sidebar.c b/src/caja-places-sidebar.c
index 26598f94..d02032d4 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2732,7 +2732,7 @@ bookmarks_build_popup_menu (CajaPlacesSidebar *sidebar)
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (sidebar->popup_menu), item);
- item = eel_image_menu_item_new_from_icon (NULL, _("_Eject"));
+ item = eel_image_menu_item_new_from_icon ("media-eject", _("_Eject"));
sidebar->popup_menu_eject_item = item;
g_signal_connect (item, "activate",
G_CALLBACK (eject_shortcut_cb), sidebar);
diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c
index e1846d83..7b91d1f6 100644
--- a/src/file-manager/fm-tree-view.c
+++ b/src/file-manager/fm-tree-view.c
@@ -1362,7 +1362,7 @@ create_popup_menu (FMTreeView *view)
view->details->popup_unmount = menu_item;
/* add the "Eject" menu item */
- menu_item = eel_image_menu_item_new_from_icon (NULL, _("_Eject"));
+ menu_item = eel_image_menu_item_new_from_icon ("media-eject", _("_Eject"));
g_signal_connect (menu_item, "activate",
G_CALLBACK (fm_tree_view_eject_cb),
view);