diff options
author | Stefano Karapetsas <[email protected]> | 2014-03-21 15:06:57 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-03-21 15:06:57 +0100 |
commit | 7b3d67d7572509d0edb2259e99aef77cbdfc7bd6 (patch) | |
tree | 57de80b92fb312234fabafb000198caf267be11b /src | |
parent | 06264fc91212150d3b741a723422955e7e97614c (diff) | |
download | caja-7b3d67d7572509d0edb2259e99aef77cbdfc7bd6.tar.bz2 caja-7b3d67d7572509d0edb2259e99aef77cbdfc7bd6.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')
-rw-r--r-- | src/file-manager/fm-tree-view.c | 7 |
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; |