~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/content/ibutton.xml

  • 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
1
<?xml version="1.0"?>
2
 
<!--
3
 
   - CookieKeeper - a Mozilla add-on
4
 
   - (c) 2013-2016 Yvon TANGUY
5
 
   -
6
 
   - ==================================================================
7
 
   - This Source Code Form is subject to the terms of the Mozilla Public
 
2
<!-- This Source Code Form is subject to the terms of the Mozilla Public
8
3
   - License, v. 2.0. If a copy of the MPL was not distributed with this
9
4
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
10
5
 
20
15
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
21
16
   xmlns:xbl="http://www.mozilla.org/xbl">
22
17
 
 
18
  <binding id="ibutton" display="xul:button"
 
19
           extends="chrome://global/content/bindings/button.xml#button-base">
 
20
    <resources>
 
21
      <stylesheet src="chrome://cookiekeeper/skin/ibutton.css" />
 
22
    </resources>
 
23
 
 
24
    <content>
 
25
      <children includes="observes|template|menupopup|panel|tooltip"/>
 
26
      <xul:hbox class="box-inherit ibutton-box" xbl:inherits="align,dir,pack,orient"
 
27
                align="center" pack="center" flex="1" anonid="ibutton-box">
 
28
        <children>
 
29
          <xul:image class="ibutton-icon" xbl:inherits="src=image"/>
 
30
          <xul:label class="ibutton-text" xbl:inherits="value=label,accesskey,crop"/>
 
31
        </children>
 
32
      </xul:hbox>
 
33
    </content>
 
34
 
 
35
  </binding>
 
36
 
23
37
  <binding id="ibuttonicon" display="xul:button"
24
38
           extends="chrome://global/content/bindings/button.xml#button-base">
25
39
    <resources>
33
47
 
34
48
  </binding>
35
49
 
36
 
  <binding id="ibuttoniconmenu" display="xul:menu"
 
50
  <binding id="ibuttonmenu" display="xul:menu"
37
51
           extends="chrome://global/content/bindings/button.xml#button-base">
38
52
    <resources>
39
53
      <stylesheet src="chrome://cookiekeeper/skin/ibutton.css" />
41
55
 
42
56
    <content>
43
57
      <children includes="observes|template|menupopup|panel|tooltip"/>
44
 
      <xul:image class="ibuttoniconmenu-icon" xbl:inherits="src=image,open,disabled,label"/>
 
58
      <xul:hbox class="box-inherit ibuttonmenu-box" xbl:inherits="align,dir,pack,orient"
 
59
                align="center" pack="center" flex="1" anonid="ibuttonmenu-box">
 
60
        <children>
 
61
          <xul:image class="ibuttonmenu-icon" xbl:inherits="src=image"/>
 
62
          <xul:label class="ibuttonmenu-text" crop="right" xbl:inherits="value=label,accesskey,crop"/>
 
63
          <xul:image type="menu" class="ibuttonmenu-dropmarker" xbl:inherits="open,disabled,label"/>
 
64
        </children>
 
65
      </xul:hbox>
45
66
    </content>
46
67
 
47
68
    <handlers>