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
|
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
|
End
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ Public Sub Start((Application) As String)
|
||||||
|
|
||||||
Dim fTime As Float
|
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
|
fTime = Timer
|
||||||
While Not {Exist}(Application)
|
While Not {Exist}(Application)
|
||||||
Sleep 0.05
|
Sleep 0.05
|
||||||
|
|
Loading…
Reference in a new issue