File: addon.xbl

package info (click to toggle)
stylish 1.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,156 kB
  • ctags: 334
  • sloc: makefile: 19
file content (24 lines) | stat: -rw-r--r-- 813 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<!DOCTYPE bindings [
	<!ENTITY % commonDTD SYSTEM "chrome://stylish/locale/common.dtd">
	%commonDTD;
]>

<bindings xmlns="http://www.mozilla.org/xbl" xmlns:xbl="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
	<binding id="addon-item" extends="chrome://mozapps/content/extensions/extensions.xml#addon-generic">
		<implementation>
			<method name="openEdit">
				<body>
					stylishCommon.openEditForId(this.mAddon.id);
				</body>
			</method>
		</implementation>
	</binding>
	<binding id="addon-buttons">
		<content>
			<xul:button label="&editstyle;" class="addon-control" oncommand="document.getBindingParent(document.getBindingParent(this)).openEdit();"/>
			<xbl:children/>
		</content>
		<implementation/>
	</binding>
</bindings>