kde dbus: Set interface explicit to provide requestView.
This commit is contained in:
parent
333a8f57ea
commit
1ee1dd2b70
|
@ -136,7 +136,7 @@ class ProgressBar::KDE < ProgressBar::Base
|
|||
@finished = false
|
||||
@bus = DBus::SessionBus.instance
|
||||
@service = @bus['org.kde.JobViewServer']
|
||||
jvs = @service['/JobViewServer'] #['org.kde.JobViewServer']
|
||||
jvs = @service['/JobViewServer']['org.kde.JobViewServer']
|
||||
jvs.introspect
|
||||
flags = (@is_cancable ? 0x1 : 0) | (@is_suspendable ? 0x2 : 0)
|
||||
view_path = jvs.requestView @app_name, @app_icon_name, flags
|
||||
|
|
Loading…
Reference in a new issue