~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/content/overlay.menu.australis.xul

  • Committer: Yvon TANGUY
  • Date: 2014-04-09 19:37:40 UTC
  • Revision ID: vono@vono.zsh.jp-20140409193740-1cqp6j5bgei4g91n
Fix #1305252 : Regression: preference extensions.cookiekeeper.version not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!-- This Source Code Form is subject to the terms of the Mozilla Public
 
3
   - License, v. 2.0. If a copy of the MPL was not distributed with this
 
4
   - file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
5
   - ==================================================================
 
6
   - Toolbar menu for Australis UI
 
7
 -->
 
8
 
 
9
<?xml-stylesheet href="chrome://browser/skin/customizableui/panelUIOverlay.css" type="text/css"?>
 
10
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
11
 
 
12
<!DOCTYPE overlay [
 
13
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
 
14
  <!ENTITY % cookieKeeperDTD SYSTEM "chrome://cookiekeeper/locale/cookiekeeper.dtd" >
 
15
  %brandDTD;
 
16
  %cookieKeeperDTD;
 
17
]>
 
18
 
 
19
<overlay id="cookiekeeper-overlay-australis-menu" xmlns:html="http://www.w3.org/1999/xhtml"
 
20
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 
21
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
22
 
 
23
  <script src="chrome://cookiekeeper/content/overlay.menu.js" type="application/x-javascript" />
 
24
 
 
25
  <!-- Australis toolbar button UI -->
 
26
  <panelmultiview id="PanelUI-multiView">
 
27
    <panelview id="PanelUI-cookiekeeper" flex="1" class="PanelUI-subView"
 
28
               xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
29
 
 
30
 
 
31
      <label value="&cookiekeeper.title;" class="panel-subview-header"/>
 
32
      <vbox class="panel-subview-body">
 
33
        <toolbarbutton id="appMenuCKViewCookies"
 
34
                       label="&menu.showcookies.label;"
 
35
                       image="chrome://cookiekeeper/skin/cookie16.png"
 
36
                       class="subviewbutton"
 
37
                       oncommand="ckMenu.openCKWindow();" />
 
38
        <toolbarbutton id="appMenuCKViewPrefs"
 
39
                       label="&menu.preferences.label;"
 
40
                       image="chrome://cookiekeeper_os/skin/options16.png"
 
41
                       class="subviewbutton"
 
42
                       oncommand="ckMenu.openCKPreferences();" />
 
43
        <toolbarbutton id="appMenuCKClearCookies"
 
44
                       label="&menu.removecookies.label;"
 
45
                       image="chrome://cookiekeeper_os/skin/delete16.png"
 
46
                       class="subviewbutton"
 
47
                       oncommand="ckMenu.clearCookies();" />
 
48
      </vbox>
 
49
    </panelview>
 
50
  </panelmultiview>
 
51
 
 
52
  <!-- Firefox tools menu -->
 
53
  <menupopup id="menu_ToolsPopup">
 
54
    <menu id="cookiekeeper-tools-menu"
 
55
          class="menu-iconic"
 
56
          image="chrome://cookiekeeper/skin/cookie16.png"
 
57
          label="&cookiekeeper.title;">
 
58
      <menupopup id="cookiekeeper-tools-menupopup">
 
59
        <menuitem id="cookiekeeper-tools-menuitem-view-cookies"
 
60
                  label="&menu.showcookies.label;"
 
61
                  image="chrome://cookiekeeper/skin/cookie16.png"
 
62
                  oncommand="ckMenu.openCKWindow();" />
 
63
        <menuitem id="cookiekeeper-tools-menuitem-view-preferences"
 
64
                  label="&menu.preferences.label;"
 
65
                  image="chrome://cookiekeeper_os/skin/options16.png"
 
66
                  oncommand="ckMenu.openCKPreferences();" />
 
67
        <menuitem id="cookiekeeper-tools-menuitem-view-cookies"
 
68
                  label="&menu.removecookies.label;"
 
69
                  image="chrome://cookiekeeper_os/skin/delete16.png"
 
70
                  oncommand="ckMenu.clearCookies();" />
 
71
      </menupopup>
 
72
    </menu>
 
73
  </menupopup>
 
74
</overlay>