Bug 1313427 - menu bar is controlled with autohide, not collapsed. r=mixedpuppy
authorMichael Kaply <mozilla@kaply.com>
Mon, 31 Oct 2016 11:31:58 -0500
changeset 346990 22014f3365783b744d42e392294ee80b491c5f0b
parent 346989 30939b7409ab1c7d5d277b01bb551f9d1077b1c3
child 346991 c42b82086c262ad124507ef976f388fbdcfc4f77
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmixedpuppy
bugs1313427
milestone52.0a1
Bug 1313427 - menu bar is controlled with autohide, not collapsed. r=mixedpuppy MozReview-Commit-ID: 7ZYJP2ALixJ
browser/components/distribution.js
--- a/browser/components/distribution.js
+++ b/browser/components/distribution.js
@@ -458,17 +458,17 @@ DistributionCustomizer.prototype = {
         var showPersonalToolbar = Services.prefs.getBoolPref("browser.showPersonalToolbar");
         if (showPersonalToolbar) {
           xulStore.setValue(BROWSER_DOCURL, "PersonalToolbar", "collapsed", "false");
         }
       } catch (e) {}
       try {
         var showMenubar = Services.prefs.getBoolPref("browser.showMenubar");
         if (showMenubar) {
-          xulStore.setValue(BROWSER_DOCURL, "toolbar-menubar", "collapsed", "false");
+          xulStore.setValue(BROWSER_DOCURL, "toolbar-menubar", "autohide", "false");
         }
       } catch (e) {}
     }
 
     let prefDefaultsApplied = this._prefDefaultsApplied || !this._ini;
     if (this._customizationsApplied && this._bookmarksApplied &&
         prefDefaultsApplied) {
       let os = Cc["@mozilla.org/observer-service;1"].