mobile/android/chrome/content/bindings/settings.xml

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 <?xml version="1.0"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6
michael@0 7 <bindings
michael@0 8 xmlns="http://www.mozilla.org/xbl"
michael@0 9 xmlns:xbl="http://www.mozilla.org/xbl"
michael@0 10 xmlns:html="http://www.w3.org/1999/xhtml"
michael@0 11 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
michael@0 12
michael@0 13 <binding id="setting-fulltoggle-bool" extends="chrome://mozapps/content/extensions/setting.xml#setting-bool">
michael@0 14 <handlers>
michael@0 15 <handler event="command" button="0" phase="capturing">
michael@0 16 <![CDATA[
michael@0 17 event.stopPropagation();
michael@0 18 ]]>
michael@0 19 </handler>
michael@0 20 <handler event="click" button="0" phase="capturing">
michael@0 21 <![CDATA[
michael@0 22 event.stopPropagation();
michael@0 23 this.input.checked = !this.input.checked;
michael@0 24 this.inputChanged();
michael@0 25 this.fireEvent("oncommand");
michael@0 26 ]]>
michael@0 27 </handler>
michael@0 28 </handlers>
michael@0 29 </binding>
michael@0 30
michael@0 31 <binding id="setting-fulltoggle-boolint" extends="chrome://mozapps/content/extensions/setting.xml#setting-boolint">
michael@0 32 <handlers>
michael@0 33 <handler event="command" button="0" phase="capturing">
michael@0 34 <![CDATA[
michael@0 35 event.stopPropagation();
michael@0 36 ]]>
michael@0 37 </handler>
michael@0 38 <handler event="click" button="0" phase="capturing">
michael@0 39 <![CDATA[
michael@0 40 event.stopPropagation();
michael@0 41 this.input.checked = !this.input.checked;
michael@0 42 this.inputChanged();
michael@0 43 this.fireEvent("oncommand");
michael@0 44 ]]>
michael@0 45 </handler>
michael@0 46 </handlers>
michael@0 47 </binding>
michael@0 48
michael@0 49 <binding id="setting-fulltoggle-localized-bool" extends="chrome://mozapps/content/extensions/setting.xml#setting-localized-bool">
michael@0 50 <handlers>
michael@0 51 <handler event="command" button="0" phase="capturing">
michael@0 52 <![CDATA[
michael@0 53 event.stopPropagation();
michael@0 54 ]]>
michael@0 55 </handler>
michael@0 56 <handler event="click" button="0" phase="capturing">
michael@0 57 <![CDATA[
michael@0 58 event.stopPropagation();
michael@0 59 this.input.checked = !this.input.checked;
michael@0 60 this.inputChanged();
michael@0 61 this.fireEvent("oncommand");
michael@0 62 ]]>
michael@0 63 </handler>
michael@0 64 </handlers>
michael@0 65 </binding>
michael@0 66 </bindings>

mercurial