From 2965dc0886b229a64b9c3767ef9e9c4de8d09479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sun, 2 Jul 2023 23:58:21 +0200 Subject: [PATCH] DBusConnection: 'Exist()' and 'Start()' methods now use the '/org/freedesktop/DBus' object path, because DBus on Fedora does not use the '/' object path. [GB.DBUS] * BUG: DBusConnection: 'Exist()' and 'Start()' methods now use the '/org/freedesktop/DBus' object path, because DBus on Fedora does not use the '/' object path. --- gb.dbus/src/gb.dbus/.src/DBusConnection.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gb.dbus/src/gb.dbus/.src/DBusConnection.class b/gb.dbus/src/gb.dbus/.src/DBusConnection.class index a0fcb67d8..93e182616 100644 --- a/gb.dbus/src/gb.dbus/.src/DBusConnection.class +++ b/gb.dbus/src/gb.dbus/.src/DBusConnection.class @@ -62,7 +62,7 @@ End Public Sub Exist((Application) As String) As Boolean - Try Return Me["org.freedesktop.DBus"]["/", "org.freedesktop.DBus"].NameHasOwner(Application) + Try Return Me["org.freedesktop.DBus"]["/org/freedesktop/DBus", "org.freedesktop.DBus"].NameHasOwner(Application) End @@ -70,7 +70,7 @@ Public Sub Start((Application) As String) Dim fTime As Float - Me["org.freedesktop.DBus"]["/", "org.freedesktop.DBus"].StartServiceByName(Application, 0) + Me["org.freedesktop.DBus"]["/org/freedesktop/DBus", "org.freedesktop.DBus"].StartServiceByName(Application, 0) fTime = Timer While Not {Exist}(Application) Sleep 0.05