2000-06-17 03:26:47 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2003-03-17 04:59:12 +00:00
|
|
|
<!DOCTYPE overlay [
|
2000-06-17 03:26:47 +00:00
|
|
|
<!ENTITY % mailTasksOverlayDTD SYSTEM "chrome://messenger/locale/mailTasksOverlay.dtd" >
|
|
|
|
%mailTasksOverlayDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<overlay id="mailPrefsOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2001-07-09 18:41:07 +00:00
|
|
|
<script type="application/x-javascript">
|
2000-06-17 03:26:47 +00:00
|
|
|
<![CDATA[
|
|
|
|
// uses "toOpenWindowByType" function provided by utilityOverlay.js
|
|
|
|
// which is included by most clients.
|
|
|
|
function toMessengerWindow()
|
|
|
|
{
|
2001-10-27 05:39:25 +00:00
|
|
|
var pref = Components.classes["@mozilla.org/preferences-service;1"]
|
|
|
|
.getService(Components.interfaces.nsIPrefBranch);
|
2000-06-17 03:26:47 +00:00
|
|
|
var windowDoc = "chrome://messenger/content/messenger.xul";
|
2001-03-22 00:59:29 +00:00
|
|
|
try
|
2000-06-17 03:26:47 +00:00
|
|
|
{
|
2001-10-27 05:39:25 +00:00
|
|
|
var layoutType = pref.getIntPref("mail.pane_config");
|
2001-03-22 00:59:29 +00:00
|
|
|
windowDoc = !layoutType ? "chrome://messenger/content/messenger.xul" :
|
2000-06-17 03:26:47 +00:00
|
|
|
"chrome://messenger/content/mail3PaneWindowVertLayout.xul";
|
2001-03-22 00:59:29 +00:00
|
|
|
}
|
|
|
|
catch(ex)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
toOpenWindowByType("mail:3pane", windowDoc);
|
2000-06-17 03:26:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function toAddressBook()
|
|
|
|
{
|
2001-03-22 00:59:29 +00:00
|
|
|
toOpenWindowByType("mail:addressbook", "chrome://messenger/content/addressbook/addressbook.xul");
|
2000-06-17 03:26:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function toNewsgroups()
|
|
|
|
{
|
|
|
|
dump ("Sorry, command not implemented.\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
function toImport()
|
|
|
|
{
|
2001-03-22 00:59:29 +00:00
|
|
|
window.openDialog("chrome://messenger/content/importDialog.xul","importDialog","chrome, modal, titlebar", {importType: "addressbook"});
|
2000-06-17 03:26:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
]]>
|
|
|
|
</script>
|
2000-09-12 02:33:16 +00:00
|
|
|
|
2001-04-05 19:53:13 +00:00
|
|
|
<keyset id="tasksKeys">
|
|
|
|
<key id="key_mail" key="&messengerCmd.commandkey;" command="Tasks:Mail" modifiers="accel"/>
|
2001-07-25 07:00:22 +00:00
|
|
|
<key id="key_addressbook" key="&addressBookCmd.commandkey;" command="Tasks:AddressBook" modifiers="accel"/>
|
2000-09-12 02:33:16 +00:00
|
|
|
</keyset>
|
|
|
|
|
|
|
|
|
2001-04-05 19:53:13 +00:00
|
|
|
<commandset id="tasksCommands">
|
|
|
|
<command id="Tasks:Mail" oncommand="toMessengerWindow();"/>
|
2001-07-25 07:00:22 +00:00
|
|
|
<command id="Tasks:AddressBook" oncommand="toAddressBook();"/>
|
2001-04-05 19:53:13 +00:00
|
|
|
</commandset>
|
2000-09-12 02:33:16 +00:00
|
|
|
|
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
<statusbarpanel id="component-bar">
|
2001-09-20 07:08:29 +00:00
|
|
|
<toolbarbutton class="taskbutton" id="mini-mail" oncommand="toMessengerWindow()"
|
2001-12-04 23:30:25 +00:00
|
|
|
position="2" tooltiptext="&taskMessenger.tooltip;"/>
|
2002-04-15 05:44:38 +00:00
|
|
|
<toolbarbutton id="mini-comp" insertafter="mini-mail"/>
|
2001-09-20 07:08:29 +00:00
|
|
|
<toolbarbutton class="taskbutton" id="mini-addr" oncommand="toAddressBook();"
|
2002-04-15 05:44:38 +00:00
|
|
|
insertafter="mini-comp" tooltiptext="&taskAddressBook.tooltip;"/>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2001-12-19 12:04:11 +00:00
|
|
|
</statusbarpanel>
|
2002-04-03 07:07:10 +00:00
|
|
|
|
2002-04-03 04:16:28 +00:00
|
|
|
<menupopup id="windowPopup">
|
2002-04-04 09:48:20 +00:00
|
|
|
<menuitem accesskey="&messengerCmd.accesskey;" label="&messengerCmd.label;" key="key_mail" command="Tasks:Mail" id="tasksMenuMail" insertafter="tasksMenuNavigator" class="menuitem-iconic icon-mail16 menu-iconic"/>
|
2002-03-23 04:38:14 +00:00
|
|
|
<menuitem id="tasksMenuEditor" insertafter="tasksMenuMail"/>
|
2002-04-04 09:48:20 +00:00
|
|
|
<menuitem label="&addressBookCmd.label;" accesskey="&addressBookCmd.accesskey;" key="key_addressbook" command="Tasks:AddressBook" id="tasksMenuAddressBook" insertafter="tasksMenuEditor" class="menuitem-iconic icon-addressbook16 menu-iconic"/>
|
2000-06-17 03:26:47 +00:00
|
|
|
</menupopup>
|
|
|
|
|
|
|
|
</overlay>
|
|
|
|
|