diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-20 10:13:47 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-20 10:13:47 (GMT) |
commit | d6ec6db8809659e827a2d5f6387451084e99338c (patch) | |
tree | 012f022e2116955cbc66be6536d4a4821af006f7 /shell/sugar-console | |
parent | 87cb115aa0155291d2473537a3fa2da1400c174f (diff) |
Make the console contextual to the activity and use the
window manager to activate it.
Diffstat (limited to 'shell/sugar-console')
-rwxr-xr-x | shell/sugar-console | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/sugar-console b/shell/sugar-console new file mode 100755 index 0000000..ed9c162 --- /dev/null +++ b/shell/sugar-console @@ -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() |