Bug 623063 - Remove useless <tooltip> from browser.xul
authorFabrice Desré <fabrice@mozilla.com>
Wed, 05 Jan 2011 14:02:00 -0500
changeset 67367 78d0e414ff2c8e814d141d77b914616b6037307c
parent 67366 3907517f944c6ffb7ae2bb3e6256df1879a9143b
child 67368 e6da3f93ac651a4ce7ac5f6940b6b67b0e36bbf8
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs623063
Bug 623063 - Remove useless <tooltip> from browser.xul
mobile/app/mobile.js
mobile/chrome/content/browser.xul
mobile/themes/core/platform.css
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -549,9 +549,12 @@ pref("ui.dragThreshold", 24);
 
 #if MOZ_PLATFORM_MAEMO == 6
 pref("layers.acceleration.disabled", false);
 #else
 pref("layers.acceleration.disabled", true);
 #endif
 
 pref("notification.feature.enabled", true);
+
+// prevent tooltips from showing up
+pref("browser.chrome.toolbar_tips", false);
 pref("indexedDB.feature.enabled", false);
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -683,11 +683,9 @@
         oncommand="BrowserUI.showPanel('addons-container');"/>
       <toolbarbutton class="appmenu-button"
         label="&downloadsHeader.label;"
         image="chrome://browser/skin/images/appmenu-downloads-hdpi.png"
         oncommand="BrowserUI.showPanel('downloads-container');"/>
     </hbox>
   </stack>
 
-  <tooltip default="true" id="default-tooltip"/>
-
 </window>
--- a/mobile/themes/core/platform.css
+++ b/mobile/themes/core/platform.css
@@ -67,20 +67,16 @@ label {
 
 /* Override any OS inverse themes */
 richlistbox,
 textbox {
   color: black;
   background-color: white;
 }
 
-#default-tooltip {
-  visibility: hidden; /* disabled in Fennec */
-}
-
 /* textboxes --------------------------------------------------------------- */
 textbox:not([type="number"]) {
   min-height: @textbox_height@;
   border: @border_width_small@ solid #cacdd5;
   -moz-border-radius: @border_radius_normal@;
   -moz-border-top-colors: -moz-initial;
   -moz-border-right-colors: -moz-initial;
   -moz-border-bottom-colors: -moz-initial;