mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 15:55:16 +00:00
[Australis] portion of bug 966511: rename gFxAccount.toggle to gFxAccount.onMenuPanelCommand, r=ttaubert
--HG-- extra : rebase_source : 999ac3977c3c6f1d397689489b8d9fe8d740c822
This commit is contained in:
parent
09d59a5461
commit
71b9757307
@ -186,7 +186,7 @@ let gFxAccounts = {
|
||||
});
|
||||
},
|
||||
|
||||
toggle: function (event) {
|
||||
onMenuPanelCommand: function (event) {
|
||||
if (event.originalTarget.hasAttribute("signedin")) {
|
||||
this.openPreferences();
|
||||
} else {
|
||||
|
@ -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">
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user