~ubuntu-branches/ubuntu/lucid/flashblock/lucid-proposed

« back to all changes in this revision

Viewing changes to content/flashblock/flashblock.xul

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-04-09 13:10:00 UTC
  • Revision ID: james.westby@ubuntu.com-20080409131000-5wd25isw94ithgp8
Tags: upstream-1.3.9a
ImportĀ upstreamĀ versionĀ 1.3.9a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<?xml-stylesheet href="chrome://flashblock/skin/flashblock.css" type="text/css"?>
 
3
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
4
 
 
5
<!DOCTYPE overlay SYSTEM "chrome://flashblock/locale/flashblock.dtd">
 
6
 
 
7
<overlay id="flashblockOverlay" 
 
8
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
9
 
 
10
  <script type="application/x-javascript" src="flashblock-prefs.js"/>
 
11
  <script type="application/x-javascript" src="flashblock.js"/>
 
12
  <stringbundleset id="stringbundleset">
 
13
    <stringbundle id="bundle_flashblock"
 
14
                  src="chrome://flashblock/locale/flashblock.properties"/>
 
15
  </stringbundleset>
 
16
 
 
17
  <popup id="contentAreaContextMenu">
 
18
    <menuitem id="context-flashRemove"
 
19
              label="&flashRemove.label;"
 
20
              accesskey="&flashRemove.accesskey;"
 
21
              insertafter="context-stop"
 
22
              oncommand="Flashblock.hideObject();"/>
 
23
    <menuitem id="context-flashWhitelist"
 
24
              label="&flashWhitelist.label;"
 
25
              accesskey="&flashWhitelist.accesskey;"
 
26
              insertafter="context-stop"
 
27
              oncommand="Flashblock.showOptions();"/>
 
28
    <menuitem id="context-flashLocation"
 
29
              label="&flashCopyLocation.label;"
 
30
              accesskey="&flashCopyLocation.accesskey;"
 
31
              initlabel="&flashCopyLocation.label;:"
 
32
              insertafter="context-stop"
 
33
              oncommand="Flashblock.copyLocation();"/>
 
34
    <menuitem id="context-flashAllow"
 
35
              type="checkbox"
 
36
              label="&flashAllow.label;"
 
37
              accesskey="&flashAllow.accesskey;"
 
38
              insertafter="context-stop"
 
39
              oncommand="Flashblock.toggleSiteWhitelisted();"/>
 
40
  </popup>
 
41
 
 
42
  <popup id="messagePaneContext">
 
43
    <menuitem id="context-flashRemove"
 
44
              label="&flashRemove.label;"
 
45
              accesskey="&flashRemove.accesskey;"
 
46
              insertafter="context-copy"
 
47
              oncommand="Flashblock.hideObject();"/>
 
48
    <menuitem id="context-flashWhitelist"
 
49
              label="&flashWhitelist.label;"
 
50
              accesskey="&flashWhitelist.accesskey;"
 
51
              insertafter="context-copy"
 
52
              oncommand="Flashblock.showOptions();"/>
 
53
    <menuitem id="context-flashLocation"
 
54
              label="&flashCopyLocation.label;"
 
55
              accesskey="&flashCopyLocation.accesskey;"
 
56
              initlabel="&flashCopyLocation.label;:"
 
57
              insertafter="context-copy"
 
58
              oncommand="Flashblock.copyLocation();"/>
 
59
    <menuitem id="context-flashAllow"
 
60
              type="checkbox"
 
61
              label="&flashAllow.label;"
 
62
              accesskey="&flashAllow.accesskey;"
 
63
              insertafter="context-copy"
 
64
              oncommand="Flashblock.toggleSiteWhitelisted();"/>
 
65
  </popup>
 
66
 
 
67
  <!-- Firefox toolbar button overlay -->
 
68
  <!-- toolgroup is for Netscape 8 -->
 
69
  <toolbarpalette id="BrowserToolbarPalette">
 
70
    <toolbarbutton
 
71
      id="flashblockToggle-button"
 
72
      toolgroup="functional"/>
 
73
  </toolbarpalette>
 
74
 
 
75
  <toolbarpalette id="MailToolbarPalette">
 
76
    <toolbarbutton id="flashblockToggle-button"/>
 
77
  </toolbarpalette>
 
78
 
 
79
  <toolbarbutton
 
80
    id="flashblockToggle-button"
 
81
    class="toolbarbutton-1 chromeclass-toolbar-additional"
 
82
    type="menu-button"
 
83
    label="&btnToggle.label;"
 
84
    tooltiptext="&btnToggle.tooltip;"
 
85
    oncommand="Flashblock.toggleButton(event);event.stopPropagation();"
 
86
    state="enabled">
 
87
    <menupopup id="flashblockPopupMenu"/>
 
88
  </toolbarbutton>
 
89
 
 
90
  <!-- Common popup menu for buttons -->
 
91
  <menupopup id="flashblockPopupMenu"
 
92
             onpopupshowing="Flashblock.checkWhitelistToggle();
 
93
                             Flashblock.fixParentTip('hide', this.parentNode);"
 
94
             onpopuphiding ="Flashblock.fixParentTip('show', this.parentNode);">
 
95
    <menuitem id="buttonmenu-flashblockAllow"
 
96
              type="checkbox"
 
97
              label="&flashAllow.label;"
 
98
              accesskey="&flashAllow.accesskey;"
 
99
              oncommand="Flashblock.toggleSiteWhitelisted();
 
100
                         event.stopPropagation();"/>
 
101
    <menuitem id="buttonmenu-flashblockOptions"
 
102
              label="&flashWhitelist.label;"
 
103
              accesskey="&flashWhitelist.accesskey;"
 
104
              oncommand="Flashblock.showOptions(); event.stopPropagation();"/>
 
105
  </menupopup>
 
106
 
 
107
  <window id="main-window">
 
108
    <popupset id="mainPopupSet">
 
109
 
 
110
      <tooltip id="flashblockDefaultTooltip" label="" hidden="true">
 
111
      </tooltip>
 
112
 
 
113
    </popupset>
 
114
  </window>
 
115
 
 
116
</overlay>