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

« back to all changes in this revision

Viewing changes to chrome/flashblock.jar!/content/flashblock/flashblock.xul

  • Committer: Bazaar Package Importer
  • Author(s): Alexander GQ Gerasiov
  • Date: 2009-11-30 01:21:27 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091130012127-ngxo3jqkddn3smi1
Tags: 1.5.11-2
* Fixed typo in debian/copyright.
* Using new dpkg v3 format, it rocks.
* Package description updated (taken from extension's homepage).

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
 
 
4
<!DOCTYPE overlay SYSTEM "chrome://flashblock/locale/flashblock.dtd">
 
5
 
 
6
<overlay id="flashblockOverlay" 
 
7
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
8
 
 
9
  <script type="application/x-javascript" src="flashblock-prefs.js"/>
 
10
  <script type="application/x-javascript" src="flashblock.js"/>
 
11
  <stringbundleset id="stringbundleset">
 
12
    <stringbundle id="bundle_flashblock"
 
13
                  src="chrome://flashblock/locale/flashblock.properties"/>
 
14
  </stringbundleset>
 
15
 
 
16
  <popup id="contentAreaContextMenu">
 
17
    <menuitem id="context-flashRemove"
 
18
              label="&flashRemove.label;"
 
19
              accesskey="&flashRemove.accesskey;"
 
20
              insertafter="context-stop"
 
21
              oncommand="Flashblock.hideObject();"/>
 
22
    <menuitem id="context-flashWhitelist"
 
23
              label="&flashWhitelist.label;"
 
24
              accesskey="&flashWhitelist.accesskey;"
 
25
              insertafter="context-stop"
 
26
              oncommand="Flashblock.showOptions();"/>
 
27
    <menuitem id="context-flashLocation"
 
28
              label="&flashCopyLocation.label;"
 
29
              accesskey="&flashCopyLocation.accesskey;"
 
30
              initlabel="&flashCopyLocation.label;:"
 
31
              insertafter="context-stop"
 
32
              oncommand="Flashblock.copyLocation();"/>
 
33
    <menuitem id="context-flashAllow"
 
34
              type="checkbox"
 
35
              label="&flashAllow.label;"
 
36
              accesskey="&flashAllow.accesskey;"
 
37
              insertafter="context-stop"
 
38
              oncommand="Flashblock.toggleSiteWhitelisted();"/>
 
39
  </popup>
 
40
 
 
41
  <!-- Firefox toolbar button overlay -->
 
42
  <toolbarpalette id="BrowserToolbarPalette">
 
43
    <toolbarbutton
 
44
      id="flashblockToggle-button"
 
45
      class="toolbarbutton-1 chromeclass-toolbar-additional"
 
46
      type="menu-button"
 
47
      label="&general.label;"
 
48
      tooltiptext="&btnToggle.tooltip;"
 
49
      oncommand="Flashblock.toggleButton(event);event.stopPropagation();"
 
50
      state="enabled">
 
51
      <menupopup id="flashblockPopupMenu"/>
 
52
    </toolbarbutton>
 
53
  </toolbarpalette>
 
54
 
 
55
  <!-- Common popup menu for buttons -->
 
56
  <menupopup id="flashblockPopupMenu"
 
57
             onpopupshowing="Flashblock.checkWhitelistToggle();
 
58
                             Flashblock.fixParentTip('hide', this.parentNode);"
 
59
             onpopuphiding ="Flashblock.fixParentTip('show', this.parentNode);">
 
60
    <menuitem id="buttonmenu-flashblockAllow"
 
61
              type="checkbox"
 
62
              label="&flashAllow.label;"
 
63
              accesskey="&flashAllow.accesskey;"
 
64
              oncommand="Flashblock.toggleSiteWhitelisted();
 
65
                         event.stopPropagation();"/>
 
66
    <menuitem id="buttonmenu-flashblockOptions"
 
67
              label="&flashWhitelist.label;"
 
68
              accesskey="&flashWhitelist.accesskey;"
 
69
              oncommand="Flashblock.showOptions(); event.stopPropagation();"/>
 
70
  </menupopup>
 
71
 
 
72
  <popupset id="mainPopupSet">
 
73
    <tooltip id="flashblockDefaultTooltip" label="" hidden="true">
 
74
    </tooltip>
 
75
  </popupset>
 
76
 
 
77
</overlay>