diff options
author | Eric Turgeon <ericbsd@FreeBSD.org> | 2021-03-13 17:32:08 +0000 |
---|---|---|
committer | Eric Turgeon <ericbsd@FreeBSD.org> | 2021-03-13 17:32:08 +0000 |
commit | 9681738b31bd91bc4a345a5a6a006dd84992c3aa (patch) | |
tree | 6d6cb77214f41f180ec92a37586ac99846f3447a /x11 | |
parent | e050d40e5effa0655f39008bf448686ad0870315 (diff) | |
download | ports-9681738b31bd91bc4a345a5a6a006dd84992c3aa.tar.gz ports-9681738b31bd91bc4a345a5a6a006dd84992c3aa.zip |
add mate-dock-applet/files/patch-src_dock.in
This patch fix the slow start of mate-dock-applet
Notes
Notes:
svn path=/head/; revision=568265
Diffstat (limited to 'x11')
-rw-r--r-- | x11/mate-dock-applet/Makefile | 2 | ||||
-rw-r--r-- | x11/mate-dock-applet/files/patch-src_dock.in | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/x11/mate-dock-applet/Makefile b/x11/mate-dock-applet/Makefile index 74b7c6dcd668..fedba3f5573d 100644 --- a/x11/mate-dock-applet/Makefile +++ b/x11/mate-dock-applet/Makefile @@ -3,7 +3,7 @@ PORTNAME= mate-dock-applet PORTVERSION= 20.04.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 mate DIST_SUBDIR= mate diff --git a/x11/mate-dock-applet/files/patch-src_dock.in b/x11/mate-dock-applet/files/patch-src_dock.in new file mode 100644 index 000000000000..35ae054531a3 --- /dev/null +++ b/x11/mate-dock-applet/files/patch-src_dock.in @@ -0,0 +1,26 @@ +--- src/dock.in.orig 2021-03-13 13:10:08.665755000 -0400 ++++ src/dock.in 2021-03-13 13:13:58.873312000 -0400 +@@ -615,21 +615,8 @@ + dbus_interface="com.canonical.Unity.LauncherEntry", + signal_name="Update") + +- # we need a Bamf.Matcher for matching windows to running apps +- self.matcher = None +- # wait for max 10s to ensure bamf is available +- # (bamf is not always immediately available after login on Linux Mint +- # 19 - e.g. https://forums.linuxmint.com/viewtopic.php?t=272747 and +- # issue #158) +- i = 0 +- while i < 10: +- if (not self.session_bus.name_has_owner("org.ayatana.bamf")): +- i += 1 +- sleep(1) +- else: +- break +- +- self.matcher = Bamf.Matcher() ++ # create a Bamf.Matcher for matching windows to running apps ++ self.matcher = Bamf.Matcher.get_default() + + # can we resize nicely on the panel? + try: |