mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 945425 - Show the menu button on the Metro start page [r=sfoster]
This commit is contained in:
parent
cb2dcbec3c
commit
0460c33036
@ -115,10 +115,11 @@ var Appbar = {
|
||||
onMenuButton: function(aEvent) {
|
||||
let typesArray = [];
|
||||
|
||||
if (!BrowserUI.isStartTabVisible)
|
||||
if (!BrowserUI.isStartTabVisible) {
|
||||
typesArray.push("find-in-page");
|
||||
if (ContextCommands.getPageSource())
|
||||
typesArray.push("view-page-source");
|
||||
if (ContextCommands.getPageSource())
|
||||
typesArray.push("view-page-source");
|
||||
}
|
||||
if (ContextCommands.getStoreLink())
|
||||
typesArray.push("ms-meta-data");
|
||||
if (ConsolePanelView.enabled)
|
||||
|
@ -265,10 +265,10 @@ Desktop browser's sync prefs.
|
||||
<hbox id="toolbar-context-page" pack="end">
|
||||
<circularprogressindicator id="download-progress" class="appbar-primary"
|
||||
oncommand="MetroDownloadsView.onDownloadButton()"/>
|
||||
<toolbarbutton id="star-button" class="appbar-primary"
|
||||
<toolbarbutton id="star-button" class="appbar-primary hide-on-start"
|
||||
type="checkbox"
|
||||
oncommand="Appbar.onStarButton()"/>
|
||||
<toolbarbutton id="pin-button" class="appbar-primary"
|
||||
<toolbarbutton id="pin-button" class="appbar-primary hide-on-start"
|
||||
type="checkbox"
|
||||
oncommand="Appbar.onPinButton()"/>
|
||||
<toolbarbutton id="menu-button" class="appbar-primary"
|
||||
|
@ -714,6 +714,7 @@ documenttab[selected] .documenttab-selection {
|
||||
/* Contextual toolbar controls */
|
||||
|
||||
#toolbar-context-autocomplete,
|
||||
.hide-on-start,
|
||||
#toolbar-context-page {
|
||||
transition-property: opacity, visibility;
|
||||
transition-duration: @forward_transition_length@;
|
||||
@ -721,7 +722,7 @@ documenttab[selected] .documenttab-selection {
|
||||
}
|
||||
|
||||
#toolbar-contextual:not([autocomplete]) #toolbar-context-autocomplete,
|
||||
#toolbar-contextual[startpage] #toolbar-context-page,
|
||||
#toolbar-contextual[startpage] .hide-on-start,
|
||||
#toolbar-contextual[autocomplete] #toolbar-context-page {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
|
Loading…
Reference in New Issue
Block a user