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