[SCM] plasma-framework packaging branch, master, updated. debian/5.28.0-1-12-g9259880

Maximiliano Curia maxy at moszumanska.debian.org
Sat Apr 8 15:16:04 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/plasma-framework.git;a=commitdiff;h=04a18a0

The following commit has been merged in the master branch:
commit 04a18a0234d73bea95a7f974913354b204f44f0b
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Sat Apr 8 10:53:29 2017 +0200

    Pick "Fix logic for arrow handling in RTL locales" (db15022)
    
    Add the upstream patch as:
     Fix-logic-for-arrow-handling-in-RTL-locales.patch
    This fixes KDE#373749
    
    Gbp-Dch: Full
---
 ...x-logic-for-arrow-handling-in-RTL-locales.patch | 42 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 43 insertions(+)

diff --git a/debian/patches/Fix-logic-for-arrow-handling-in-RTL-locales.patch b/debian/patches/Fix-logic-for-arrow-handling-in-RTL-locales.patch
new file mode 100644
index 0000000..314c8c3
--- /dev/null
+++ b/debian/patches/Fix-logic-for-arrow-handling-in-RTL-locales.patch
@@ -0,0 +1,42 @@
+From: Eike Hein <hein at kde.org>
+Date: Sun, 18 Dec 2016 08:30:46 +0900
+Subject: Fix logic for arrow handling in RTL locales.
+
+Summary: BUG:373749
+
+Reviewers: #plasma, mart
+
+Subscribers: plasma-devel
+
+Tags: #plasma
+
+Differential Revision: https://phabricator.kde.org/D3718
+---
+ .../plasmacomponents/qml/private/TabBarLayout.qml          | 14 ++++++--------
+ 1 file changed, 6 insertions(+), 8 deletions(-)
+
+diff --git a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml
+index 49f08a7b2..0d75ccfe5 100644
+--- a/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml
++++ b/src/declarativeimports/plasmacomponents/qml/private/TabBarLayout.qml
+@@ -74,14 +74,12 @@ Item {
+     onHeightChanged: layoutTimer.restart()
+ 
+     Keys.onPressed: {
+-        if (event.key == Qt.Key_Right || event.key == Qt.Key_Left) {
+-            if (event.key == Qt.Key_Right || priv.mirrored) {
+-                priv.goNextTab()
+-                event.accepted = true
+-            } else if (event.key == Qt.Key_Left || priv.mirrored) {
+-                priv.goPreviousTab()
+-                event.accepted = true
+-            }
++        if (event.key == Qt.Key_Right) {
++            (priv.mirrored ? priv.goPreviousTab : priv.goNextTab)();
++            event.accepted = true
++        } else if (event.key == Qt.Key_Left || priv.mirrored) {
++            (priv.mirrored ? priv.goNextTab : priv.goPreviousTab)();
++            event.accepted = true
+         }
+     }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bdad004
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Fix-logic-for-arrow-handling-in-RTL-locales.patch

-- 
plasma-framework packaging



More information about the pkg-kde-commits mailing list