sugar-toolkit-gtk3/shell/sugar-console
Marco Pesenti Gritti d6ec6db880 Make the console contextual to the activity and use the
window manager to activate it.
2006-07-20 12:13:47 +02:00

9 lines
217 B
Python
Executable File

#!/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()