Make the console contextual to the activity and use the

window manager to activate it.
This commit is contained in:
Marco Pesenti Gritti
2006-07-20 12:13:47 +02:00
parent 87cb115aa0
commit d6ec6db880
11 changed files with 80 additions and 95 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/python
import dbus
bus = dbus.SessionBus()
proxy_obj = bus.get_object('com.redhat.Sugar.Shell', '/com/redhat/Sugar/Shell')
shell = dbus.Interface(proxy_obj, 'com.redhat.Sugar.Shell')
shell.show_console()