[Australis] portion of bug 966511: rename gFxAccount.toggle to gFxAccount.onMenuPanelCommand, r=ttaubert

--HG--
extra : rebase_source : 999ac3977c3c6f1d397689489b8d9fe8d740c822
This commit is contained in:
Gavin Sharp 2014-01-31 17:27:51 -08:00
parent 09d59a5461
commit 71b9757307
5 changed files with 8 additions and 5 deletions

View File

@ -186,7 +186,7 @@ let gFxAccounts = {
});
},
toggle: function (event) {
onMenuPanelCommand: function (event) {
if (event.originalTarget.hasAttribute("signedin")) {
this.openPreferences();
} else {

View File

@ -18,7 +18,7 @@
<toolbarbutton id="PanelUI-fxa-status"
defaultlabel="&fxaSignIn.label;"
errorlabel="&fxaSignInError.label;"
oncommand="gFxAccounts.toggle(event);"
oncommand="gFxAccounts.onMenuPanelCommand(event);"
hidden="true"/>
<hbox id="PanelUI-footer-inner">

View File

@ -1696,7 +1696,8 @@ toolbarbutton.chevron > .toolbarbutton-icon {
margin-top: 1em;
}
#sync-error-panel-title {
#sync-error-panel-title,
#sync-start-panel-title {
font-weight: bold;
}

View File

@ -3633,7 +3633,8 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
@hudButtonFocused@
}
#sync-error-panel-title {
#sync-error-panel-title,
#sync-start-panel-title {
font-weight: bold;
}

View File

@ -2158,7 +2158,8 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
margin-top: 1em;
}
#sync-error-panel-title {
#sync-error-panel-title,
#sync-start-panel-title {
font-weight: bold;
}