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.

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

mercurial