From 584adf152d3f7cd66b206d9b389d55149d987203 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sun, 15 Aug 2021 23:40:54 +0200 Subject: Settings process count hack fixes https://github.com/AyatanaIndicators/ayatana-webmail/issues/22 fixes https://github.com/AyatanaIndicators/ayatana-webmail/issues/21 --- data/usr/bin/ayatana-webmail-settings | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data/usr/bin') diff --git a/data/usr/bin/ayatana-webmail-settings b/data/usr/bin/ayatana-webmail-settings index f000a9e..63db1f7 100755 --- a/data/usr/bin/ayatana-webmail-settings +++ b/data/usr/bin/ayatana-webmail-settings @@ -15,7 +15,8 @@ oLoop = None if __name__ == '__main__': - if isRunning('-settings') == 1: + # HACK: Debian reports that ayatana-webmail-settings is not running, but shows two instances of ayatana-webmail + if isRunning('-settings') == 1 or isRunning() == 2: DBusGMainLoop(set_as_default=True) oSessionBus = dbus.SessionBus() -- cgit v1.2.3