mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043361 - don't hide simulator menuitem. r=jryans
This commit is contained in:
parent
c8a135dbd4
commit
5b35b762b8
@ -294,7 +294,6 @@ let UI = {
|
||||
|
||||
let noHelperNode = document.querySelector("#runtime-panel-noadbhelper");
|
||||
let noUSBNode = document.querySelector("#runtime-panel-nousbdevice");
|
||||
let noSimulatorNode = document.querySelector("#runtime-panel-nosimulator");
|
||||
|
||||
if (Devices.helperAddonInstalled) {
|
||||
noHelperNode.setAttribute("hidden", "true");
|
||||
@ -308,12 +307,6 @@ let UI = {
|
||||
noUSBNode.setAttribute("hidden", "true");
|
||||
}
|
||||
|
||||
if (AppManager.runtimeList.simulator.length > 0) {
|
||||
noSimulatorNode.setAttribute("hidden", "true");
|
||||
} else {
|
||||
noSimulatorNode.removeAttribute("hidden");
|
||||
}
|
||||
|
||||
for (let [type, parent] of [
|
||||
["usb", USBListNode],
|
||||
["wifi", WiFiListNode],
|
||||
|
@ -154,8 +154,8 @@
|
||||
<label class="panel-header" id="runtime-header-wifi-devices">&runtimePanel_WiFiDevices;</label>
|
||||
<vbox id="runtime-panel-wifi-devices"></vbox>
|
||||
<label class="panel-header">&runtimePanel_simulators;</label>
|
||||
<toolbarbutton class="panel-item" label="&runtimePanel_nosimulator;" id="runtime-panel-nosimulator" command="cmd_showAddons"/>
|
||||
<vbox id="runtime-panel-simulators"></vbox>
|
||||
<toolbarbutton class="panel-item" label="&runtimePanel_installsimulator;" id="runtime-panel-installsimulator" command="cmd_showAddons"/>
|
||||
<label class="panel-header">&runtimePanel_custom;</label>
|
||||
<vbox id="runtime-panel-custom"></vbox>
|
||||
<vbox flex="1" id="runtime-actions">
|
||||
|
@ -64,7 +64,7 @@
|
||||
<!ENTITY runtimePanel_WiFiDevices "WiFi Devices">
|
||||
<!ENTITY runtimePanel_simulators "Simulators">
|
||||
<!ENTITY runtimePanel_custom "Custom">
|
||||
<!ENTITY runtimePanel_nosimulator "Install Simulator">
|
||||
<!ENTITY runtimePanel_installsimulator "Install Simulator">
|
||||
<!ENTITY runtimePanel_noadbhelper "Install ADB Helper">
|
||||
<!ENTITY runtimePanel_nousbdevice "Can't see your device?">
|
||||
|
||||
|
@ -206,7 +206,7 @@ panel > .panel-arrowcontainer > .panel-arrowcontent {
|
||||
#runtime-disconnect,
|
||||
#runtime-panel-nousbdevice,
|
||||
#runtime-panel-noadbhelper,
|
||||
#runtime-panel-nosimulator,
|
||||
#runtime-panel-installsimulator,
|
||||
.runtime-panel-item-usb,
|
||||
.runtime-panel-item-wifi,
|
||||
.runtime-panel-item-custom,
|
||||
@ -220,7 +220,7 @@ panel > .panel-arrowcontainer > .panel-arrowcontent {
|
||||
#runtime-disconnect { -moz-image-region: rect(52px,338px,78px,312px) }
|
||||
#runtime-panel-nousbdevice { -moz-image-region: rect(156px,338px,182px,312px) }
|
||||
#runtime-panel-noadbhelper { -moz-image-region: rect(234px,338px,260px,312px) }
|
||||
#runtime-panel-nosimulator { -moz-image-region: rect(0px,338px,26px,312px) }
|
||||
#runtime-panel-installsimulator { -moz-image-region: rect(0px,338px,26px,312px) }
|
||||
.runtime-panel-item-usb { -moz-image-region: rect(52px,338px,78px,312px) }
|
||||
.runtime-panel-item-wifi { -moz-image-region: rect(208px,338px,234px,312px) }
|
||||
.runtime-panel-item-custom { -moz-image-region: rect(26px,338px,52px,312px) }
|
||||
|
Loading…
Reference in New Issue
Block a user