aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Luong2013-06-17 14:09:36 (EDT)
committerMark Macdonald2013-06-17 16:04:04 (EDT)
commit9066c638e986da7e041519eadd736623814f70ca (patch)
tree345b2252a555bcd98962e13fa2aff49091415a13
parentcfb1d0f2bfb51f302ae3e782e36a50bfea90c752 (diff)
downloadorg.eclipse.orion.client-9066c638e986da7e041519eadd736623814f70ca.zip
org.eclipse.orion.client-9066c638e986da7e041519eadd736623814f70ca.tar.gz
org.eclipse.orion.client-9066c638e986da7e041519eadd736623814f70ca.tar.bz2
Bug 409875 - Navigator: duplicated Actions menus flicker when changing folders
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/navigate/table.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/navigate/table.js b/bundles/org.eclipse.orion.client.ui/web/navigate/table.js
index 0d0af00..68dfa77 100644
--- a/bundles/org.eclipse.orion.client.ui/web/navigate/table.js
+++ b/bundles/org.eclipse.orion.client.ui/web/navigate/table.js
@@ -92,7 +92,6 @@ define(['require', 'i18n!orion/navigate/nls/messages', 'orion/browserCompatibili
// define the command contributions - where things appear, first the groups
commandRegistry.addCommandGroup("pageActions", "orion.new", 1000, messages["New"], null, null, "core-sprite-addcontent"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
- commandRegistry.addCommandGroup("pageActions", "eclipse.new", 1000, messages["New"], null, null, "core-sprite-addcontent"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
commandRegistry.addCommandGroup("pageActions", "orion.gitGroup", 200); //$NON-NLS-1$ //$NON-NLS-0$
commandRegistry.addCommandGroup("selectionTools", "orion.selectionGroup", 500, messages["Actions"], null, null, "core-sprite-gear"); //$NON-NLS-1$ //$NON-NLS-0$
commandRegistry.addCommandGroup("selectionTools", "orion.importExportGroup", 100, null, "orion.selectionGroup"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
@@ -105,8 +104,8 @@ define(['require', 'i18n!orion/navigate/nls/messages', 'orion/browserCompatibili
commandRegistry.registerCommandContribution("pageActions", "eclipse.openResource", 500); //$NON-NLS-1$ //$NON-NLS-0$
// new file and new folder in the nav bar (in a group)
- commandRegistry.registerCommandContribution("pageActions", "eclipse.newFile", 1, "eclipse.new"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
- commandRegistry.registerCommandContribution("pageActions", "eclipse.newFolder", 2, "eclipse.new", false, null, new mCommandRegistry.URLBinding("newFolder", "name")); //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
+ commandRegistry.registerCommandContribution("pageActions", "eclipse.newFile", 1, "orion.new"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
+ commandRegistry.registerCommandContribution("pageActions", "eclipse.newFolder", 2, "orion.new", false, null, new mCommandRegistry.URLBinding("newFolder", "name")); //$NON-NLS-3$ //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
commandRegistry.registerCommandContribution("pageActions", "eclipse.upFolder", 3, null, true, new KeyBinding.KeyBinding(38, false, false, true)); //$NON-NLS-1$ //$NON-NLS-0$
// new project creation in the toolbar (in a group)
commandRegistry.registerCommandContribution("pageActions", "orion.new.project", 1, "orion.new"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$