[Pkg-mozext-commits] [firegestures] 04/08: Imported Upstream version 1.8.7

David Prévot taffit at moszumanska.debian.org
Tue Jul 1 18:12:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository firegestures.

commit 481eaff669a3d66a3e53457e3e020cfc57920dc2
Merge: 147d4a0 c527fcb
Author: David Prévot <taffit at debian.org>
Date:   Tue Jul 1 13:19:50 2014 -0400

    Imported Upstream version 1.8.7

 LICENSE.txt                                   | 114 ++---
 chrome/content/firegestures/browser.js        |   2 +
 chrome/content/firegestures/edit.xul          |  94 ++--
 chrome/content/firegestures/prefs-generic.xul | 362 +++++++-------
 chrome/content/firegestures/prefs.xul         | 688 +++++++++++++-------------
 chrome/content/firegestures/selectDialog.xul  |  34 +-
 chrome/content/firegestures/viewSource.rdf    | 312 ++++++------
 chrome/content/firegestures/viewSource.xul    |  16 +-
 chrome/skin/classic/firegestures/prefs.css    | 114 ++---
 install.rdf                                   |   4 +-
 10 files changed, 871 insertions(+), 869 deletions(-)

diff --cc LICENSE.txt
index 0d11bab,0d11bab..2fd3e4d
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@@ -1,57 -1,57 +1,57 @@@
--/* ***** BEGIN LICENSE BLOCK *****
-- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
-- *
-- * The contents of this file are subject to the Mozilla Public License Version
-- * 1.1 (the "License"); you may not use this file except in compliance with
-- * the License. You may obtain a copy of the License at
-- * http://www.mozilla.org/MPL/
-- *
-- * Software distributed under the License is distributed on an "AS IS" basis,
-- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-- * for the specific language governing rights and limitations under the
-- * License.
-- *
-- * The Original Code is FireGestures.
-- *
-- * The Initial Developer of the Original Code is Gomita <gomita at xuldev.org>.
-- * Portions created by the Initial Developer are Copyright (C) 2014
-- * the Initial Developer. All Rights Reserved.
-- *
-- * Contributor(s):
-- *
-- *     The Mouse Trails part in "xdGestureHandler.js" is derived from 
-- *     Optimoz Mouse Gestures extension.
-- *
-- *     The Original Code is Mouse Gesture for Mozilla.
-- *
-- *     The Initial Developer of the Original Code is Jens Bannmann.
-- *     Portions created by the Initial Developer are Copyright (C) 2003
-- *     the Initial Developer. All Rights Reserved.
-- *
-- *     Contributor(s):
-- *         Jens Bannmann <jens.b at web.de>
-- *         Jochen <bugs at krickelkrackel.de>
-- *         Mike Kozlowski <mozdev at klio.org>
-- *
-- *     Some parts in "xdGestureHandler.js" is derived from 
-- *     All-in-One Gestures extension.
-- *
-- *     The Original Code is the "All-in-One Gestures" extension for Phoenix.
-- *
-- *     The Initial Developer of the Original Code is Marc Boullet <boullet.marc at orange.fr>
-- *     Portions created by Marc Boullet are Copyright (C) 2003, 
-- *     Marc Boullet. All Rights Reserved.
-- *
-- * Alternatively, the contents of this file may be used under the terms of
-- * either the GNU General Public License Version 2 or later (the "GPL"), or
-- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-- * in which case the provisions of the GPL or the LGPL are applicable instead
-- * of those above. If you wish to allow use of your version of this file only
-- * under the terms of either the GPL or the LGPL, and not to allow others to
-- * use your version of this file under the terms of the MPL, indicate your
-- * decision by deleting the provisions above and replace them with the notice
-- * and other provisions required by the GPL or the LGPL. If you do not delete
-- * the provisions above, a recipient may use your version of this file under
-- * the terms of any one of the MPL, the GPL or the LGPL.
-- *
-- * ***** END LICENSE BLOCK ***** */
++/* ***** BEGIN LICENSE BLOCK *****
++ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
++ *
++ * The contents of this file are subject to the Mozilla Public License Version
++ * 1.1 (the "License"); you may not use this file except in compliance with
++ * the License. You may obtain a copy of the License at
++ * http://www.mozilla.org/MPL/
++ *
++ * Software distributed under the License is distributed on an "AS IS" basis,
++ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
++ * for the specific language governing rights and limitations under the
++ * License.
++ *
++ * The Original Code is FireGestures.
++ *
++ * The Initial Developer of the Original Code is Gomita <gomita at xuldev.org>.
++ * Portions created by the Initial Developer are Copyright (C) 2014
++ * the Initial Developer. All Rights Reserved.
++ *
++ * Contributor(s):
++ *
++ *     The Mouse Trails part in "xdGestureHandler.js" is derived from 
++ *     Optimoz Mouse Gestures extension.
++ *
++ *     The Original Code is Mouse Gesture for Mozilla.
++ *
++ *     The Initial Developer of the Original Code is Jens Bannmann.
++ *     Portions created by the Initial Developer are Copyright (C) 2003
++ *     the Initial Developer. All Rights Reserved.
++ *
++ *     Contributor(s):
++ *         Jens Bannmann <jens.b at web.de>
++ *         Jochen <bugs at krickelkrackel.de>
++ *         Mike Kozlowski <mozdev at klio.org>
++ *
++ *     Some parts in "xdGestureHandler.js" is derived from 
++ *     All-in-One Gestures extension.
++ *
++ *     The Original Code is the "All-in-One Gestures" extension for Phoenix.
++ *
++ *     The Initial Developer of the Original Code is Marc Boullet <boullet.marc at orange.fr>
++ *     Portions created by Marc Boullet are Copyright (C) 2003, 
++ *     Marc Boullet. All Rights Reserved.
++ *
++ * Alternatively, the contents of this file may be used under the terms of
++ * either the GNU General Public License Version 2 or later (the "GPL"), or
++ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
++ * in which case the provisions of the GPL or the LGPL are applicable instead
++ * of those above. If you wish to allow use of your version of this file only
++ * under the terms of either the GPL or the LGPL, and not to allow others to
++ * use your version of this file under the terms of the MPL, indicate your
++ * decision by deleting the provisions above and replace them with the notice
++ * and other provisions required by the GPL or the LGPL. If you do not delete
++ * the provisions above, a recipient may use your version of this file under
++ * the terms of any one of the MPL, the GPL or the LGPL.
++ *
++ * ***** END LICENSE BLOCK ***** */
diff --cc chrome/content/firegestures/browser.js
index 3d89cee,1ada106..2d2b5cd
mode 100755,100644..100755
--- a/chrome/content/firegestures/browser.js
+++ b/chrome/content/firegestures/browser.js
diff --cc chrome/content/firegestures/edit.xul
index d594a1e,d594a1e..1d5e009
--- a/chrome/content/firegestures/edit.xul
+++ b/chrome/content/firegestures/edit.xul
@@@ -1,47 -1,47 +1,47 @@@
--<?xml version="1.0"?>
--
--<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
--
--<!DOCTYPE dialog SYSTEM "chrome://firegestures/locale/prefs.dtd">
--
--<dialog id="EditUI"
--        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
--        title="FireGestures - &editButton.label;"
--        buttons="accept,cancel"
--        onload="EditUI.init();"
--        onunload="EditUI.uninit();"
--        ondialogaccept="return EditUI.accept();">
--
--	<script type="application/x-javascript" src="chrome://firegestures/content/edit.js" />
--
--	<grid flex="1">
--		<columns>
--			<column />
--			<column flex="1" />
--		</columns>
--		<rows>
--			<row align="center">
--				<label value="&treecol.name;:" />
--				<textbox id="gestureName" />
--			</row>
--			<row align="center">
--				<label value="&treecol.command;:" />
--				<textbox id="gestureCommand" readonly="true" />
--			</row>
--			<row flex="1">
--				<label value="&treecol.script;:" style="margin-top: 6px;" />
--				<textbox id="gestureScript" multiline="true" rows="8" wrap="off"
--				         style="font-family: monospace; font-size: 10pt;" flex="1" />
--			</row>
--			<row align="center">
--				<label value="&treecol.gesture;:" />
--				<textbox id="gestureDirection"
--				         oninput="this.value = this.value.toUpperCase();" />
--			</row>
--		</rows>
--	</grid>
--
--	<browser id="drawArea" src="about:blank"
--	         style="width: 360px; height: 240px; border: 1px solid black; margin-top: 8px; overflow: hidden;" />
--
--</dialog>
++<?xml version="1.0"?>
++
++<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
++
++<!DOCTYPE dialog SYSTEM "chrome://firegestures/locale/prefs.dtd">
++
++<dialog id="EditUI"
++        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
++        title="FireGestures - &editButton.label;"
++        buttons="accept,cancel"
++        onload="EditUI.init();"
++        onunload="EditUI.uninit();"
++        ondialogaccept="return EditUI.accept();">
++
++	<script type="application/x-javascript" src="chrome://firegestures/content/edit.js" />
++
++	<grid flex="1">
++		<columns>
++			<column />
++			<column flex="1" />
++		</columns>
++		<rows>
++			<row align="center">
++				<label value="&treecol.name;:" />
++				<textbox id="gestureName" />
++			</row>
++			<row align="center">
++				<label value="&treecol.command;:" />
++				<textbox id="gestureCommand" readonly="true" />
++			</row>
++			<row flex="1">
++				<label value="&treecol.script;:" style="margin-top: 6px;" />
++				<textbox id="gestureScript" multiline="true" rows="8" wrap="off"
++				         style="font-family: monospace; font-size: 10pt;" flex="1" />
++			</row>
++			<row align="center">
++				<label value="&treecol.gesture;:" />
++				<textbox id="gestureDirection"
++				         oninput="this.value = this.value.toUpperCase();" />
++			</row>
++		</rows>
++	</grid>
++
++	<browser id="drawArea" src="about:blank"
++	         style="width: 360px; height: 240px; border: 1px solid black; margin-top: 8px; overflow: hidden;" />
++
++</dialog>
diff --cc chrome/content/firegestures/prefs-generic.xul
index 349a855,349a855..f37677a
--- a/chrome/content/firegestures/prefs-generic.xul
+++ b/chrome/content/firegestures/prefs-generic.xul
@@@ -1,181 -1,181 +1,181 @@@
--<?xml version="1.0"?>
--
--<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
--<?xml-stylesheet href="chrome://firegestures/skin/prefs.css" type="text/css"?>
--
--<!DOCTYPE prefwindow SYSTEM "chrome://firegestures/locale/prefs.dtd">
--
--<prefwindow id="PrefsUI"
--            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
--            title="FireGestures - &options;"
--            buttons="accept,cancel"
--            onload="PrefsUI.init();"
--            ondialogcancel="if (!document.documentElement.instantApply) gShouldCommit = false;"
--            onunload="PrefsUI.done();">
--
--	<prefpane id="mappingPane" label="&mappingPane;" flex="1">
--		<commandset id="mappingCommandSet" oncommand="PrefsUI.doCommand(event.target.id);">
--			<command id="cmd_edit_gesture" />
--			<command id="cmd_clear_gesture" />
--			<!-- dummy -->
--			<command id="cmd_delete_script" />
--		</commandset>
--		<tree id="mappingTree"
--		      onselect="PrefsUI.updateCommands();"
--		      ondblclick="PrefsUI.handleTreeEvent(event);"
--		      onkeypress="PrefsUI.handleTreeEvent(event);" rows="14" flex="1">
--			<treecols>
--				<treecol label="&treecol.name;" flex="5" primary="true" />
--				<splitter class="tree-splitter" />
--				<treecol label="&treecol.command;" flex="3" hidden="true" />
--				<splitter class="tree-splitter" />
--				<treecol label="&treecol.gesture;" flex="1" />
--			</treecols>
--			<treechildren flex="1" />
--		</tree>
--		<hbox id="mappingButtons" align="start">
--			<button label="&editButton.label;..."
--			        accesskey="&editButton.accesskey;"
--			        command="cmd_edit_gesture" />
--			<button label="&clearButton.label;"
--			        accesskey="&clearButton.accesskey;"
--			        command="cmd_clear_gesture" />
--		</hbox>
--	</prefpane>
--
--	<prefpane id="advancedPane" label="&advancedPane;" flex="1">
--		<!-- dummy -->
--		<preferences>
--			<preference id="pref:triggerbutton" name="extensions.firegestures.trigger_button" type="int" />
--			<preference id="pref:wheelgesture"  name="extensions.firegestures.wheelgesture"   type="bool" />
--			<preference id="pref:rockergesture" name="extensions.firegestures.rockergesture"  type="bool" />
--		</preferences>
--		<groupbox uigroup="wheelgesture">
--			<!-- dummy -->
--			<textbox hidden="true"
--			         preference="pref:triggerbutton"
--			         onsyncfrompreference="PrefsUI.updateTriggerButton();" />
--			<checkbox id="wheelgesture" hidden="true"
--			          preference="pref:wheelgesture"
--			          onsyncfrompreference="PrefsUI.updateUIGroup('wheelgesture');" />
--			<caption label="&wheelGesture;" />
--			<grid>
--				<columns>
--					<column />
--					<column />
--				</columns>
--				<rows>
--					<row align="center">
--						<label id="wheelUpLabel"
--						       value0="&wheelGesture.up.left;:"
--						       value1="&wheelGesture.up.middle;:"
--						       value2="&wheelGesture.up.right;:" />
--						<menulist id="wheelGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label id="wheelDownLabel"
--						       value0="&wheelGesture.down.left;:"
--						       value1="&wheelGesture.down.middle;:"
--						       value2="&wheelGesture.down.right;:" />
--						<menulist id="wheelGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--				</rows>
--			</grid>
--		</groupbox>
--		<groupbox uigroup="rockergesture">
--			<!-- dummy -->
--			<checkbox id="rockergesture" hidden="true"
--			          preference="pref:rockergesture"
--			          onsyncfrompreference="PrefsUI.updateUIGroup('rockergesture');" />
--			<caption label="&rockerGesture;" />
--			<grid>
--				<columns>
--					<column />
--					<column />
--				</columns>
--				<rows>
--					<row align="center">
--						<label value="&rockerGesture.left;:" />
--						<menulist id="rockerGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&rockerGesture.right;:" />
--						<menulist id="rockerGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--				</rows>
--			</grid>
--		</groupbox>
--		<box hidden="true">
--			<menuitem id="separatorTemplate" disabled="true">
--				<label />
--				<menuseparator flex="1" />
--			</menuitem>
--		</box>
--		<!-- dummy -->
--		<menulist id="keypressGestureC" hidden="true" />
--		<menulist id="keypressGestureS" hidden="true" />
--	</prefpane>
--
--	<prefpane id="swipePane" label="&swipePane;" flex="1">
--		<preferences>
--			<preference id="pref:swipegesture" name="extensions.firegestures.swipegesture"  type="bool" />
--			<preference id="pref:swipetimeout" name="extensions.firegestures.swipe_timeout" type="int" />
--		</preferences>
--		<groupbox uigroup="swipegesture">
--			<!-- dummy -->
--			<checkbox id="swipegesture" hidden="true"
--			          preference="pref:swipegesture"
--			          onsyncfrompreference="PrefsUI.updateSwipeGestureUIGroup();" />
--			<caption label="&swipe;" />
--			<grid>
--				<columns>
--					<column />
--					<column />
--				</columns>
--				<rows>
--					<row align="center">
--						<label value="&swipe.left;:" />
--						<menulist id="swipeGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&swipe.right;:" />
--						<menulist id="swipeGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&swipe.up;:" />
--						<menulist id="swipeGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&swipe.down;:" />
--						<menulist id="swipeGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--				</rows>
--			</grid>
--			<!-- dummy -->
--			<textbox id="swipetimeout" hidden="true"
--			         preference="pref:swipetimeout"
--			         onsyncfrompreference="return PrefsUI.updateSwipeGestureUIGroup();" />
--		</groupbox>
--	</prefpane>
--
--	<script type="application/x-javascript" src="chrome://firegestures/content/prefs.js" />
--
--	<stringbundle id="bundleMain" src="chrome://firegestures/locale/firegestures.properties" />
--
--</prefwindow>
++<?xml version="1.0"?>
++
++<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
++<?xml-stylesheet href="chrome://firegestures/skin/prefs.css" type="text/css"?>
++
++<!DOCTYPE prefwindow SYSTEM "chrome://firegestures/locale/prefs.dtd">
++
++<prefwindow id="PrefsUI"
++            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
++            title="FireGestures - &options;"
++            buttons="accept,cancel"
++            onload="PrefsUI.init();"
++            ondialogcancel="if (!document.documentElement.instantApply) gShouldCommit = false;"
++            onunload="PrefsUI.done();">
++
++	<prefpane id="mappingPane" label="&mappingPane;" flex="1">
++		<commandset id="mappingCommandSet" oncommand="PrefsUI.doCommand(event.target.id);">
++			<command id="cmd_edit_gesture" />
++			<command id="cmd_clear_gesture" />
++			<!-- dummy -->
++			<command id="cmd_delete_script" />
++		</commandset>
++		<tree id="mappingTree"
++		      onselect="PrefsUI.updateCommands();"
++		      ondblclick="PrefsUI.handleTreeEvent(event);"
++		      onkeypress="PrefsUI.handleTreeEvent(event);" rows="14" flex="1">
++			<treecols>
++				<treecol label="&treecol.name;" flex="5" primary="true" />
++				<splitter class="tree-splitter" />
++				<treecol label="&treecol.command;" flex="3" hidden="true" />
++				<splitter class="tree-splitter" />
++				<treecol label="&treecol.gesture;" flex="1" />
++			</treecols>
++			<treechildren flex="1" />
++		</tree>
++		<hbox id="mappingButtons" align="start">
++			<button label="&editButton.label;..."
++			        accesskey="&editButton.accesskey;"
++			        command="cmd_edit_gesture" />
++			<button label="&clearButton.label;"
++			        accesskey="&clearButton.accesskey;"
++			        command="cmd_clear_gesture" />
++		</hbox>
++	</prefpane>
++
++	<prefpane id="advancedPane" label="&advancedPane;" flex="1">
++		<!-- dummy -->
++		<preferences>
++			<preference id="pref:triggerbutton" name="extensions.firegestures.trigger_button" type="int" />
++			<preference id="pref:wheelgesture"  name="extensions.firegestures.wheelgesture"   type="bool" />
++			<preference id="pref:rockergesture" name="extensions.firegestures.rockergesture"  type="bool" />
++		</preferences>
++		<groupbox uigroup="wheelgesture">
++			<!-- dummy -->
++			<textbox hidden="true"
++			         preference="pref:triggerbutton"
++			         onsyncfrompreference="PrefsUI.updateTriggerButton();" />
++			<checkbox id="wheelgesture" hidden="true"
++			          preference="pref:wheelgesture"
++			          onsyncfrompreference="PrefsUI.updateUIGroup('wheelgesture');" />
++			<caption label="&wheelGesture;" />
++			<grid>
++				<columns>
++					<column />
++					<column />
++				</columns>
++				<rows>
++					<row align="center">
++						<label id="wheelUpLabel"
++						       value0="&wheelGesture.up.left;:"
++						       value1="&wheelGesture.up.middle;:"
++						       value2="&wheelGesture.up.right;:" />
++						<menulist id="wheelGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label id="wheelDownLabel"
++						       value0="&wheelGesture.down.left;:"
++						       value1="&wheelGesture.down.middle;:"
++						       value2="&wheelGesture.down.right;:" />
++						<menulist id="wheelGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++				</rows>
++			</grid>
++		</groupbox>
++		<groupbox uigroup="rockergesture">
++			<!-- dummy -->
++			<checkbox id="rockergesture" hidden="true"
++			          preference="pref:rockergesture"
++			          onsyncfrompreference="PrefsUI.updateUIGroup('rockergesture');" />
++			<caption label="&rockerGesture;" />
++			<grid>
++				<columns>
++					<column />
++					<column />
++				</columns>
++				<rows>
++					<row align="center">
++						<label value="&rockerGesture.left;:" />
++						<menulist id="rockerGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&rockerGesture.right;:" />
++						<menulist id="rockerGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++				</rows>
++			</grid>
++		</groupbox>
++		<box hidden="true">
++			<menuitem id="separatorTemplate" disabled="true">
++				<label />
++				<menuseparator flex="1" />
++			</menuitem>
++		</box>
++		<!-- dummy -->
++		<menulist id="keypressGestureC" hidden="true" />
++		<menulist id="keypressGestureS" hidden="true" />
++	</prefpane>
++
++	<prefpane id="swipePane" label="&swipePane;" flex="1">
++		<preferences>
++			<preference id="pref:swipegesture" name="extensions.firegestures.swipegesture"  type="bool" />
++			<preference id="pref:swipetimeout" name="extensions.firegestures.swipe_timeout" type="int" />
++		</preferences>
++		<groupbox uigroup="swipegesture">
++			<!-- dummy -->
++			<checkbox id="swipegesture" hidden="true"
++			          preference="pref:swipegesture"
++			          onsyncfrompreference="PrefsUI.updateSwipeGestureUIGroup();" />
++			<caption label="&swipe;" />
++			<grid>
++				<columns>
++					<column />
++					<column />
++				</columns>
++				<rows>
++					<row align="center">
++						<label value="&swipe.left;:" />
++						<menulist id="swipeGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&swipe.right;:" />
++						<menulist id="swipeGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&swipe.up;:" />
++						<menulist id="swipeGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&swipe.down;:" />
++						<menulist id="swipeGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++				</rows>
++			</grid>
++			<!-- dummy -->
++			<textbox id="swipetimeout" hidden="true"
++			         preference="pref:swipetimeout"
++			         onsyncfrompreference="return PrefsUI.updateSwipeGestureUIGroup();" />
++		</groupbox>
++	</prefpane>
++
++	<script type="application/x-javascript" src="chrome://firegestures/content/prefs.js" />
++
++	<stringbundle id="bundleMain" src="chrome://firegestures/locale/firegestures.properties" />
++
++</prefwindow>
diff --cc chrome/content/firegestures/prefs.xul
index 074539e,074539e..f8abd21
--- a/chrome/content/firegestures/prefs.xul
+++ b/chrome/content/firegestures/prefs.xul
@@@ -1,344 -1,344 +1,344 @@@
--<?xml version="1.0"?>
--
--<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
--<?xml-stylesheet href="chrome://firegestures/skin/prefs.css" type="text/css"?>
--
--<!DOCTYPE prefwindow SYSTEM "chrome://firegestures/locale/prefs.dtd">
--
--<prefwindow id="PrefsUI"
--            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
--            windowtype="FireGestures:Options"
--            title="FireGestures - &options;"
--            onload="PrefsUI.init();"
--            ondialogcancel="if (!document.documentElement.instantApply) gShouldCommit = false;"
--            onunload="PrefsUI.done();">
--
--	<prefpane id="mainPane" label="&mainPane;" flex="1">
--		<preferences>
--			<preference id="pref:mousegesture"  name="extensions.firegestures.mousegesture"     type="bool" />
--			<preference id="pref:triggerbutton" name="extensions.firegestures.trigger_button"   type="int" />
--			<preference id="pref:suppressalt"   name="extensions.firegestures.suppress.alt"     type="bool" />
--			<preference id="pref:trail"         name="extensions.firegestures.mousetrail"       type="bool" />
--			<preference id="pref:trailsize"     name="extensions.firegestures.mousetrail.size"  type="int" />
--			<preference id="pref:trailcolor"    name="extensions.firegestures.mousetrail.color" type="string" />
--			<preference id="pref:status"        name="extensions.firegestures.status_display"   type="int" />
--			<preference id="pref:timeout"       name="extensions.firegestures.gesture_timeout"  type="int" />
--		</preferences>
--		<groupbox uigroup="mousegesture">
--			<caption>
--				<checkbox id="mousegesture" label="&mouseGesture;"
--				          preference="pref:mousegesture"
--				          onsyncfrompreference="PrefsUI.updateMouseGestureUIGroup();" />
--			</caption>
--			<hbox align="center">
--				<label value="&triggerButton;:" />
--				<radiogroup orient="horizontal"
--				            preference="pref:triggerbutton"
--				            onsyncfrompreference="PrefsUI.updateTriggerButton();">
--					<radio value="0" label="&triggerButton.left;" />
--					<radio value="1" label="&triggerButton.middle;" />
--					<radio value="2" label="&triggerButton.right;" />
--				</radiogroup>
--			</hbox>
--			<checkbox label="&suppress.alt;" class="indent"
--			          preference="pref:suppressalt" />
--			<checkbox id="trail" label="&trail;"
--			          preference="pref:trail"
--			          onsyncfrompreference="PrefsUI.updateMouseGestureUIGroup();" />
--			<hbox align="center" class="indent" uigroup="trail">
--				<label value="&trail.color;:" />
--				<colorpicker id="trailColor" type="button"
--				             preference="pref:trailcolor"
--				             onchange="PrefsUI.updateTrail();" />
--				<spacer width="20" />
--				<label value="&trail.size;:" />
--				<hbox id="trailSampleOuter"><hbox id="trailSample" /></hbox>
--				<spinbuttons id="trailButtons"
--				             onup="PrefsUI.changeTrailSize(+1);"
--				             ondown="PrefsUI.changeTrailSize(-1);" />
--			</hbox>
--			<checkbox id="status" label="&status;"
--			          preference="pref:status"
--			          onsyncfrompreference="return PrefsUI.updateMouseGestureUIGroup();"
--			          onsynctopreference="return this.checked ? getElement('pref:status').defaultValue : 0;" />
--			<hbox align="center" class="indent" uigroup="status">
--				<label value="&status.description.1;" />
--				<textbox type="number" min="0" max="10" increment="0.1" decimalplaces="1" size="3"
--				         preference="pref:status"
--				         onsyncfrompreference="return getElement('pref:status').value / 1000;"
--				         onsynctopreference="return this.value * 1000;" />
--				<label value="&status.description.2;" />
--			</hbox>
--			<checkbox id="timeout" label="&timeout;"
--			          preference="pref:timeout"
--			          onsyncfrompreference="return PrefsUI.updateMouseGestureUIGroup();"
--			          onsynctopreference="return this.checked ? getElement('pref:timeout').defaultValue : 0;" />
--			<hbox align="center" class="indent" uigroup="timeout">
--				<label value="&timeout.description.1;" />
--				<textbox type="number" min="0" max="10" increment="0.1" decimalplaces="1" size="3"
--				         preference="pref:timeout"
--				         onsyncfrompreference="return getElement('pref:timeout').value / 1000;"
--				         onsynctopreference="return this.value * 1000;" />
--				<label value="&timeout.description.2;" />
--			</hbox>
--		</groupbox>
--		<groupbox>
--			<caption label="&mappings.title;" />
--			<hbox align="center">
--				<label value="&mappings.description;" />
--				<spacer flex="1" />
--				<button type="menu" label="&mappings.title;">
--					<menupopup onpopupshowing="PrefsUI.generateMappingsMenu(event);"
--					           oncommand="PrefsUI._gestureSvc.getMapping(event.target.id).configure();" />
--				</button>
--			</hbox>
--		</groupbox>
--		<groupbox>
--			<caption label="&tools.title;" />
--			<hbox align="center">
--				<label value="&tools.description;" />
--				<spacer flex="1" />
--				<button type="menu" label="&tools.title;">
--					<menupopup>
--						<menuitem label="&tools.backup.label;..." title="&tools.backup.label;"
--						          oncommand="PrefsUI.backupMappings(this);" />
--						<menuitem label="&tools.restore.label;..." title="&tools.restore.label;"
--						          alerttext="&tools.restore.alerttext;"
--						          oncommand="PrefsUI.restoreMappings(this);" />
--					</menupopup>
--				</button>
--			</hbox>
--		</groupbox>
--	</prefpane>
--
--	<prefpane id="mappingPane" label="&mappingPane;" flex="1">
--		<commandset id="mappingCommandSet" oncommand="PrefsUI.doCommand(event.target.id);">
--			<command id="cmd_edit_gesture" />
--			<command id="cmd_clear_gesture" />
--			<command id="cmd_add_script" />
--			<command id="cmd_delete_script" />
--		</commandset>
--		<tree id="mappingTree"
--		      onselect="PrefsUI.updateCommands();"
--		      ondblclick="PrefsUI.handleTreeEvent(event);"
--		      onkeypress="PrefsUI.handleTreeEvent(event);"
--		      rows="16" flex="1">
--			<treecols>
--				<treecol label="&treecol.name;" flex="5" primary="true" />
--				<splitter class="tree-splitter" />
--				<treecol label="&treecol.command;" flex="3" hidden="true" />
--				<splitter class="tree-splitter" />
--				<treecol label="&treecol.gesture;" flex="1" />
--			</treecols>
--			<treechildren flex="1"
--			              ondragstart="PrefsUI.handleTreeEvent(event);"
--			              ondragenter="PrefsUI.handleTreeEvent(event);"
--			              ondragover="PrefsUI.handleTreeEvent(event);"
--			              ondrop="PrefsUI.handleTreeEvent(event);" />
--		</tree>
--		<hbox id="mappingButtons" align="start">
--			<button label="&editButton.label;..."
--			        accesskey="&editButton.accesskey;"
--			        command="cmd_edit_gesture" />
--			<button label="&clearButton.label;"
--			        accesskey="&clearButton.accesskey;"
--			        command="cmd_clear_gesture" />
--			<button label="&addScriptButton.label;..."
--			        accesskey="&addScriptButton.accesskey;"
--			        command="cmd_add_script" />
--			<button label="&deleteScriptButton.label;"
--			        accesskey="&deleteScriptButton.accesskey;"
--			        command="cmd_delete_script" />
--		</hbox>
--		<label id="getScripts" value="&getScripts.label;" class="text-link" style="margin-bottom: 10px;"
--			   onclick="PrefsUI.openURL('http://www.xuldev.org/firegestures/getscripts.php');" />
--	</prefpane>
--
--	<prefpane id="advancedPane" label="&advancedPane;" flex="1">
--		<preferences>
--			<preference id="pref:wheelgesture"    name="extensions.firegestures.wheelgesture"    type="bool" />
--			<preference id="pref:rockergesture"   name="extensions.firegestures.rockergesture"   type="bool" />
--			<preference id="pref:keypressgesture" name="extensions.firegestures.keypressgesture" type="bool" />
--			<preference id="pref:tabwheelgesture" name="extensions.firegestures.tabwheelgesture" type="bool" />
--		</preferences>
--		<groupbox uigroup="wheelgesture">
--			<caption>
--				<checkbox id="wheelgesture" label="&wheelGesture;"
--				          preference="pref:wheelgesture"
--				          onsyncfrompreference="PrefsUI.updateUIGroup('wheelgesture');" />
--			</caption>
--			<grid>
--				<columns>
--					<column />
--					<column />
--				</columns>
--				<rows>
--					<row align="center">
--						<label id="wheelUpLabel"
--						       value0="&wheelGesture.up.left;:"
--						       value1="&wheelGesture.up.middle;:"
--						       value2="&wheelGesture.up.right;:" />
--						<menulist id="wheelGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label id="wheelDownLabel"
--						       value0="&wheelGesture.down.left;:"
--						       value1="&wheelGesture.down.middle;:"
--						       value2="&wheelGesture.down.right;:" />
--						<menulist id="wheelGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--				</rows>
--			</grid>
--		</groupbox>
--		<groupbox uigroup="rockergesture">
--			<caption>
--				<checkbox id="rockergesture" label="&rockerGesture;"
--				          preference="pref:rockergesture"
--				          onsyncfrompreference="PrefsUI.updateUIGroup('rockergesture');" />
--			</caption>
--			<grid>
--				<columns>
--					<column />
--					<column />
--				</columns>
--				<rows>
--					<row align="center">
--						<label value="&rockerGesture.left;:" />
--						<menulist id="rockerGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&rockerGesture.right;:" />
--						<menulist id="rockerGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--				</rows>
--			</grid>
--		</groupbox>
--		<groupbox uigroup="keypressgesture">
--			<caption>
--				<checkbox id="keypressgesture" label="&keypressGesture;"
--				          preference="pref:keypressgesture"
--				          onsyncfrompreference="PrefsUI.updateUIGroup('keypressgesture');" />
--			</caption>
--			<grid>
--				<columns>
--					<column />
--					<column />
--				</columns>
--				<rows>
--					<row align="center">
--						<label value="&keypressGesture.ctrl;:" />
--						<menulist id="keypressGestureC" sizetopopup="none"
--						          oncommand="gShouldCommit = true;">
--							<menupopup>
--								<menuitem label="..." />
--								<menuitem label="&keypressGesture.open;" value="FireGestures:OpenHoveredLinks" />
--								<menuitem label="&keypressGesture.save;" value="FireGestures:SaveHoveredLinks" />
--								<menuitem label="&keypressGesture.copy;" value="FireGestures:CopyHoveredLinks" />
--							</menupopup>
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&keypressGesture.shift;:" />
--						<menulist id="keypressGestureS" sizetopopup="none"
--						          oncommand="gShouldCommit = true;">
--							<menupopup>
--								<menuitem label="..." />
--								<menuitem label="&keypressGesture.open;" value="FireGestures:OpenHoveredLinks" />
--								<menuitem label="&keypressGesture.save;" value="FireGestures:SaveHoveredLinks" />
--								<menuitem label="&keypressGesture.copy;" value="FireGestures:CopyHoveredLinks" />
--							</menupopup>
--						</menulist>
--					</row>
--				</rows>
--			</grid>
--		</groupbox>
--		<groupbox uigroup="tabwheelgesture">
--			<caption>
--				<checkbox id="tabwheelgesture" label="&tabwheelGesture;"
--				          preference="pref:tabwheelgesture"
--				          onsyncfrompreference="PrefsUI.updateUIGroup('tabwheelgesture');" />
--			</caption>
--			<hbox>
--				<label value="&tabwheelGesture.description;" />
--			</hbox>
--		</groupbox>
--		<box hidden="true">
--			<menuitem id="separatorTemplate" disabled="true">
--				<label />
--				<menuseparator flex="1" />
--			</menuitem>
--		</box>
--	</prefpane>
--
--	<prefpane id="swipePane" label="&swipePane;" flex="1">
--		<preferences>
--			<preference id="pref:swipegesture" name="extensions.firegestures.swipegesture"  type="bool" />
--			<preference id="pref:swipetimeout" name="extensions.firegestures.swipe_timeout" type="int" />
--		</preferences>
--		<groupbox uigroup="swipegesture">
--			<caption>
--				<checkbox id="swipegesture" label="&swipe;"
--				          preference="pref:swipegesture"
--				          onsyncfrompreference="PrefsUI.updateSwipeGestureUIGroup();" />
--			</caption>
--			<grid>
--				<columns>
--					<column />
--					<column />
--				</columns>
--				<rows>
--					<row align="center">
--						<label value="&swipe.left;:" />
--						<menulist id="swipeGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&swipe.right;:" />
--						<menulist id="swipeGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&swipe.up;:" />
--						<menulist id="swipeGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--					<row align="center">
--						<label value="&swipe.down;:" />
--						<menulist id="swipeGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
--							<menupopup />
--						</menulist>
--					</row>
--				</rows>
--			</grid>
--			<separator class="groove" />
--			<checkbox id="swipetimeout" label="&swipe.continuous;"
--			          preference="pref:swipetimeout"
--			          onsyncfrompreference="return PrefsUI.updateSwipeGestureUIGroup();"
--			          onsynctopreference="return this.checked ? 500 : 0;" />
--			<hbox align="center" class="indent" uigroup="swipetimeout">
--				<label value="&swipe.continuous.1;:" />
--				<textbox type="number" min="0" max="2" increment="0.1" decimalplaces="1" size="3"
--				         preference="pref:swipetimeout"
--				         onsyncfrompreference="return getElement('pref:swipetimeout').value / 1000;"
--				         onsynctopreference="return this.value * 1000;" />
--				<label value="&swipe.continuous.2;" />
--			</hbox>
--		</groupbox>
--	</prefpane>
--
--	<script type="application/x-javascript" src="chrome://firegestures/content/prefs.js" />
--
--	<stringbundle id="bundleMain" src="chrome://firegestures/locale/firegestures.properties" />
--
--</prefwindow>
++<?xml version="1.0"?>
++
++<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
++<?xml-stylesheet href="chrome://firegestures/skin/prefs.css" type="text/css"?>
++
++<!DOCTYPE prefwindow SYSTEM "chrome://firegestures/locale/prefs.dtd">
++
++<prefwindow id="PrefsUI"
++            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
++            windowtype="FireGestures:Options"
++            title="FireGestures - &options;"
++            onload="PrefsUI.init();"
++            ondialogcancel="if (!document.documentElement.instantApply) gShouldCommit = false;"
++            onunload="PrefsUI.done();">
++
++	<prefpane id="mainPane" label="&mainPane;" flex="1">
++		<preferences>
++			<preference id="pref:mousegesture"  name="extensions.firegestures.mousegesture"     type="bool" />
++			<preference id="pref:triggerbutton" name="extensions.firegestures.trigger_button"   type="int" />
++			<preference id="pref:suppressalt"   name="extensions.firegestures.suppress.alt"     type="bool" />
++			<preference id="pref:trail"         name="extensions.firegestures.mousetrail"       type="bool" />
++			<preference id="pref:trailsize"     name="extensions.firegestures.mousetrail.size"  type="int" />
++			<preference id="pref:trailcolor"    name="extensions.firegestures.mousetrail.color" type="string" />
++			<preference id="pref:status"        name="extensions.firegestures.status_display"   type="int" />
++			<preference id="pref:timeout"       name="extensions.firegestures.gesture_timeout"  type="int" />
++		</preferences>
++		<groupbox uigroup="mousegesture">
++			<caption>
++				<checkbox id="mousegesture" label="&mouseGesture;"
++				          preference="pref:mousegesture"
++				          onsyncfrompreference="PrefsUI.updateMouseGestureUIGroup();" />
++			</caption>
++			<hbox align="center">
++				<label value="&triggerButton;:" />
++				<radiogroup orient="horizontal"
++				            preference="pref:triggerbutton"
++				            onsyncfrompreference="PrefsUI.updateTriggerButton();">
++					<radio value="0" label="&triggerButton.left;" />
++					<radio value="1" label="&triggerButton.middle;" />
++					<radio value="2" label="&triggerButton.right;" />
++				</radiogroup>
++			</hbox>
++			<checkbox label="&suppress.alt;" class="indent"
++			          preference="pref:suppressalt" />
++			<checkbox id="trail" label="&trail;"
++			          preference="pref:trail"
++			          onsyncfrompreference="PrefsUI.updateMouseGestureUIGroup();" />
++			<hbox align="center" class="indent" uigroup="trail">
++				<label value="&trail.color;:" />
++				<colorpicker id="trailColor" type="button"
++				             preference="pref:trailcolor"
++				             onchange="PrefsUI.updateTrail();" />
++				<spacer width="20" />
++				<label value="&trail.size;:" />
++				<hbox id="trailSampleOuter"><hbox id="trailSample" /></hbox>
++				<spinbuttons id="trailButtons"
++				             onup="PrefsUI.changeTrailSize(+1);"
++				             ondown="PrefsUI.changeTrailSize(-1);" />
++			</hbox>
++			<checkbox id="status" label="&status;"
++			          preference="pref:status"
++			          onsyncfrompreference="return PrefsUI.updateMouseGestureUIGroup();"
++			          onsynctopreference="return this.checked ? getElement('pref:status').defaultValue : 0;" />
++			<hbox align="center" class="indent" uigroup="status">
++				<label value="&status.description.1;" />
++				<textbox type="number" min="0" max="10" increment="0.1" decimalplaces="1" size="3"
++				         preference="pref:status"
++				         onsyncfrompreference="return getElement('pref:status').value / 1000;"
++				         onsynctopreference="return this.value * 1000;" />
++				<label value="&status.description.2;" />
++			</hbox>
++			<checkbox id="timeout" label="&timeout;"
++			          preference="pref:timeout"
++			          onsyncfrompreference="return PrefsUI.updateMouseGestureUIGroup();"
++			          onsynctopreference="return this.checked ? getElement('pref:timeout').defaultValue : 0;" />
++			<hbox align="center" class="indent" uigroup="timeout">
++				<label value="&timeout.description.1;" />
++				<textbox type="number" min="0" max="10" increment="0.1" decimalplaces="1" size="3"
++				         preference="pref:timeout"
++				         onsyncfrompreference="return getElement('pref:timeout').value / 1000;"
++				         onsynctopreference="return this.value * 1000;" />
++				<label value="&timeout.description.2;" />
++			</hbox>
++		</groupbox>
++		<groupbox>
++			<caption label="&mappings.title;" />
++			<hbox align="center">
++				<label value="&mappings.description;" />
++				<spacer flex="1" />
++				<button type="menu" label="&mappings.title;">
++					<menupopup onpopupshowing="PrefsUI.generateMappingsMenu(event);"
++					           oncommand="PrefsUI._gestureSvc.getMapping(event.target.id).configure();" />
++				</button>
++			</hbox>
++		</groupbox>
++		<groupbox>
++			<caption label="&tools.title;" />
++			<hbox align="center">
++				<label value="&tools.description;" />
++				<spacer flex="1" />
++				<button type="menu" label="&tools.title;">
++					<menupopup>
++						<menuitem label="&tools.backup.label;..." title="&tools.backup.label;"
++						          oncommand="PrefsUI.backupMappings(this);" />
++						<menuitem label="&tools.restore.label;..." title="&tools.restore.label;"
++						          alerttext="&tools.restore.alerttext;"
++						          oncommand="PrefsUI.restoreMappings(this);" />
++					</menupopup>
++				</button>
++			</hbox>
++		</groupbox>
++	</prefpane>
++
++	<prefpane id="mappingPane" label="&mappingPane;" flex="1">
++		<commandset id="mappingCommandSet" oncommand="PrefsUI.doCommand(event.target.id);">
++			<command id="cmd_edit_gesture" />
++			<command id="cmd_clear_gesture" />
++			<command id="cmd_add_script" />
++			<command id="cmd_delete_script" />
++		</commandset>
++		<tree id="mappingTree"
++		      onselect="PrefsUI.updateCommands();"
++		      ondblclick="PrefsUI.handleTreeEvent(event);"
++		      onkeypress="PrefsUI.handleTreeEvent(event);"
++		      rows="16" flex="1">
++			<treecols>
++				<treecol label="&treecol.name;" flex="5" primary="true" />
++				<splitter class="tree-splitter" />
++				<treecol label="&treecol.command;" flex="3" hidden="true" />
++				<splitter class="tree-splitter" />
++				<treecol label="&treecol.gesture;" flex="1" />
++			</treecols>
++			<treechildren flex="1"
++			              ondragstart="PrefsUI.handleTreeEvent(event);"
++			              ondragenter="PrefsUI.handleTreeEvent(event);"
++			              ondragover="PrefsUI.handleTreeEvent(event);"
++			              ondrop="PrefsUI.handleTreeEvent(event);" />
++		</tree>
++		<hbox id="mappingButtons" align="start">
++			<button label="&editButton.label;..."
++			        accesskey="&editButton.accesskey;"
++			        command="cmd_edit_gesture" />
++			<button label="&clearButton.label;"
++			        accesskey="&clearButton.accesskey;"
++			        command="cmd_clear_gesture" />
++			<button label="&addScriptButton.label;..."
++			        accesskey="&addScriptButton.accesskey;"
++			        command="cmd_add_script" />
++			<button label="&deleteScriptButton.label;"
++			        accesskey="&deleteScriptButton.accesskey;"
++			        command="cmd_delete_script" />
++		</hbox>
++		<label id="getScripts" value="&getScripts.label;" class="text-link" style="margin-bottom: 10px;"
++			   onclick="PrefsUI.openURL('http://www.xuldev.org/firegestures/getscripts.php');" />
++	</prefpane>
++
++	<prefpane id="advancedPane" label="&advancedPane;" flex="1">
++		<preferences>
++			<preference id="pref:wheelgesture"    name="extensions.firegestures.wheelgesture"    type="bool" />
++			<preference id="pref:rockergesture"   name="extensions.firegestures.rockergesture"   type="bool" />
++			<preference id="pref:keypressgesture" name="extensions.firegestures.keypressgesture" type="bool" />
++			<preference id="pref:tabwheelgesture" name="extensions.firegestures.tabwheelgesture" type="bool" />
++		</preferences>
++		<groupbox uigroup="wheelgesture">
++			<caption>
++				<checkbox id="wheelgesture" label="&wheelGesture;"
++				          preference="pref:wheelgesture"
++				          onsyncfrompreference="PrefsUI.updateUIGroup('wheelgesture');" />
++			</caption>
++			<grid>
++				<columns>
++					<column />
++					<column />
++				</columns>
++				<rows>
++					<row align="center">
++						<label id="wheelUpLabel"
++						       value0="&wheelGesture.up.left;:"
++						       value1="&wheelGesture.up.middle;:"
++						       value2="&wheelGesture.up.right;:" />
++						<menulist id="wheelGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label id="wheelDownLabel"
++						       value0="&wheelGesture.down.left;:"
++						       value1="&wheelGesture.down.middle;:"
++						       value2="&wheelGesture.down.right;:" />
++						<menulist id="wheelGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++				</rows>
++			</grid>
++		</groupbox>
++		<groupbox uigroup="rockergesture">
++			<caption>
++				<checkbox id="rockergesture" label="&rockerGesture;"
++				          preference="pref:rockergesture"
++				          onsyncfrompreference="PrefsUI.updateUIGroup('rockergesture');" />
++			</caption>
++			<grid>
++				<columns>
++					<column />
++					<column />
++				</columns>
++				<rows>
++					<row align="center">
++						<label value="&rockerGesture.left;:" />
++						<menulist id="rockerGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&rockerGesture.right;:" />
++						<menulist id="rockerGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++				</rows>
++			</grid>
++		</groupbox>
++		<groupbox uigroup="keypressgesture">
++			<caption>
++				<checkbox id="keypressgesture" label="&keypressGesture;"
++				          preference="pref:keypressgesture"
++				          onsyncfrompreference="PrefsUI.updateUIGroup('keypressgesture');" />
++			</caption>
++			<grid>
++				<columns>
++					<column />
++					<column />
++				</columns>
++				<rows>
++					<row align="center">
++						<label value="&keypressGesture.ctrl;:" />
++						<menulist id="keypressGestureC" sizetopopup="none"
++						          oncommand="gShouldCommit = true;">
++							<menupopup>
++								<menuitem label="..." />
++								<menuitem label="&keypressGesture.open;" value="FireGestures:OpenHoveredLinks" />
++								<menuitem label="&keypressGesture.save;" value="FireGestures:SaveHoveredLinks" />
++								<menuitem label="&keypressGesture.copy;" value="FireGestures:CopyHoveredLinks" />
++							</menupopup>
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&keypressGesture.shift;:" />
++						<menulist id="keypressGestureS" sizetopopup="none"
++						          oncommand="gShouldCommit = true;">
++							<menupopup>
++								<menuitem label="..." />
++								<menuitem label="&keypressGesture.open;" value="FireGestures:OpenHoveredLinks" />
++								<menuitem label="&keypressGesture.save;" value="FireGestures:SaveHoveredLinks" />
++								<menuitem label="&keypressGesture.copy;" value="FireGestures:CopyHoveredLinks" />
++							</menupopup>
++						</menulist>
++					</row>
++				</rows>
++			</grid>
++		</groupbox>
++		<groupbox uigroup="tabwheelgesture">
++			<caption>
++				<checkbox id="tabwheelgesture" label="&tabwheelGesture;"
++				          preference="pref:tabwheelgesture"
++				          onsyncfrompreference="PrefsUI.updateUIGroup('tabwheelgesture');" />
++			</caption>
++			<hbox>
++				<label value="&tabwheelGesture.description;" />
++			</hbox>
++		</groupbox>
++		<box hidden="true">
++			<menuitem id="separatorTemplate" disabled="true">
++				<label />
++				<menuseparator flex="1" />
++			</menuitem>
++		</box>
++	</prefpane>
++
++	<prefpane id="swipePane" label="&swipePane;" flex="1">
++		<preferences>
++			<preference id="pref:swipegesture" name="extensions.firegestures.swipegesture"  type="bool" />
++			<preference id="pref:swipetimeout" name="extensions.firegestures.swipe_timeout" type="int" />
++		</preferences>
++		<groupbox uigroup="swipegesture">
++			<caption>
++				<checkbox id="swipegesture" label="&swipe;"
++				          preference="pref:swipegesture"
++				          onsyncfrompreference="PrefsUI.updateSwipeGestureUIGroup();" />
++			</caption>
++			<grid>
++				<columns>
++					<column />
++					<column />
++				</columns>
++				<rows>
++					<row align="center">
++						<label value="&swipe.left;:" />
++						<menulist id="swipeGestureL" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&swipe.right;:" />
++						<menulist id="swipeGestureR" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&swipe.up;:" />
++						<menulist id="swipeGestureU" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++					<row align="center">
++						<label value="&swipe.down;:" />
++						<menulist id="swipeGestureD" sizetopopup="none" oncommand="gShouldCommit = true;">
++							<menupopup />
++						</menulist>
++					</row>
++				</rows>
++			</grid>
++			<separator class="groove" />
++			<checkbox id="swipetimeout" label="&swipe.continuous;"
++			          preference="pref:swipetimeout"
++			          onsyncfrompreference="return PrefsUI.updateSwipeGestureUIGroup();"
++			          onsynctopreference="return this.checked ? 500 : 0;" />
++			<hbox align="center" class="indent" uigroup="swipetimeout">
++				<label value="&swipe.continuous.1;:" />
++				<textbox type="number" min="0" max="2" increment="0.1" decimalplaces="1" size="3"
++				         preference="pref:swipetimeout"
++				         onsyncfrompreference="return getElement('pref:swipetimeout').value / 1000;"
++				         onsynctopreference="return this.value * 1000;" />
++				<label value="&swipe.continuous.2;" />
++			</hbox>
++		</groupbox>
++	</prefpane>
++
++	<script type="application/x-javascript" src="chrome://firegestures/content/prefs.js" />
++
++	<stringbundle id="bundleMain" src="chrome://firegestures/locale/firegestures.properties" />
++
++</prefwindow>
diff --cc chrome/content/firegestures/selectDialog.xul
index bd407c9,bd407c9..b24cc6a
--- a/chrome/content/firegestures/selectDialog.xul
+++ b/chrome/content/firegestures/selectDialog.xul
@@@ -1,17 -1,17 +1,17 @@@
--<?xml version="1.0"?>
--
--<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
--
--	<script type="application/javascript"><![CDATA[
--		(function() {
--			var args = window.arguments[0].QueryInterface(Ci.nsIWritablePropertyBag2).
--			           QueryInterface(Ci.nsIWritablePropertyBag);
--			var title = args.getProperty("title");
--			if (title != "FireGestures")
--				return;
--			var rows = Math.min(args.getProperty("list").length, 16);
--			document.getElementById("list").setAttribute("rows", rows.toString());
--		})();
--	]]></script>
--
--</overlay>
++<?xml version="1.0"?>
++
++<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
++
++	<script type="application/javascript"><![CDATA[
++		(function() {
++			var args = window.arguments[0].QueryInterface(Ci.nsIWritablePropertyBag2).
++			           QueryInterface(Ci.nsIWritablePropertyBag);
++			var title = args.getProperty("title");
++			if (title != "FireGestures")
++				return;
++			var rows = Math.min(args.getProperty("list").length, 16);
++			document.getElementById("list").setAttribute("rows", rows.toString());
++		})();
++	]]></script>
++
++</overlay>
diff --cc chrome/content/firegestures/viewSource.rdf
index 4de11db,4de11db..bc79758
--- a/chrome/content/firegestures/viewSource.rdf
+++ b/chrome/content/firegestures/viewSource.rdf
@@@ -1,156 -1,156 +1,156 @@@
--<?xml version="1.0"?>
--
--<!DOCTYPE RDF:RDF [
--  <!ENTITY % mappingDTD SYSTEM "chrome://firegestures/locale/mapping.dtd">
--  %mappingDTD;
--  <!ENTITY % sourceDTD SYSTEM "chrome://global/locale/viewSource.dtd">
--  %sourceDTD;
--  <!ENTITY % editDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
--  %editDTD;
--]>
--
--<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
--         xmlns:FG="http://www.xuldev.org/firegestures-mapping#">
--  <RDF:Seq RDF:about="urn:mapping:root">
--    <RDF:li RDF:resource="urn:category:navigation" />
--    <RDF:li RDF:resource="urn:Browser:Back" />
--    <RDF:li RDF:resource="urn:Browser:Forward" />
--    <RDF:li RDF:resource="urn:category:file" />
--    <RDF:li RDF:resource="urn:cmd_savePage" />
--    <RDF:li RDF:resource="urn:cmd_pagesetup" />
--    <RDF:li RDF:resource="urn:cmd_printpreview" />
--    <RDF:li RDF:resource="urn:cmd_print" />
--    <RDF:li RDF:resource="urn:cmd_close" />
--    <RDF:li RDF:resource="urn:category:edit" />
--    <RDF:li RDF:resource="urn:cmd_find" />
--    <RDF:li RDF:resource="urn:cmd_findAgain" />
--    <RDF:li RDF:resource="urn:cmd_findPrevious" />
--    <RDF:li RDF:resource="urn:cmd_goToLine" />
--    <RDF:li RDF:resource="urn:category:view" />
--    <RDF:li RDF:resource="urn:cmd_reload" />
--    <RDF:li RDF:resource="urn:cmd_textZoomEnlarge" />
--    <RDF:li RDF:resource="urn:cmd_textZoomReduce" />
--    <RDF:li RDF:resource="urn:cmd_textZoomReset" />
--    <RDF:li RDF:resource="urn:category:window" />
--    <RDF:li RDF:resource="urn:ViewSource:MinimizeWindow" />
--    <RDF:li RDF:resource="urn:ViewSource:MaximizeWindow" />
--    <RDF:li RDF:resource="urn:category:page" />
--    <RDF:li RDF:resource="urn:cmd_scrollTop" />
--    <RDF:li RDF:resource="urn:cmd_scrollBottom" />
--    <RDF:li RDF:resource="urn:cmd_scrollPageUp" />
--    <RDF:li RDF:resource="urn:cmd_scrollPageDown" />
--    <RDF:li RDF:resource="urn:category:tools" />
--    <RDF:li RDF:resource="urn:ViewSource:FireGestures" />
--  </RDF:Seq>
--  <!-- navigation -->
--  <RDF:Description RDF:about="urn:category:navigation"
--                   FG:type="0"
--                   FG:name="&gestureCategory.navigation;" />
--  <RDF:Description RDF:about="urn:Browser:Back"
--                   FG:type="1"
--                   FG:name="&backCmd.label;"
--                   FG:direction="L"
--                   FG:extra="swipe-left" />
--  <RDF:Description RDF:about="urn:Browser:Forward"
--                   FG:type="1"
--                   FG:name="&forwardCmd.label;"
--                   FG:direction="R"
--                   FG:extra="swipe-right" />
--  <!-- file -->
--  <RDF:Description RDF:about="urn:category:file"
--                   FG:type="0"
--                   FG:name="&fileMenu.label;" />
--  <RDF:Description RDF:about="urn:cmd_close"
--                   FG:type="1"
--                   FG:name="&closeCmd.label;"
--                   FG:direction="DR" />
--  <RDF:Description RDF:about="urn:cmd_savePage"
--                   FG:type="1"
--                   FG:name="&savePageCmd.label;"
--                   FG:direction="DL" />
--  <RDF:Description RDF:about="urn:cmd_pagesetup"
--                   FG:type="1"
--                   FG:name="&pageSetupCmd.label;" />
--  <RDF:Description RDF:about="urn:cmd_printpreview"
--                   FG:type="1"
--                   FG:name="&printPreviewCmd.label;" />
--  <RDF:Description RDF:about="urn:cmd_print"
--                   FG:type="1"
--                   FG:name="&printCmd.label;" />
--  <!-- edit -->
--  <RDF:Description RDF:about="urn:category:edit"
--                   FG:type="0"
--                   FG:name="&editMenu.label;" />
--  <RDF:Description RDF:about="urn:cmd_find"
--                   FG:type="1"
--                   FG:name="&findCmd.label;" />
--  <RDF:Description RDF:about="urn:cmd_findAgain"
--                   FG:type="1"
--                   FG:name="&findAgainCmd.label;" />
--  <RDF:Description RDF:about="urn:cmd_findPrevious"
--                   FG:type="1"
--                   FG:name="&findPreviousCmd.label;" />
--  <RDF:Description RDF:about="urn:cmd_goToLine"
--                   FG:type="1"
--                   FG:name="&goToLineCmd.label;" />
--  <!-- view -->
--  <RDF:Description RDF:about="urn:category:view"
--                   FG:type="0"
--                   FG:name="&viewMenu.label;" />
--  <RDF:Description RDF:about="urn:cmd_reload"
--                   FG:type="1"
--                   FG:name="&reloadCmd.label;"
--                   FG:direction="UD" />
--  <RDF:Description RDF:about="urn:cmd_textZoomEnlarge"
--                   FG:type="1"
--                   FG:name="&menu_textSize.label; - &menu_textEnlarge.label;"
--                   FG:direction="LRU"
--                   FG:extra="wheel-up" />
--  <RDF:Description RDF:about="urn:cmd_textZoomReduce"
--                   FG:type="1"
--                   FG:name="&menu_textSize.label; - &menu_textReduce.label;"
--                   FG:direction="LRD"
--                   FG:extra="wheel-down" />
--  <RDF:Description RDF:about="urn:cmd_textZoomReset"
--                   FG:type="1"
--                   FG:name="&menu_textSize.label; - &menu_textReset.label;"
--                   FG:direction="LRUD" />
--  <!-- window -->
--  <RDF:Description RDF:about="urn:category:window"
--                   FG:type="0"
--                   FG:name="&gestureCategory.window;" />
--  <RDF:Description RDF:about="urn:ViewSource:MinimizeWindow"
--                   FG:type="1"
--                   FG:name="&gestureCmd.minimizeWindow;" />
--  <RDF:Description RDF:about="urn:ViewSource:MaximizeWindow"
--                   FG:type="1"
--                   FG:name="&gestureCmd.maximizeWindow;" />
--  <!-- page -->
--  <RDF:Description RDF:about="urn:category:page"
--                   FG:type="0"
--                   FG:name="&gestureCategory.page;" />
--  <RDF:Description RDF:about="urn:cmd_scrollTop"
--                   FG:type="1"
--                   FG:name="&gestureCmd.scrollTop;"
--                   FG:direction="LU"
--                   FG:extra="swipe-up" />
--  <RDF:Description RDF:about="urn:cmd_scrollBottom"
--                   FG:type="1"
--                   FG:name="&gestureCmd.scrollBottom;"
--                   FG:direction="LD"
--                   FG:extra="swipe-down" />
--  <RDF:Description RDF:about="urn:cmd_scrollPageUp"
--                   FG:type="1"
--                   FG:name="&gestureCmd.scrollPageUp;" />
--  <RDF:Description RDF:about="urn:cmd_scrollPageDown"
--                   FG:type="1"
--                   FG:name="&gestureCmd.scrollPageDown;" />
--  <!-- tools -->
--  <RDF:Description RDF:about="urn:category:tools"
--                   FG:type="0"
--                   FG:name="&gestureCategory.tools;" />
--  <RDF:Description RDF:about="urn:ViewSource:FireGestures"
--                   FG:type="1"
--                   FG:name="&gestureCmd.hybridViewSource; : FireGestures - &gestureCmd.options;"
--                   FG:direction="LDRUL" />
--</RDF:RDF>
++<?xml version="1.0"?>
++
++<!DOCTYPE RDF:RDF [
++  <!ENTITY % mappingDTD SYSTEM "chrome://firegestures/locale/mapping.dtd">
++  %mappingDTD;
++  <!ENTITY % sourceDTD SYSTEM "chrome://global/locale/viewSource.dtd">
++  %sourceDTD;
++  <!ENTITY % editDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
++  %editDTD;
++]>
++
++<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
++         xmlns:FG="http://www.xuldev.org/firegestures-mapping#">
++  <RDF:Seq RDF:about="urn:mapping:root">
++    <RDF:li RDF:resource="urn:category:navigation" />
++    <RDF:li RDF:resource="urn:Browser:Back" />
++    <RDF:li RDF:resource="urn:Browser:Forward" />
++    <RDF:li RDF:resource="urn:category:file" />
++    <RDF:li RDF:resource="urn:cmd_savePage" />
++    <RDF:li RDF:resource="urn:cmd_pagesetup" />
++    <RDF:li RDF:resource="urn:cmd_printpreview" />
++    <RDF:li RDF:resource="urn:cmd_print" />
++    <RDF:li RDF:resource="urn:cmd_close" />
++    <RDF:li RDF:resource="urn:category:edit" />
++    <RDF:li RDF:resource="urn:cmd_find" />
++    <RDF:li RDF:resource="urn:cmd_findAgain" />
++    <RDF:li RDF:resource="urn:cmd_findPrevious" />
++    <RDF:li RDF:resource="urn:cmd_goToLine" />
++    <RDF:li RDF:resource="urn:category:view" />
++    <RDF:li RDF:resource="urn:cmd_reload" />
++    <RDF:li RDF:resource="urn:cmd_textZoomEnlarge" />
++    <RDF:li RDF:resource="urn:cmd_textZoomReduce" />
++    <RDF:li RDF:resource="urn:cmd_textZoomReset" />
++    <RDF:li RDF:resource="urn:category:window" />
++    <RDF:li RDF:resource="urn:ViewSource:MinimizeWindow" />
++    <RDF:li RDF:resource="urn:ViewSource:MaximizeWindow" />
++    <RDF:li RDF:resource="urn:category:page" />
++    <RDF:li RDF:resource="urn:cmd_scrollTop" />
++    <RDF:li RDF:resource="urn:cmd_scrollBottom" />
++    <RDF:li RDF:resource="urn:cmd_scrollPageUp" />
++    <RDF:li RDF:resource="urn:cmd_scrollPageDown" />
++    <RDF:li RDF:resource="urn:category:tools" />
++    <RDF:li RDF:resource="urn:ViewSource:FireGestures" />
++  </RDF:Seq>
++  <!-- navigation -->
++  <RDF:Description RDF:about="urn:category:navigation"
++                   FG:type="0"
++                   FG:name="&gestureCategory.navigation;" />
++  <RDF:Description RDF:about="urn:Browser:Back"
++                   FG:type="1"
++                   FG:name="&backCmd.label;"
++                   FG:direction="L"
++                   FG:extra="swipe-left" />
++  <RDF:Description RDF:about="urn:Browser:Forward"
++                   FG:type="1"
++                   FG:name="&forwardCmd.label;"
++                   FG:direction="R"
++                   FG:extra="swipe-right" />
++  <!-- file -->
++  <RDF:Description RDF:about="urn:category:file"
++                   FG:type="0"
++                   FG:name="&fileMenu.label;" />
++  <RDF:Description RDF:about="urn:cmd_close"
++                   FG:type="1"
++                   FG:name="&closeCmd.label;"
++                   FG:direction="DR" />
++  <RDF:Description RDF:about="urn:cmd_savePage"
++                   FG:type="1"
++                   FG:name="&savePageCmd.label;"
++                   FG:direction="DL" />
++  <RDF:Description RDF:about="urn:cmd_pagesetup"
++                   FG:type="1"
++                   FG:name="&pageSetupCmd.label;" />
++  <RDF:Description RDF:about="urn:cmd_printpreview"
++                   FG:type="1"
++                   FG:name="&printPreviewCmd.label;" />
++  <RDF:Description RDF:about="urn:cmd_print"
++                   FG:type="1"
++                   FG:name="&printCmd.label;" />
++  <!-- edit -->
++  <RDF:Description RDF:about="urn:category:edit"
++                   FG:type="0"
++                   FG:name="&editMenu.label;" />
++  <RDF:Description RDF:about="urn:cmd_find"
++                   FG:type="1"
++                   FG:name="&findCmd.label;" />
++  <RDF:Description RDF:about="urn:cmd_findAgain"
++                   FG:type="1"
++                   FG:name="&findAgainCmd.label;" />
++  <RDF:Description RDF:about="urn:cmd_findPrevious"
++                   FG:type="1"
++                   FG:name="&findPreviousCmd.label;" />
++  <RDF:Description RDF:about="urn:cmd_goToLine"
++                   FG:type="1"
++                   FG:name="&goToLineCmd.label;" />
++  <!-- view -->
++  <RDF:Description RDF:about="urn:category:view"
++                   FG:type="0"
++                   FG:name="&viewMenu.label;" />
++  <RDF:Description RDF:about="urn:cmd_reload"
++                   FG:type="1"
++                   FG:name="&reloadCmd.label;"
++                   FG:direction="UD" />
++  <RDF:Description RDF:about="urn:cmd_textZoomEnlarge"
++                   FG:type="1"
++                   FG:name="&menu_textSize.label; - &menu_textEnlarge.label;"
++                   FG:direction="LRU"
++                   FG:extra="wheel-up" />
++  <RDF:Description RDF:about="urn:cmd_textZoomReduce"
++                   FG:type="1"
++                   FG:name="&menu_textSize.label; - &menu_textReduce.label;"
++                   FG:direction="LRD"
++                   FG:extra="wheel-down" />
++  <RDF:Description RDF:about="urn:cmd_textZoomReset"
++                   FG:type="1"
++                   FG:name="&menu_textSize.label; - &menu_textReset.label;"
++                   FG:direction="LRUD" />
++  <!-- window -->
++  <RDF:Description RDF:about="urn:category:window"
++                   FG:type="0"
++                   FG:name="&gestureCategory.window;" />
++  <RDF:Description RDF:about="urn:ViewSource:MinimizeWindow"
++                   FG:type="1"
++                   FG:name="&gestureCmd.minimizeWindow;" />
++  <RDF:Description RDF:about="urn:ViewSource:MaximizeWindow"
++                   FG:type="1"
++                   FG:name="&gestureCmd.maximizeWindow;" />
++  <!-- page -->
++  <RDF:Description RDF:about="urn:category:page"
++                   FG:type="0"
++                   FG:name="&gestureCategory.page;" />
++  <RDF:Description RDF:about="urn:cmd_scrollTop"
++                   FG:type="1"
++                   FG:name="&gestureCmd.scrollTop;"
++                   FG:direction="LU"
++                   FG:extra="swipe-up" />
++  <RDF:Description RDF:about="urn:cmd_scrollBottom"
++                   FG:type="1"
++                   FG:name="&gestureCmd.scrollBottom;"
++                   FG:direction="LD"
++                   FG:extra="swipe-down" />
++  <RDF:Description RDF:about="urn:cmd_scrollPageUp"
++                   FG:type="1"
++                   FG:name="&gestureCmd.scrollPageUp;" />
++  <RDF:Description RDF:about="urn:cmd_scrollPageDown"
++                   FG:type="1"
++                   FG:name="&gestureCmd.scrollPageDown;" />
++  <!-- tools -->
++  <RDF:Description RDF:about="urn:category:tools"
++                   FG:type="0"
++                   FG:name="&gestureCategory.tools;" />
++  <RDF:Description RDF:about="urn:ViewSource:FireGestures"
++                   FG:type="1"
++                   FG:name="&gestureCmd.hybridViewSource; : FireGestures - &gestureCmd.options;"
++                   FG:direction="LDRUL" />
++</RDF:RDF>
diff --cc chrome/content/firegestures/viewSource.xul
index 575e34f,575e34f..2ff37d9
--- a/chrome/content/firegestures/viewSource.xul
+++ b/chrome/content/firegestures/viewSource.xul
@@@ -1,8 -1,8 +1,8 @@@
--<?xml version="1.0"?>
--
--<overlay id="FireGesturesViewSourceOverlay"
--         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
--
--	<script type="application/x-javascript" src="chrome://firegestures/content/viewSource.js" />
--
--</overlay>
++<?xml version="1.0"?>
++
++<overlay id="FireGesturesViewSourceOverlay"
++         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
++
++	<script type="application/x-javascript" src="chrome://firegestures/content/viewSource.js" />
++
++</overlay>
diff --cc chrome/skin/classic/firegestures/prefs.css
index 86ea593,86ea593..731bef2
--- a/chrome/skin/classic/firegestures/prefs.css
+++ b/chrome/skin/classic/firegestures/prefs.css
@@@ -1,57 -1,57 +1,57 @@@
--prefwindow {
--	min-width: 40em;
--}
--
--radio[pane="mainPane"] {
--	list-style-image: url("chrome://firegestures/skin/prefs.png");
--	-moz-image-region: rect(0px, 32px, 32px, 0px);
--}
--
--radio[pane="mappingPane"] {
--	list-style-image: url("chrome://firegestures/skin/icon.png");
--}
--
--radio[pane="advancedPane"] {
--	list-style-image: url("chrome://firegestures/skin/prefs.png");
--	-moz-image-region: rect(0px, 64px, 32px, 32px);
--}
--
--radio[pane="swipePane"] {
--	/* [ToDo] */
--	list-style-image: url("chrome://firegestures/skin/prefs.png");
--	-moz-image-region: rect(0px, 64px, 32px, 32px);
--}
--
--#trailSampleOuter {
--	background-color: white;
--	min-height: 1.5em;
--	padding: 4px;
--	-moz-box-align: center;
--}
--
--#trailSample {
--	border-top: 1px solid transparent;
--	width: 32px;
--}
--
--treechildren::-moz-tree-drop-feedback {
--	width: 1000px;
--	margin-left: -100px;
--}
--
--#mappingButtons {
--	padding: 8px 0px 10px 0px;
--}
--
--menulist {
--	width: 18em;
--}
--
--menuseparator {
--	border-top: 1px solid GrayText;
--}
--
--hbox.prefWindow-dlgbuttons {
--	-moz-box-align: center;
--}
--
++prefwindow {
++	min-width: 40em;
++}
++
++radio[pane="mainPane"] {
++	list-style-image: url("chrome://firegestures/skin/prefs.png");
++	-moz-image-region: rect(0px, 32px, 32px, 0px);
++}
++
++radio[pane="mappingPane"] {
++	list-style-image: url("chrome://firegestures/skin/icon.png");
++}
++
++radio[pane="advancedPane"] {
++	list-style-image: url("chrome://firegestures/skin/prefs.png");
++	-moz-image-region: rect(0px, 64px, 32px, 32px);
++}
++
++radio[pane="swipePane"] {
++	/* [ToDo] */
++	list-style-image: url("chrome://firegestures/skin/prefs.png");
++	-moz-image-region: rect(0px, 64px, 32px, 32px);
++}
++
++#trailSampleOuter {
++	background-color: white;
++	min-height: 1.5em;
++	padding: 4px;
++	-moz-box-align: center;
++}
++
++#trailSample {
++	border-top: 1px solid transparent;
++	width: 32px;
++}
++
++treechildren::-moz-tree-drop-feedback {
++	width: 1000px;
++	margin-left: -100px;
++}
++
++#mappingButtons {
++	padding: 8px 0px 10px 0px;
++}
++
++menulist {
++	width: 18em;
++}
++
++menuseparator {
++	border-top: 1px solid GrayText;
++}
++
++hbox.prefWindow-dlgbuttons {
++	-moz-box-align: center;
++}
++

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firegestures.git



More information about the Pkg-mozext-commits mailing list