Overlooked this with my previous Trash-related changes: updated NavMenu to be

behaviorally in sync - it now hides the root volume Trash dir like PoseView,
and adds the Trash entry as needed when navigating down the Desktop.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35125 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2010-01-17 17:35:06 +00:00
parent eb30e0668a
commit 782fbf00a7
2 changed files with 24 additions and 1 deletions
+1
View File
@@ -128,6 +128,7 @@ class BNavMenu : public BSlowMenu {
void AddOneItem(Model *);
void AddRootItemsIfNeeded();
void AddTrashItem();
static void SetTrackingHookDeep(BMenu *, bool (*)(BMenu *, void *), void *);
entry_ref fNavDir;