Tracker: remove superflous separator item in ContextMenu #6997

This commit is contained in:
Philippe Saint-Pierre
2013-06-23 16:05:12 -04:00
parent 89d2bf3aa7
commit 0ebfc3e032
+4 -3
View File
@@ -2761,9 +2761,10 @@ BContainerWindow::AddFileContextMenus(BMenu* menu)
menu->AddItem(new BMenuItem(TrackerSettings().DontMoveFilesToTrash()
? B_TRANSLATE("Delete") : B_TRANSLATE("Move to Trash"),
new BMessage(kMoveToTrash), 'T'));
// add separator for copy to/move to items (navigation items)
menu->AddSeparatorItem();
if (!IsPrintersDir()) {
// add separator for copy to/move to items (navigation items)
menu->AddSeparatorItem();
}
} else {
menu->AddItem(new BMenuItem(B_TRANSLATE("Delete"),
new BMessage(kDelete), 0));