mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
216894 patch by Stefan Borggraefe borggraefe@despammed.com
neil.parkwaycc.co.uk: review+ bienvenu: superreview+ Message View Setup window too small, not resizeable
This commit is contained in:
parent
b5a2a67987
commit
dc53d73d2c
@ -75,7 +75,7 @@ function refreshListView(aSelectedMailView)
|
||||
|
||||
function onNewMailView()
|
||||
{
|
||||
window.openDialog('chrome://messenger/content/mailViewSetup.xul', "", 'centerscreen,resizeable,modal,titlebar,chrome', {onOkCallback: refreshListView});
|
||||
window.openDialog('chrome://messenger/content/mailViewSetup.xul', "", 'centerscreen,resizable,modal,titlebar,chrome', {onOkCallback: refreshListView});
|
||||
}
|
||||
|
||||
function onDeleteMailView()
|
||||
@ -121,7 +121,7 @@ function onEditMailView()
|
||||
|
||||
var args = {mailView: selMailView, onOkCallback: refreshListView};
|
||||
|
||||
window.openDialog('chrome://messenger/content/mailViewSetup.xul', "", 'centerscreen,modal,resizeable,titlebar,chrome', args);
|
||||
window.openDialog('chrome://messenger/content/mailViewSetup.xul', "", 'centerscreen,modal,resizable,titlebar,chrome', args);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ function mailViewOnLoad()
|
||||
dialog.okCallback = window.arguments[0].onOkCallback;
|
||||
}
|
||||
|
||||
dialog.OKButton = document.getElementById("ok");
|
||||
dialog.OKButton = document.documentElement.getButton("accept");
|
||||
dialog.nameField = document.getElementById("name");
|
||||
dialog.nameField.focus();
|
||||
|
||||
@ -59,7 +59,6 @@ function mailViewOnLoad()
|
||||
onMore(null);
|
||||
|
||||
doEnabling();
|
||||
doSetOKCancel(onOK, onCancel);
|
||||
}
|
||||
|
||||
function mailViewOnUnLoad()
|
||||
@ -97,13 +96,6 @@ function onOK()
|
||||
return true;
|
||||
}
|
||||
|
||||
function onCancel()
|
||||
{
|
||||
// close the window
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
function initializeMailViewOverrides()
|
||||
{
|
||||
// replace some text with something we want. Need to add some ids to searchOverlay.js
|
||||
|
@ -21,20 +21,23 @@ Communications Corporation. Portions created by Netscape are
|
||||
Rights Reserved.
|
||||
-->
|
||||
|
||||
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
|
||||
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
||||
|
||||
<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/mailViewSetup.dtd" >
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
<dialog id="mailViewSetupDialog"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="mailViewOnLoad();"
|
||||
onunload="mailViewOnUnLoad();"
|
||||
ondialogaccept="return onOK();"
|
||||
ondialoghelp="doHelpButton();"
|
||||
buttons="accept,cancel,help"
|
||||
buttonalign="right"
|
||||
windowtype="mailnews:mailview"
|
||||
title="&mailViewSetupTitle.label;"
|
||||
width="560" height="300"
|
||||
style="width: 52em; height: 19em;"
|
||||
persist="screenX screenY width height">
|
||||
|
||||
<stringbundleset id="stringbundleset">
|
||||
@ -48,7 +51,6 @@ Rights Reserved.
|
||||
<script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<dummy class="usesMailWidgets"/>
|
||||
<keyset id="dialogKeys"/>
|
||||
|
||||
<vbox flex="1">
|
||||
<separator class="thin"/>
|
||||
@ -64,11 +66,6 @@ Rights Reserved.
|
||||
<hbox flex="1">
|
||||
<vbox id="searchTermListBox" flex="1"/>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox id="okCancelHelpButtonsRight"/>
|
||||
|
||||
</vbox>
|
||||
|
||||
</window>
|
||||
</dialog>
|
||||
|
Loading…
Reference in New Issue
Block a user