[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=15ca8ab

The following commit has been merged in the master branch:
commit 15ca8ab43544b370cfbacb332bdec10c6df007b6
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Sat Apr 8 10:56:35 2017 +0200

    Pick "Emit toolTipMainTextChanged if it changes in response to a title change" (17f5a30)
    
    The fallback for toolTipMainText is showing the applet title.
    When the applet title changes, it may result in a change of
    toolTipMainText.
    
    Add the upstream patch as:
     Emit-toolTipMainTextChanged-if-it-changes-in-response-to-.patch
    
    Gbp-Dch: Full
---
 ...TextChanged-if-it-changes-in-response-to-.patch | 40 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 41 insertions(+)

diff --git a/debian/patches/Emit-toolTipMainTextChanged-if-it-changes-in-response-to-.patch b/debian/patches/Emit-toolTipMainTextChanged-if-it-changes-in-response-to-.patch
new file mode 100644
index 0000000..186cba9
--- /dev/null
+++ b/debian/patches/Emit-toolTipMainTextChanged-if-it-changes-in-response-to-.patch
@@ -0,0 +1,40 @@
+From: David Edmundson <kde at davidedmundson.co.uk>
+Date: Tue, 20 Dec 2016 12:09:52 +0000
+Subject: Emit toolTipMainTextChanged if it changes in response to a title
+ change
+
+Summary:
+The fallback for toolTipMainText is showing the applet title.
+
+When the applet title changes, it may result in a change of
+toolTipMainText.
+
+Reviewers: #plasma
+
+Subscribers: plasma-devel
+
+Tags: #plasma
+
+Differential Revision: https://phabricator.kde.org/D3760
+---
+ src/scriptengines/qml/plasmoid/appletinterface.cpp | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/scriptengines/qml/plasmoid/appletinterface.cpp b/src/scriptengines/qml/plasmoid/appletinterface.cpp
+index f24bc5152..cfd411010 100644
+--- a/src/scriptengines/qml/plasmoid/appletinterface.cpp
++++ b/src/scriptengines/qml/plasmoid/appletinterface.cpp
+@@ -82,6 +82,13 @@ AppletInterface::AppletInterface(DeclarativeAppletScript *script, const QVariant
+     connect(applet(), &Plasma::Applet::titleChanged,
+             this, &AppletInterface::titleChanged);
+ 
++    connect(applet(), &Plasma::Applet::titleChanged,
++            this, [this]() {
++                if (m_toolTipMainText.isNull()) {
++                    emit toolTipMainTextChanged();
++                }
++            });
++
+     connect(applet(), &Plasma::Applet::iconChanged,
+             this, &AppletInterface::iconChanged);
+ 
diff --git a/debian/patches/series b/debian/patches/series
index bdad004..49c0edd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 Fix-logic-for-arrow-handling-in-RTL-locales.patch
+Emit-toolTipMainTextChanged-if-it-changes-in-response-to-.patch

-- 
plasma-framework packaging



More information about the pkg-kde-commits mailing list