~ubuntu-branches/ubuntu/natty/flashgot/natty

« back to all changes in this revision

Viewing changes to chrome/flashgot.jar!/content/flashgot/flashgotOverlayTB.xul

  • Committer: Bazaar Package Importer
  • Author(s): John Vivirito
  • Date: 2009-09-07 10:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20090907105925-hr7v56d9wnr8pwfq
Tags: upstream-1.2+dfsg
ImportĀ upstreamĀ versionĀ 1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!-- ***** BEGIN LICENSE BLOCK *****
 
3
 
 
4
    FlashGot - a Firefox extension for external download managers integration
 
5
    Copyright (C) 2004-2009 Giorgio Maone - g.maone@informaction.com
 
6
 
 
7
    This program is free software; you can redistribute it and/or modify
 
8
    it under the terms of the GNU General Public License as published by
 
9
    the Free Software Foundation; either version 2 of the License, or
 
10
    (at your option) any later version.
 
11
 
 
12
    This program is distributed in the hope that it will be useful,
 
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
    GNU General Public License for more details.
 
16
 
 
17
    You should have received a copy of the GNU General Public License
 
18
    along with this program; if not, write to the Free Software
 
19
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
20
 
 
21
***** END LICENSE BLOCK ***** -->
 
22
 
 
23
<!DOCTYPE overlay [
 
24
<!ENTITY % flashgot SYSTEM "chrome://flashgot/locale/flashgot.dtd" >
 
25
%flashgot;
 
26
<!ENTITY % flashgotFB  SYSTEM "chrome://flashgot/content/en-US/flashgot.dtd" >
 
27
%flashgotFB;
 
28
]
 
29
>
 
30
 
 
31
<?xml-stylesheet href="chrome://flashgot/skin/browser.css" type="text/css"?>
 
32
<overlay id="flashgotOverlay" 
 
33
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
34
 
 
35
 
 
36
<script type="application/x-javascript" src="flashgotCommon.js"/>
 
37
<script type="application/x-javascript" src="flashgotOverlay.js"/>
 
38
 
 
39
<keyset id="mailKeys">
 
40
  <key id="flashgot-link-key" keycode="VK_F1" modifiers="accel" oncommand="gFlashGot.downloadLink()" />
 
41
  <key id="flashgot-sel-key" keycode="VK_F2" modifiers="accel" oncommand="gFlashGot.delayCmd('Sel')"/>
 
42
  <key id="flashgot-all-key" keycode="VK_F3" modifiers="accel" oncommand="gFlashGot.delayCmd('All')"/>
 
43
</keyset>
 
44
 
 
45
 <menupopup id="taskPopup">
 
46
  <menu id="flashgot-menu" label="FlashGot" insertbefore="prefSep"
 
47
     class="menu-iconic flashgot-icon-lnk"
 
48
  >
 
49
  <menupopup id="flashgot-menu-popup" 
 
50
    onpopupshowing="gFlashGot.prepareToolsMenu(event)">
 
51
    <menuitem id="flashgot-main-menuitem-sel"
 
52
        label="&flashgotSel;"  
 
53
        accesskey="&flashgotSel.accesskey;"
 
54
        oncommand="gFlashGot.delayCmd('Sel')"
 
55
        key="flashgot-sel-key"
 
56
        class="menuitem-iconic flashgot-icon-sel"
 
57
        disabled="true"
 
58
    />
 
59
    <menuitem id="flashgot-main-menuitem-all"
 
60
        label="&flashgotAll;" 
 
61
        accesskey="&flashgotAll.accesskey;"
 
62
        oncommand="gFlashGot.delayCmd('All')"
 
63
        key="flashgot-all-key"
 
64
        class="menuitem-iconic flashgot-icon-all"
 
65
        disabled="true"
 
66
        />
 
67
    <menuitem id="flashgot-main-menuitem-buildGallery"
 
68
      label="&flashgotBuildGallery;"
 
69
      class="menuitem-iconic flashgot-icon-buildGallery"  
 
70
      oncommand="gFlashGot.buildGallery()"
 
71
      disabled="true"
 
72
    />
 
73
    <menuseparator />
 
74
     <menuitem id="flashgot-main-menuitem-opt-autoStart"
 
75
      label="&flashgotAutostart;"
 
76
      type="checkbox"
 
77
      oncommand="gFlashGot.switchOption('autoStart')"
 
78
    />
 
79
    <menuitem id="flashgot-main-menuitem-opt-includeImages"
 
80
      label="&includeImages.label;"
 
81
      type="checkbox"
 
82
      oncommand="gFlashGot.switchOption('includeImages')"
 
83
    />
 
84
    <menuitem id="flashgot-main-menuitem-opts"
 
85
      label="&flashgotMoreOpts;"
 
86
      oncommand="gFlashGot.openOptionsDialog()"
 
87
      class="menuitem-iconic flashgot-icon-opts"  
 
88
    />
 
89
    <menuseparator />
 
90
    <menuitem id="flashgot-tb-about" label="&flashgotAbout;"
 
91
      oncommand="gFlashGot.openAboutDialog()"
 
92
    />
 
93
    <menuitem id="flashgot-tb-homepage"
 
94
              label="&flashgotVisitHomepage;"
 
95
              oncommand="gFlashGot.browseHomePage()"
 
96
            />
 
97
  </menupopup>
 
98
  </menu>
 
99
 </menupopup>
 
100
 
 
101
 <popup id="messagePaneContext">
 
102
   <menu id="flashgot-submenu" hidden="true" persist="hidden"
 
103
      label="FlashGot" class="menu-iconic flashgot-icon-lnk"
 
104
      >
 
105
      <menupopup>
 
106
        <menuseparator id="flashgot-submenu-anchor" hidden="true" />
 
107
        <menuseparator id="flashgot-submenu-anchor" hidden="true" />
 
108
            <menuitem id="flashgot-menuitem-it"
 
109
          label="&flashgotLink;" 
 
110
          accesskey="&flashgotLink.accesskey;"
 
111
          oncommand="gFlashGot.downloadPopupLink()"
 
112
          key="flashgot-link-key"
 
113
          class="menuitem-iconic flashgot-icon-lnk"
 
114
        />
 
115
        <menuitem id="flashgot-menuitem-sel"
 
116
          label="&flashgotSel;"  
 
117
          accesskey="&flashgotSel.accesskey;"
 
118
          oncommand="gFlashGot.delayCmd('Sel')"
 
119
          key="flashgot-sel-key"
 
120
          class="menuitem-iconic flashgot-icon-sel"
 
121
        />
 
122
        <menuitem id="flashgot-menuitem-all" 
 
123
            label="&flashgotAll;" 
 
124
            accesskey="&flashgotAll.accesskey;"
 
125
            oncommand="gFlashGot.delayCmd('All')"
 
126
            key="flashgot-all-key"
 
127
            class="menuitem-iconic flashgot-icon-all"
 
128
          />
 
129
        
 
130
        <menuitem id="flashgot-menuitem-autotest" 
 
131
          label="Autotest" hidden="true"
 
132
          oncommand="gFlashGot.autotest()"
 
133
        />  
 
134
        <menuitem id="flashgot-menuitem-buildGallery"
 
135
          label="&flashgotBuildGallery;"
 
136
          class="menuitem-iconic flashgot-icon-buildGallery"  
 
137
          oncommand="gFlashGot.buildGallery()"
 
138
        />
 
139
        <menu id="flashgot-menu-options"
 
140
          class="menu-iconic flashgot-icon-opts"  
 
141
          label="&flashgotOptions;" >
 
142
          <menupopup id="flashgot-menupopup-options" onpopupshowing="gFlashGot.prepareOptsMenu(event.target)">
 
143
            <menuitem id="flashgot-ctx-menuitem-nodms" hidden="true"
 
144
              label="&flashgotNoDMS;"
 
145
              oncommand="gFlashGotService.showDMSReference()"
 
146
              />
 
147
            <menuseparator id="flashgot-ctx-sep-nodms" />
 
148
             <menuitem id="flashgot-ctx-menuitem-opt-autoStart"
 
149
              label="&flashgotAutostart;"
 
150
              type="checkbox"
 
151
              oncommand="gFlashGot.switchOption('autoStart')"
 
152
              />
 
153
            <menuitem id="flashgot-ctx-menuitem-opt-includeImages"
 
154
              label="&includeImages.label;"
 
155
              type="checkbox"
 
156
              oncommand="gFlashGot.switchOption('includeImages')"
 
157
              />
 
158
            <menuitem id="flashgot-ctx-menuitem-opts"
 
159
              label="&flashgotMoreOpts;"
 
160
              oncommand="gFlashGot.openOptionsDialog()"
 
161
            />
 
162
            <menuseparator id="flashgot-ctx-sep-about" />
 
163
            <menuitem id="flashgot-ctx-menuitem-about"
 
164
              label="&flashgotAbout;"
 
165
              oncommand="gFlashGot.openAboutDialog()"
 
166
            />
 
167
            <menuitem id="flashgot-ctx-homepage"
 
168
              label="&flashgotVisitHomepage;"
 
169
              oncommand="gFlashGot.browseHomePage()"
 
170
            />
 
171
          </menupopup>
 
172
        </menu>
 
173
      </menupopup>
 
174
   </menu>  
 
175
   <menuseparator id="flashgot-context-separator" hidden="true" /> 
 
176
   <menuseparator id="flashgot-context-separator2" hidden="true" />   
 
177
  </popup>
 
178
  
 
179
  <statusbar id="status-bar">
 
180
    <statusbarpanel id="flashgot-progresspanel" insertafter="flashgot-statusbarpanel,statusbar-progresspanel,statusbar-display" 
 
181
      class="statusbarpanel-progress" collapsed="true">
 
182
      <label plain="true" value="FlashGot" />
 
183
      <progressmeter id="flashgot-progressmeter" class="progressmeter-status" mode="normal" value="0" />
 
184
    </statusbarpanel>
 
185
     
 
186
  </statusbar>
 
187
  
 
188
</overlay>