[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - 2 commits - android/experimental android/mobile-config.py
Siqi Liu
me at siqi.fr
Thu Mar 5 14:44:28 PST 2015
android/experimental/LOAndroid3/src/java/org/mozilla/gecko/OnSlideSwipeListener.java | 5 +++++
android/mobile-config.py | 5 +++++
2 files changed, 10 insertions(+)
New commits:
commit 17552aaeff1d1d939fe99e2cbd5c5c6beddc863d
Author: Siqi Liu <me at siqi.fr>
Date: Thu Mar 5 23:43:54 2015 +0100
tdf#89705: disable Ctrl+Click for mobile apps.
Change-Id: I7478b8e6be110ad226743281ac8fa6d77a2c15a0
diff --git a/android/mobile-config.py b/android/mobile-config.py
index aa5d86f..704b1e9 100755
--- a/android/mobile-config.py
+++ b/android/mobile-config.py
@@ -94,6 +94,11 @@ if __name__ == '__main__':
for value in prop.findall("value"):
value.text = "false"
+ # Disable follow link with Ctrl+Click, use Click only for mobile app.
+ for prop in root.findall('%(component-schema)s[@%(name)s="Common"]/component/group[@%(name)s="Security"]/group[@%(name)s="Scripting"]/prop[@%(name)s="HyperlinksWithCtrlClick"]' % nsDict):
+ for value in prop.findall("value"):
+ value.text = "false"
+
# Disable Impress View -> Slide Pane
for prop in root.findall('%(component-data)s[@%(name)s="Impress"]/node[@%(name)s="MultiPaneGUI"]/node[@%(name)s="SlideSorterBar"]/node[@%(name)s="Visible"]/prop[@%(name)s="ImpressView"]' % nsDict):
for value in prop.findall("value"):
commit 62dcc4e15d5dfcd5103f4a7541bb40cd7a4bbd9e
Author: Siqi Liu <me at siqi.fr>
Date: Thu Mar 5 20:43:48 2015 +0100
add license header
Change-Id: I9becbedb305daa95b39ebb084e358408df3d4d09
diff --git a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/OnSlideSwipeListener.java b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/OnSlideSwipeListener.java
index 0f231b0..13dfca5 100644
--- a/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/OnSlideSwipeListener.java
+++ b/android/experimental/LOAndroid3/src/java/org/mozilla/gecko/OnSlideSwipeListener.java
@@ -1,3 +1,8 @@
+/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
package org.mozilla.gecko;
import android.content.Context;
More information about the Libreoffice-commits
mailing list