~click2dial-extension-devteam/click2dial-firefox-extension/2.0

« back to all changes in this revision

Viewing changes to chrome/content/asterisk-ext.xul

  • Committer: Jonathan SEMCZYK
  • Date: 2011-01-26 07:38:28 UTC
  • Revision ID: jsemczyk@acipia.fr-20110126073828-c3o57dgrzuowbwk1
added Firefox4 compatibility
added toolbar button and textbox for the addon bar

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
        <commandset id="mainCommandSet">
19
19
                <command id="cmd_statusdial" oncommand="AsteriskExtChrome.BrowserOverlay.statusDial();"/>
 
20
                <command id="cmd_toolbardial" oncommand="AsteriskExtChrome.BrowserOverlay.toolbarDial();"/>
20
21
        </commandset>
21
22
 
22
23
 
 
24
 
 
25
 
23
26
<!-- FireFox -->
 
27
 
 
28
        <toolbarpalette id="BrowserToolbarPalette">
 
29
                <toolbarbutton id="asterisk-ext-toolbar-icon" />
 
30
                <toolbaritem id="asterisk-ext-toolbar-textbox" />
 
31
        </toolbarpalette>
 
32
 
 
33
 
24
34
        <popup id="contentAreaContextMenu">
25
35
                <menuitem image="chrome://asterisk-ext/skin/logo-20.png" 
26
36
                        class="menuitem-iconic" id="context-asterisk" label="&menu.call;"
45
55
                        <menuitem id="asterisk-ext-history-menuitem"
46
56
                                label="&menu.history;"
47
57
                                oncommand="AsteriskExtChrome.BrowserOverlay.openHistoryWindow();"
48
 
                                tooltiptext="menu.historyLong;" />
 
58
                                tooltiptext="&menu.historyLong;" />
49
59
                        <menuitem id="asterisk-ext-options-menuitem"
50
60
                                label="&menu.options;"
51
61
                                oncommand="AsteriskExtChrome.BrowserOverlay.openOptionsWindow();"
52
 
                                tooltiptext="menu.optionsLong;" />
 
62
                                tooltiptext="&menu.optionsLong;" />
53
63
                        <menuitem id="asterisk-ext-about-menuitem"
54
64
                                label="&menu.about;"
55
65
                                oncommand="AsteriskExtChrome.BrowserOverlay.openAboutWindow();" />
65
75
                </statusbarpanel>
66
76
        </statusbar>
67
77
 
 
78
<!-- button details -->
 
79
        <toolbarbutton id="asterisk-ext-toolbar-icon"
 
80
                label="Asterisk"
 
81
                tooltiptext="asterisk tooltip"
 
82
                oncommand="AsteriskExtChrome.BrowserOverlay.onToolbarButtonMouseDown();"
 
83
                class="chromeclass-toolbar-additional"
 
84
                />
 
85
        <toolbaritem id="asterisk-ext-toolbar-textbox">
 
86
                        <textbox id="asterisk-ext-toolbar-textbox-item" type="search" empty="true" emptytext="&status.text;"
 
87
                                size="12" command="cmd_toolbardial" searchbutton="true" hidden="false" />
 
88
        </toolbaritem>
 
89
 
 
90
 
68
91
</overlay>