Add customize toolbar context item to the menubar. Thanks to Stephen Walker for the patch.

This commit is contained in:
scott%scott-macgregor.org 2003-08-01 18:27:54 +00:00
Родитель 6561a2a46a
Коммит 2c74e7b674
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -1,5 +1,4 @@
<?xml version="1.0"?> <?xml version="1.0"?>
# The contents of this file are subject to the Netscape Public # The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file # License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of # except in compliance with the License. You may obtain a copy of
@ -968,7 +967,8 @@
<toolbox id="mail-toolbox" class="toolbox-top" mode="icons"> <toolbox id="mail-toolbox" class="toolbox-top" mode="icons">
<!-- Menu --> <!-- Menu -->
<toolbar type="menubar" id="mail-toolbar-menubar" class="chromeclass-menubar" customizable="true" defaultset="menubar-items" mode="icons"> <toolbar type="menubar" id="mail-toolbar-menubar" class="chromeclass-menubar" customizable="true"
context="toolbar-context-menu" defaultset="menubar-items" mode="icons">
<toolbaritem id="menubar-items" align="center"> <toolbaritem id="menubar-items" align="center">
<menubar id="mail-menubar" style="border:0px;padding:0px;margin:0px;-moz-appearance:none"> <menubar id="mail-menubar" style="border:0px;padding:0px;margin:0px;-moz-appearance:none">
<!-- File --> <!-- File -->

Просмотреть файл

@ -22,6 +22,7 @@
# Seth Spitzer <sspitzer@netscape.com> # Seth Spitzer <sspitzer@netscape.com>
<?xml-stylesheet href="chrome://messenger/skin/addressbook/addressbook.css" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/addressbook/addressbook.css" type="text/css"?>
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?> <?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
<!DOCTYPE window [ <!DOCTYPE window [
@ -146,7 +147,7 @@
<toolbox id="ab-toolbox" class="toolbox-top" mode="icons"> <toolbox id="ab-toolbox" class="toolbox-top" mode="icons">
<toolbar type="menubar" id="addrbook-toolbar-menubar" class="chromeclass-menubar" customizable="true" <toolbar type="menubar" id="addrbook-toolbar-menubar" class="chromeclass-menubar" customizable="true"
defaultset="menubar-items" mode="icons"> context="toolbar-context-menu" defaultset="menubar-items" mode="icons">
<toolbaritem id="menubar-items" align="center"> <toolbaritem id="menubar-items" align="center">
<menubar id="mail-menubar" style="border:0px;padding:0px;margin:0px;-moz-appearance:none"> <menubar id="mail-menubar" style="border:0px;padding:0px;margin:0px;-moz-appearance:none">

Просмотреть файл

@ -221,7 +221,7 @@
<!-- Menu --> <!-- Menu -->
<!-- if you change the id of the menubar, be sure to update mailCore.js::CustomizeMailToolbar and MailToolboxCustomizeDone --> <!-- if you change the id of the menubar, be sure to update mailCore.js::CustomizeMailToolbar and MailToolboxCustomizeDone -->
<toolbar type="menubar" id="compose-toolbar-menubar" class="chromeclass-menubar" customizable="true" <toolbar type="menubar" id="compose-toolbar-menubar" class="chromeclass-menubar" customizable="true"
defaultset="menubar-items" mode="full"> context="toolbar-context-menu" defaultset="menubar-items" mode="full">
<toolbaritem id="menubar-items" align="center"> <toolbaritem id="menubar-items" align="center">
<menubar id="mail-menubar" style="border:0px;padding:0px;margin:0px;-moz-appearance:none"> <menubar id="mail-menubar" style="border:0px;padding:0px;margin:0px;-moz-appearance:none">