summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorGabriel Luong2013-06-27 02:05:09 (EDT)
committer Mark Macdonald2013-06-27 15:59:11 (EDT)
commit02dab55fd4bf7f7aa4fb80b4e160f0be2e23197e (patch)
treec3f41f396c8f6ae0258727d798c25112ad984830
parentbd00935155f76c43f665c8f6807fac0f32cd499e (diff)
downloadorg.eclipse.orion.client-02dab55fd4bf7f7aa4fb80b4e160f0be2e23197e.zip
org.eclipse.orion.client-02dab55fd4bf7f7aa4fb80b4e160f0be2e23197e.tar.gz
org.eclipse.orion.client-02dab55fd4bf7f7aa4fb80b4e160f0be2e23197e.tar.bz2
Bug 411727 - Add tooltip to wrench button
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js8
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/orion/nls/root/messages.js1
2 files changed, 9 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js
index 249235e..527db06 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/globalCommands.js
@@ -518,6 +518,14 @@ define([
* This function adds a settings dialog to a page. It adds it so that a settings gear will appear at the right hand side
*/
function addSettings(settings) {
+ var navDropDownTrigger = lib.node("settingsAction"); //$NON-NLS-0$
+
+ new mTooltip.Tooltip({
+ node: navDropDownTrigger,
+ text: messages['Editor Settings'],
+ position: ["below", "left"] //$NON-NLS-1$ //$NON-NLS-0$
+ });
+
var navDropDown = new DropDownMenu('settingsTab', 'settingsAction');
navDropDown.updateContent = settings.updateContent.bind(settings);
}
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/nls/root/messages.js b/bundles/org.eclipse.orion.client.ui/web/orion/nls/root/messages.js
index f44e201..aafe3a4 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/nls/root/messages.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/nls/root/messages.js
@@ -41,6 +41,7 @@ define({
" has been added to the favorites list.": " has been added to the favorites list.",
"Related": "Related",
"Options": "Options",
+ "Editor Settings": "Editor Settings",
"FAQ": "FAQ",
"Report a Bug": "Bugs",
"Privacy Policy": "Privacy",