зеркало из https://github.com/mozilla/pjs.git
r=blake, sr=alecf Remove Win32 specific code for system colors - make it XP using nsLookAndFeel
This commit is contained in:
Родитель
2a5838c14a
Коммит
f2d35ccb00
|
@ -61,7 +61,10 @@
|
|||
<data id="background" pref="true" preftype="color" prefstring="browser.display.background_color" prefattribute="value" wsm_attributes="value"/>
|
||||
</box>
|
||||
<separator class="thin"/>
|
||||
<box autostretch="never" id="useWindowsColoursBox"/>
|
||||
<box autostretch="never" id="useSystemColoursBox">
|
||||
<checkbox id="browserUseSystemColors" value="&useSystemColors.label;" accesskey="&useSystemColors.accesskey;"
|
||||
pref="true" preftype="bool" prefstring="browser.display.use_system_colors" prefattribute="checked"/>
|
||||
</box>
|
||||
</titledbox>
|
||||
|
||||
<titledbox orient="vertical" flex="1">
|
||||
|
|
|
@ -28,19 +28,6 @@
|
|||
<overlay id="platformPreferencesOverlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script language="JavaScript">
|
||||
<![CDATA[
|
||||
_elementIDs.push("browserUseWindowsColors");
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<!-- "Use Windows Colours" checkbox on colours panel applies only
|
||||
to Windows! -->
|
||||
<box id="useWindowsColoursBox">
|
||||
<checkbox id="browserUseWindowsColors" value="&useWindowsColors.label;" accesskey="&useWindowsColors.accesskey;"
|
||||
pref="true" preftype="bool" prefstring="browser.display.wfe.use_windows_colors" prefattribute="checked"/>
|
||||
</box>
|
||||
|
||||
<!-- Windows integration is (obviously) only applicable on Windows. -->
|
||||
<treechildren id="advancedChildren">
|
||||
<treeitem id="winhooks">
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
<!ENTITY textColor.accesskey "t">
|
||||
<!ENTITY backgroundColor.label "Background:">
|
||||
<!ENTITY backgroundColor.accesskey "b">
|
||||
<!ENTITY useWindowsColors.label "Use system colors">
|
||||
<!ENTITY useWindowsColors.accesskey "s">
|
||||
|
||||
<!ENTITY underlineLinks.label "Underline links">
|
||||
<!ENTITY underlineLinks.accesskey "u">
|
||||
|
|
|
@ -1,4 +1,2 @@
|
|||
<!ENTITY useWindowsColors.label "Use Windows colors">
|
||||
<!ENTITY useWindowsColors.accesskey "w">
|
||||
<!ENTITY winhooks.label "Windows Integration">
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче