зеркало из https://github.com/mozilla/gecko-dev.git
Bug 79948, fix pref window size. r=pchen, sr=waterson & bonus fix for 79949
This commit is contained in:
Родитель
0cac70aec5
Коммит
b92c620557
|
@ -87,8 +87,7 @@
|
||||||
|
|
||||||
<!-- toolbar buttons customization -->
|
<!-- toolbar buttons customization -->
|
||||||
<titledbox flex="1" orient="vertical">
|
<titledbox flex="1" orient="vertical">
|
||||||
<label value="&header3.label;"/>
|
<label value="&toolbarIntro.label;"/>
|
||||||
<html>&toolbarIntro.label;</html>
|
|
||||||
<tree flex="1" class="dialog inset" style="-moz-user-focus:ignore !important;">
|
<tree flex="1" class="dialog inset" style="-moz-user-focus:ignore !important;">
|
||||||
<treecolgroup>
|
<treecolgroup>
|
||||||
<treecol flex="1"/>
|
<treecol flex="1"/>
|
||||||
|
|
|
@ -6,17 +6,18 @@
|
||||||
|
|
||||||
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
|
||||||
|
|
||||||
<window id="prefWindow"
|
|
||||||
|
<!-- This dialog has a fixed size and is not resizable.
|
||||||
|
You MAY NOT increase the size of this dialog.
|
||||||
|
Questions, Comments -> ben@netscape.com -->
|
||||||
|
<window id="prefDialog"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
title="&prefWindow.title;"
|
title="&prefWindow.title;"
|
||||||
orient="vertical"
|
orient="vertical" class="dialog"
|
||||||
class="dialog"
|
style="width: 51em; height: 40em;"
|
||||||
persist="screenX screenY width height"
|
onload="Startup();">
|
||||||
screenX="24" screenY="24"
|
|
||||||
onload="Startup();"
|
|
||||||
width="620" height="470">
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
@ -49,11 +50,14 @@
|
||||||
|
|
||||||
<keyset id="dialogKeys"/>
|
<keyset id="dialogKeys"/>
|
||||||
|
|
||||||
<box flex="1">
|
<hbox flex="1">
|
||||||
|
<vbox flex="19">
|
||||||
|
<text class="label" value="&categoryHeader;"/>
|
||||||
<!-- tree sidebar -->
|
<!-- tree sidebar -->
|
||||||
<tree class="inset" id="prefsTree" style="width: 0px" flex="3"/>
|
<tree class="inset" id="prefsTree" style="width: 0px" flex="1"/>
|
||||||
|
</vbox>
|
||||||
|
|
||||||
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="7"/>
|
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="81"/>
|
||||||
<script type="application/x-javascript">
|
<script type="application/x-javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
if( window.arguments && window.arguments[0] ) {
|
if( window.arguments && window.arguments[0] ) {
|
||||||
|
@ -66,7 +70,7 @@
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
</box>
|
</hbox>
|
||||||
|
|
||||||
<separator/>
|
<separator/>
|
||||||
|
|
||||||
|
|
|
@ -37,14 +37,11 @@
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<tree id="prefsTree"
|
<tree id="prefsTree" onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
|
||||||
onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
|
|
||||||
|
|
||||||
<treehead name="tree">
|
<treecolgroup>
|
||||||
<treerow>
|
<treecol flex="1"/>
|
||||||
<treecell class="treecell-header outset" url="__header" label="&categoryHeader;"/>
|
</treecolgroup>
|
||||||
</treerow>
|
|
||||||
</treehead>
|
|
||||||
|
|
||||||
<treechildren id="panelChildren" flex="1">
|
<treechildren id="panelChildren" flex="1">
|
||||||
<treeitem container="true" open="true" id="appearance">
|
<treeitem container="true" open="true" id="appearance">
|
||||||
|
|
|
@ -17,8 +17,7 @@
|
||||||
<!ENTITY browseFile.label "Choose File...">
|
<!ENTITY browseFile.label "Choose File...">
|
||||||
<!ENTITY browseFile.accesskey "c">
|
<!ENTITY browseFile.accesskey "c">
|
||||||
|
|
||||||
<!ENTITY header3.label "Toolbars">
|
<!ENTITY toolbarIntro.label "Select the buttons you want to see in the toolbars">
|
||||||
<!ENTITY toolbarIntro.label "Select the buttons you want to see in the toolbars.">
|
|
||||||
|
|
||||||
<!ENTITY bookmarksButton.label "Bookmarks">
|
<!ENTITY bookmarksButton.label "Bookmarks">
|
||||||
<!ENTITY goButton.label "Go">
|
<!ENTITY goButton.label "Go">
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
|
|
||||||
<!-- LOCALIZATION NOTE : FILE UI for the outer parts of the Prefs dialog -->
|
<!-- LOCALIZATION NOTE : FILE UI for the outer parts of the Prefs dialog -->
|
||||||
<!ENTITY prefWindow.title "Preferences">
|
<!ENTITY prefWindow.title "Preferences">
|
||||||
<!ENTITY categoryHeader.label "Category">
|
<!ENTITY categoryHeader "Category">
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<!-- extracted from content/preftree.xul -->
|
<!-- extracted from content/preftree.xul -->
|
||||||
|
|
||||||
<!ENTITY categoryHeader "Category">
|
|
||||||
<!--LOCALIZATION NOTE : FILE Lists preferences categories that appear on the left of the preferences dialog -->
|
<!--LOCALIZATION NOTE : FILE Lists preferences categories that appear on the left of the preferences dialog -->
|
||||||
<!ENTITY appear.label "Appearance">
|
<!ENTITY appear.label "Appearance">
|
||||||
<!ENTITY fonts.label "Fonts">
|
<!ENTITY fonts.label "Fonts">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче