summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorGabriel Luong2013-06-27 02:05:09 (EDT)
committer Mark Macdonald2013-06-27 15:59:11 (EDT)
commit7e03745b24a308aa7e57047986f395830382c01b (patch)
treec3f41f396c8f6ae0258727d798c25112ad984830
parent0101097898cb599721599d8aef3ba77483752a26 (diff)
downloadorg.eclipse.orion.client-7e03745b24a308aa7e57047986f395830382c01b.zip
org.eclipse.orion.client-7e03745b24a308aa7e57047986f395830382c01b.tar.gz
org.eclipse.orion.client-7e03745b24a308aa7e57047986f395830382c01b.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",