summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2016-08-31 21:01:05 +0200
committerChristian Ruppert <idl0r@gentoo.org>2016-08-31 21:01:20 +0200
commit91677b075dc3191b847eb9af194cc40c3b66e750 (patch)
tree6009c0166d03ddb07383444011221d06d6e17e1d /net-analyzer/nagstamon/files
parentdev-qt/qtwebengine: relax media-video/ffmpeg dependency for 5.7.0 (diff)
downloadgentoo-91677b075dc3191b847eb9af194cc40c3b66e750.tar.gz
gentoo-91677b075dc3191b847eb9af194cc40c3b66e750.tar.bz2
gentoo-91677b075dc3191b847eb9af194cc40c3b66e750.zip
net-analyzer/nagstamon: Revbump, fixes https://github.com/HenriWahl/Nagstamon/issues/296
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-analyzer/nagstamon/files')
-rw-r--r--net-analyzer/nagstamon/files/nagstamon-2.0-EWMH.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-analyzer/nagstamon/files/nagstamon-2.0-EWMH.patch b/net-analyzer/nagstamon/files/nagstamon-2.0-EWMH.patch
new file mode 100644
index 000000000000..f7e62bcbe01e
--- /dev/null
+++ b/net-analyzer/nagstamon/files/nagstamon-2.0-EWMH.patch
@@ -0,0 +1,38 @@
+From 8ea1a9336b6239ead43ea7c4b767052e10745fe8 Mon Sep 17 00:00:00 2001
+From: Christian Ruppert <idl0r@gentoo.org>
+Date: Wed, 31 Aug 2016 20:19:20 +0200
+Subject: [PATCH] Initialize EWMH as soon as possible, #296
+
+Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
+---
+ Nagstamon/QUI/__init__.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Nagstamon/QUI/__init__.py b/Nagstamon/QUI/__init__.py
+index 930cb68..d41b786 100644
+--- a/Nagstamon/QUI/__init__.py
++++ b/Nagstamon/QUI/__init__.py
+@@ -898,6 +898,10 @@ class StatusWindow(QWidget):
+ # immediately hide to avoid flicker on Windows and OSX
+ self.hide()
+
++ # ewmh.py in thirdparty directory needed to keep floating statusbar on all desktops in Linux
++ if not platform.system() in NON_LINUX:
++ self.ewmh = EWMH()
++
+ # avoid quitting when using Qt.Tool flag and closing settings dialog
+ APP.setQuitOnLastWindowClosed(False)
+
+@@ -1080,10 +1084,6 @@ class StatusWindow(QWidget):
+ # start with priority 0 = lowest
+ self.worker_thread.start(0)
+
+- # ewmh.py in thirdparty directory needed to keep floating statusbar on all desktops in Linux
+- if not platform.system() in NON_LINUX:
+- self.ewmh = EWMH()
+-
+ # finally show up
+ self.set_mode()
+
+--
+2.7.3