scott%scott-macgregor.org 54e7184e7b fix for bug #227651
[calendar] [mozilla 1.x] if native calendar app is available, and mozilla calendar there,
show chrome to launch a native calendar, if specified by a pref.

this "tasks" extension can be extended for other tasks.

NOT PART OF THE BUILD

r/sr/a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@150126 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-07 18:31:38 +00:00

38 lines
1.2 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://tasks/skin/tasksOverlay.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://tasks/locale/tasksOverlay.dtd" >
<overlay id="TasksMenuID"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://tasks/content/tasksOverlay.js"/>
<keyset id="tasksKeys">
<key id="key_other_cal" key="&other-cal-cmd.commandkey;" command="Tasks:OtherCal" modifiers="accel"/>
</keyset>
<commandset id="tasksCommands">
<command id="Tasks:OtherCal" oncommand="openOtherCal();"/>
</commandset>
<menupopup id="windowPopup" >
<menuitem
hidden="true"
id="tasksMenuOtherCal"
label="&other-cal-cmd.label;"
accesskey="&other-cal-cmd.accesskey;"
key="key_other_cal"
command="Tasks:OtherCal"
insertbefore="sep-window-list"
class="menuitem-iconic icon-other-cal16 menu-iconic"/>
</menupopup>
<statusbarpanel id="component-bar">
<toolbarbutton class="taskbutton" id="mini-other-cal" oncommand="openOtherCal();" hidden="true"
position="&other-cal-cmd.commandkey;" tooltiptext="&other-cal-cmd.label;"/>
</statusbarpanel>
</overlay>