summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-04-18 11:28:22 +0200
committerPablo Barciela <[email protected]>2018-04-18 11:28:22 +0200
commit4d4f750cd99be4089840d1e863d6905bfe464411 (patch)
treebb938c1bc51301e3574869c6f4674de72d52ea5e /src
parentf8e60511b899a01604e0da5ea8d42ec6cfa2e49f (diff)
downloadcaja-4d4f750cd99be4089840d1e863d6905bfe464411.tar.bz2
caja-4d4f750cd99be4089840d1e863d6905bfe464411.tar.xz
sidebar popup menu: show "media-eject" icon in the "unmount" items
Diffstat (limited to 'src')
-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 d02032d4..3047c514 100644
--- a/src/caja-places-sidebar.c
+++ b/src/caja-places-sidebar.c
@@ -2725,7 +2725,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, _("_Unmount"));
+ item = eel_image_menu_item_new_from_icon ("media-eject", _("_Unmount"));
sidebar->popup_menu_unmount_item = item;
g_signal_connect (item, "activate",
G_CALLBACK (unmount_shortcut_cb), sidebar);
diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c
index 7b91d1f6..346d51a7 100644
--- a/src/file-manager/fm-tree-view.c
+++ b/src/file-manager/fm-tree-view.c
@@ -1353,7 +1353,7 @@ create_popup_menu (FMTreeView *view)
eel_gtk_menu_append_separator (GTK_MENU (popup));
/* add the "Unmount" menu item */
- menu_item = eel_image_menu_item_new_from_icon (NULL, _("_Unmount"));
+ menu_item = eel_image_menu_item_new_from_icon ("media-eject", _("_Unmount"));
g_signal_connect (menu_item, "activate",
G_CALLBACK (fm_tree_view_unmount_cb),
view);