summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-tree-view.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-03-21 15:06:57 +0100
committerStefano Karapetsas <[email protected]>2014-04-25 15:23:13 +0200
commita96b41a336d4c208d49bc5e11131355a6868c92d (patch)
tree51be47182f2f9e74c8fe986eab6b13bb05183333 /src/file-manager/fm-tree-view.c
parent234347adac94be156e26560592a0882fc032a6a9 (diff)
downloadcaja-a96b41a336d4c208d49bc5e11131355a6868c92d.tar.bz2
caja-a96b41a336d4c208d49bc5e11131355a6868c92d.tar.xz
Show trash in tree panel
Closes https://github.com/mate-desktop/caja/issues/233 Also unused commented code in fm-tree-view.c
Diffstat (limited to 'src/file-manager/fm-tree-view.c')
-rw-r--r--src/file-manager/fm-tree-view.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c
index 5c0e96fc..b9a6b5a3 100644
--- a/src/file-manager/fm-tree-view.c
+++ b/src/file-manager/fm-tree-view.c
@@ -1426,11 +1426,10 @@ create_tree (FMTreeView *view)
icon = g_themed_icon_new (CAJA_ICON_FILESYSTEM);
fm_tree_model_add_root_uri (view->details->child_model, "file:///", _("File System"), icon, NULL);
g_object_unref (icon);
-#ifdef NOT_YET_USABLE /* Do we really want this? */
- icon = g_themed_icon_new (CAJA_ICON_NETWORK);
- fm_tree_model_add_root_uri (view->details->child_model, "network:///", _("Network Neighbourhood"), icon, NULL);
+ icon = g_themed_icon_new (CAJA_ICON_TRASH);
+ fm_tree_model_add_root_uri (view->details->child_model, "trash:///", _("Trash"), icon, NULL);
g_object_unref (icon);
-#endif
+
volume_monitor = g_volume_monitor_get ();
view->details->volume_monitor = volume_monitor;