Implement zooming levels, actual view still empty

This commit is contained in:
Marco Pesenti Gritti
2006-08-19 02:00:04 +02:00
parent 24dae31a9d
commit de65daf548
10 changed files with 93 additions and 9 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/python
import sys
import dbus
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')
if sys.argv[1] == 'in':
shell.zoom_in()
elif sys.argv[1] == 'out':
shell.zoom_out()