diff options
author | Stefano Karapetsas <[email protected]> | 2014-03-21 15:06:57 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-25 15:23:13 +0200 |
commit | a96b41a336d4c208d49bc5e11131355a6868c92d (patch) | |
tree | 51be47182f2f9e74c8fe986eab6b13bb05183333 /src | |
parent | 234347adac94be156e26560592a0882fc032a6a9 (diff) | |
download | caja-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')
-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; |