summaryrefslogtreecommitdiffstats
path: root/comm/suite/chatzilla/xul/content/chatzillaOverlay.xul
blob: 755e4fd813a0789ac33850078a446bc540f2d3a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->


<!DOCTYPE overlay SYSTEM "chrome://chatzilla/locale/chatzillaOverlay.dtd" >

<!-- This is the overlay that addes "Chatzilla" to the (global) task menu. -->

<?xml-stylesheet href="chrome://chatzilla/skin/chatzillaOverlay.css" type="text/css"?> 

<overlay id="ChatzillaTaskMenuID"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="application/x-javascript" src="chrome://chatzilla/content/chatzillaOverlay.js"/>

<keyset id="tasksKeys">
  <key id="key_irc"  key="&ircCmd.commandkey;" command="Tasks:IRC" modifiers="accel"/>
</keyset>

<commandset id="tasksCommands">
  <command id="Tasks:IRC" oncommand="toIRC();"/>
</commandset>

<menupopup id="windowPopup">
  <menuitem
        label="&ircCmd.label;"
        accesskey="&ircCmd.accesskey;"
        key="key_irc"
        command="Tasks:IRC"
        id="tasksMenuIRC"
        class="menuitem-iconic"
        insertafter="tasksMenuAddressBook,tasksMenuEditor,IMMenuItem,tasksMenuNavigator"/>
</menupopup>

<statusbarpanel id="component-bar">
  <toolbarbutton class="taskbutton" id="mini-irc" oncommand="toIRC()"
    insertafter="mini-addr,mini-comp,mini-aim,mini-nav" tooltiptext="&ircCmd.label;"/>
</statusbarpanel>

</overlay>