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.
This commit is contained in:
parent
05139e9bc9
commit
2965dc0886
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue