зеркало из https://github.com/mozilla/pjs.git
Bug 285570 - add entities for changing window style (height,width) of preferences windows. patch from Reuven Gonen <linxspider@yahoo.com>, r=mconnor a=asa
This commit is contained in:
Родитель
bd668e0965
Коммит
6b7332d6bf
|
@ -47,7 +47,7 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="gChangeActionDialog.init();"
|
||||
ondialogaccept="return gChangeActionDialog.onAccept();"
|
||||
style="width: 36em;"
|
||||
style="width: &window.width;;"
|
||||
persist="screenX screenY">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://mozapps/content/preferences/actionsshared.js"/>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&colorsDialog.title;"
|
||||
dlgbuttons="accept,cancel"
|
||||
style="width: 38em !important;">
|
||||
style="width: &window.width; !important;">
|
||||
|
||||
<prefpane id="ColorsDialogPane">
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
title="&connectionsDialog.title;"
|
||||
dlgbuttons="accept,cancel"
|
||||
onbeforeaccept="return gConnectionsDialog.beforeAccept();"
|
||||
style="width: 37em !important;">
|
||||
style="width: &window.width; !important;">
|
||||
|
||||
<prefpane id="ConnectionsDialogPane">
|
||||
<preferences>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<window id="CookiesDialog" windowtype="Browser:Cookies"
|
||||
class="windowDialog" title="&window.title;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
style="width: 36em;"
|
||||
style="width: &window.width;;"
|
||||
onload="gCookiesWindow.init();"
|
||||
onunload="gCookiesWindow.uninit();"
|
||||
persist="screenX screenY width height">
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
onload="gDownloadActionsWindow.init();"
|
||||
onunload="gDownloadActionsWindow.uninit();"
|
||||
title="&downloadactionsWindow.title;"
|
||||
width="480" height="310" persist="width height screenX screenY">
|
||||
width="&window.width;" height="&window.height;" persist="width height screenX screenY">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://mozapps/content/preferences/actionsshared.js"/>
|
||||
<script type="application/x-javascript" src="chrome://browser/content/preferences/downloadactions.js"/>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&fontsDialog.title;"
|
||||
dlgbuttons="accept,cancel"
|
||||
style="width: 39em !important;">
|
||||
style="width: &window.width; !important;">
|
||||
|
||||
<prefpane id="FontsDialogPane">
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&languages.customize.Header;"
|
||||
dlgbuttons="accept,cancel"
|
||||
style="width: 30em;">
|
||||
style="width: &window.width;;">
|
||||
|
||||
<prefpane id="LanguagesDialogPane" onpaneload="gLanguagesDialog.init();">
|
||||
<preferences>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
windowtype="Browser:Permissions"
|
||||
title="&window.title;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
style="width: 36em;"
|
||||
style="width: &window.width;;"
|
||||
onload="gPermissionManager.onLoad();"
|
||||
onunload="gPermissionManager.uninit();"
|
||||
persist="screenX screenY width height">
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
dlgbuttons="accept,cancel"
|
||||
title="&sanitizeDialog.title;"
|
||||
style="width: 30em !important;">
|
||||
style="width: &window.width; !important;">
|
||||
|
||||
<prefpane id="SanitizeDialogPane">
|
||||
<script type="application/x-javascript" src="chrome://browser/content/preferences/sanitize.js"/>
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
<!ENTITY changeAction.title "Change Action">
|
||||
|
||||
<!ENTITY whenDownloading.label "When downloading files like this:">
|
||||
|
||||
<!ENTITY openDefault.label "Open them with the default application:">
|
||||
<!ENTITY openDefault.accesskey "O">
|
||||
<!ENTITY openApplication.label "Open them with this application:">
|
||||
<!ENTITY openApplication.accesskey "e">
|
||||
<!ENTITY changeApp.label "Browse...">
|
||||
<!ENTITY changeApp.accesskey "B">
|
||||
<!ENTITY saveToDisk.label "Save them on my computer">
|
||||
<!ENTITY saveToDisk.accesskey "S">
|
||||
<!ENTITY saveToDefaultFolder.label "in the default download folder">
|
||||
<!ENTITY saveToDefaultFolder.accesskey "d">
|
||||
<!ENTITY saveToThisFolder.label "in this folder:">
|
||||
<!ENTITY saveToThisFolder.accesskey "h">
|
||||
<!ENTITY chooseFolder.label "Browse...">
|
||||
<!ENTITY chooseFolder.accesskey "w">
|
||||
<!ENTITY saveToAskMe.label "ask me where to save the file">
|
||||
<!ENTITY saveToAskMe.accesskey "a">
|
||||
<!ENTITY usePlugin.label "Use this Plugin:">
|
||||
<!ENTITY usePlugin.accesskey "P">
|
|
@ -1,4 +1,5 @@
|
|||
<!ENTITY colorsDialog.title "Colors">
|
||||
<!ENTITY window.width "38em">
|
||||
|
||||
<!ENTITY allowPagesToUse.label "Allow pages to choose their own colors, instead of my selections above">
|
||||
<!ENTITY allowPagesToUse.accesskey "h">
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
|
||||
<!ENTITY connectionsDialog.title "Connection Settings">
|
||||
<!ENTITY window.width "37em">
|
||||
|
||||
<!ENTITY proxyTitle.label "Configure Proxies to Access the Internet">
|
||||
<!ENTITY directTypeRadio.label "Direct connection to the Internet">
|
||||
<!ENTITY directTypeRadio.accesskey "d">
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<!ENTITY window.width "36em">
|
||||
|
||||
<!ENTITY cookiesonsystem.label "The following cookies are stored on your computer:">
|
||||
<!ENTITY cookiename.label "Cookie Name">
|
||||
<!ENTITY cookiedomain.label "Site">
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<!ENTITY downloadactionsWindow.title "Download Actions">
|
||||
<!ENTITY window.width "480">
|
||||
<!ENTITY window.height "310">
|
||||
|
||||
<!ENTITY fileTypesDescription.label "Automatically perform the associated Action with each of the following file types:">
|
||||
|
||||
<!ENTITY fileHandlerColumn.label "Action">
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<!ENTITY fontsDialog.title "Fonts">
|
||||
<!ENTITY window.width "39em">
|
||||
|
||||
<!ENTITY language.label "Fonts for:">
|
||||
<!ENTITY language.accesskey "t">
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<!ENTITY window.width "30em">
|
||||
|
||||
<!ENTITY languages.customize.Header "Languages">
|
||||
<!ENTITY languages.customize.label "Languages">
|
||||
<!ENTITY languages.customize.prefLangDescript "Web pages are sometimes offered in more than one language. Choose languages for displaying these web pages, in order of preference.">
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<!ENTITY window.title "Exceptions">
|
||||
<!ENTITY window.width "36em">
|
||||
|
||||
<!ENTITY treehead.sitename.label "Site">
|
||||
<!ENTITY treehead.status.label "Status">
|
||||
<!ENTITY addpermission.label "New Site">
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<!ENTITY sanitizeDialog.title "Sanitize">
|
||||
<!ENTITY window.width "30em">
|
||||
|
||||
<!ENTITY items.label "Sanitize Items">
|
||||
<!ENTITY sanitizeItems.label "Clear the following items when Sanitizing &brandShortName;:">
|
||||
|
|
Загрузка…
Ссылка в новой задаче