summaryrefslogtreecommitdiff
path: root/kde-plasma/plasma-nm/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-15 17:37:09 +0100
commit586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch)
treed6790c838cfe9607c996e4913fdf11bad5fdd528 /kde-plasma/plasma-nm/files
parent3f71901f8c228f4de570abed1831ce3ee425343e (diff)
gentoo resync : 15.09.2018
Diffstat (limited to 'kde-plasma/plasma-nm/files')
-rw-r--r--kde-plasma/plasma-nm/files/plasma-nm-5.13.5-iconchange.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/kde-plasma/plasma-nm/files/plasma-nm-5.13.5-iconchange.patch b/kde-plasma/plasma-nm/files/plasma-nm-5.13.5-iconchange.patch
new file mode 100644
index 000000000000..f44bbc34be9d
--- /dev/null
+++ b/kde-plasma/plasma-nm/files/plasma-nm-5.13.5-iconchange.patch
@@ -0,0 +1,33 @@
+From a71ca963f798ca405878305b5433550e6c267d87 Mon Sep 17 00:00:00 2001
+From: Jan Grulich <jgrulich@redhat.com>
+Date: Thu, 13 Sep 2018 13:24:51 +0200
+Subject: Make sure we change icon on NM connectivity change
+
+---
+ libs/declarative/connectionicon.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libs/declarative/connectionicon.cpp b/libs/declarative/connectionicon.cpp
+index b792f92..d4ff30a 100644
+--- a/libs/declarative/connectionicon.cpp
++++ b/libs/declarative/connectionicon.cpp
+@@ -82,6 +82,7 @@ ConnectionIcon::ConnectionIcon(QObject* parent)
+ setStates();
+
+ connectivityChanged();
++ setIcons();
+ }
+
+ ConnectionIcon::~ConnectionIcon()
+@@ -174,8 +175,7 @@ void ConnectionIcon::carrierChanged(bool carrier)
+ void ConnectionIcon::connectivityChanged()
+ {
+ NetworkManager::Connectivity conn = NetworkManager::connectivity();
+- m_limited = (conn == NetworkManager::Portal || conn == NetworkManager::Limited);
+- setIcons();
++ setLimited(conn == NetworkManager::Portal || conn == NetworkManager::Limited);
+ }
+
+ void ConnectionIcon::deviceAdded(const QString& device)
+--
+cgit v0.11.2