sugar-toolkit-gtk3/shell/sugar-console

10 lines
234 B
Plaintext
Raw Normal View History

#!/usr/bin/python
import dbus
2006-07-25 23:00:45 +02:00
import dbus.glib
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()