зеркало из https://github.com/mozilla/pjs.git
Bug #298796 --> add entities for changing window style (height,width) of preferences windows
Patch by Reuven Gonen <linxspider@gmail.com>
This commit is contained in:
Родитель
0aab53afe0
Коммит
de6f7392ba
|
@ -47,7 +47,7 @@
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
onload="gChangeActionDialog.init();"
|
onload="gChangeActionDialog.init();"
|
||||||
ondialogaccept="return gChangeActionDialog.onAccept();"
|
ondialogaccept="return gChangeActionDialog.onAccept();"
|
||||||
style="width: 36em;"
|
style="width: &window.width;;"
|
||||||
persist="screenX screenY">
|
persist="screenX screenY">
|
||||||
|
|
||||||
<script type="application/x-javascript" src="chrome://messenger/content/preferences/actionsshared.js"/>
|
<script type="application/x-javascript" src="chrome://messenger/content/preferences/actionsshared.js"/>
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
title="&connectionsDialog.title;"
|
title="&connectionsDialog.title;"
|
||||||
dlgbuttons="accept,cancel"
|
dlgbuttons="accept,cancel"
|
||||||
onbeforeaccept="return gConnectionsDialog.beforeAccept();"
|
onbeforeaccept="return gConnectionsDialog.beforeAccept();"
|
||||||
style="width: 37em !important;">
|
style="width: &window.width; !important;">
|
||||||
|
|
||||||
<prefpane id="ConnectionsDialogPane">
|
<prefpane id="ConnectionsDialogPane">
|
||||||
<preferences>
|
<preferences>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
onload="gDownloadActionsWindow.init();"
|
onload="gDownloadActionsWindow.init();"
|
||||||
onunload="gDownloadActionsWindow.uninit();"
|
onunload="gDownloadActionsWindow.uninit();"
|
||||||
title="&downloadactionsWindow.title;"
|
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://messenger/content/preferences/actionsshared.js"/>
|
<script type="application/x-javascript" src="chrome://messenger/content/preferences/actionsshared.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://messenger/content/preferences/downloadactions.js"/>
|
<script type="application/x-javascript" src="chrome://messenger/content/preferences/downloadactions.js"/>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
title="&fontsDialog.title;"
|
title="&fontsDialog.title;"
|
||||||
dlgbuttons="accept,cancel"
|
dlgbuttons="accept,cancel"
|
||||||
style="width: 39em !important;">
|
style="width: &window.width; !important;">
|
||||||
|
|
||||||
<prefpane id="FontsDialogPane">
|
<prefpane id="FontsDialogPane">
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<prefwindow id="SoundNotificationsDialog" type="child"
|
<prefwindow id="SoundNotificationsDialog" type="child"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
dlgbuttons="accept,cancel"
|
dlgbuttons="accept,cancel"
|
||||||
style="width: 30em !important;"
|
style="width: &window.width; !important;"
|
||||||
title="¬ificationsDialog.title;">
|
title="¬ificationsDialog.title;">
|
||||||
|
|
||||||
<prefpane id="NotificationsDialogPane" onpaneload="gNotificationsDialog.init();">
|
<prefpane id="NotificationsDialogPane" onpaneload="gNotificationsDialog.init();">
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<!ENTITY changeAction.title "Change Action">
|
<!ENTITY changeAction.title "Change Action">
|
||||||
|
<!ENTITY window.width "36em">
|
||||||
|
|
||||||
<!ENTITY whenDownloading.label "When downloading files like this:">
|
<!ENTITY whenDownloading.label "When downloading files like this:">
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
<!ENTITY connectionsDialog.title "Connection Settings">
|
<!ENTITY connectionsDialog.title "Connection Settings">
|
||||||
|
<!ENTITY window.width "37em">
|
||||||
|
|
||||||
<!ENTITY proxyTitle.label "Configure Proxies to Access the Internet">
|
<!ENTITY proxyTitle.label "Configure Proxies to Access the Internet">
|
||||||
<!ENTITY directTypeRadio.label "Direct connection to the Internet">
|
<!ENTITY directTypeRadio.label "Direct connection to the Internet">
|
||||||
<!ENTITY directTypeRadio.accesskey "d">
|
<!ENTITY directTypeRadio.accesskey "d">
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
<!ENTITY downloadactionsWindow.title "Download Actions">
|
<!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 fileTypesDescription.label "Automatically perform the associated Action with each of the following file types:">
|
||||||
|
|
||||||
<!ENTITY fileHandlerColumn.label "Action">
|
<!ENTITY fileHandlerColumn.label "Action">
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<!ENTITY fontsDialog.title "Fonts">
|
<!ENTITY fontsDialog.title "Fonts">
|
||||||
|
<!ENTITY window.width "39em">
|
||||||
|
|
||||||
<!ENTITY language.label "Fonts for:">
|
<!ENTITY language.label "Fonts for:">
|
||||||
<!ENTITY language.accesskey "t">
|
<!ENTITY language.accesskey "t">
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<!ENTITY notificationsDialog.title "New Mail Sound">
|
<!ENTITY notificationsDialog.title "New Mail Sound">
|
||||||
|
<!ENTITY window.width "30em">
|
||||||
|
|
||||||
<!ENTITY soundNotification.caption "Configure Sound for New Mail">
|
<!ENTITY soundNotification.caption "Configure Sound for New Mail">
|
||||||
<!ENTITY preview.label "Preview Sound">
|
<!ENTITY preview.label "Preview Sound">
|
||||||
<!ENTITY preview.accesskey "v">
|
<!ENTITY preview.accesskey "v">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче