Move the zoom levels inside the model

This commit is contained in:
Marco Pesenti Gritti
2007-07-02 14:34:41 +02:00
parent 59bf818e99
commit 7024f93a43
10 changed files with 45 additions and 38 deletions
+1 -1
View File
@@ -10,6 +10,6 @@ sugar_PYTHON = \
Invites.py \
Owner.py \
MeshModel.py \
ShellModel.py \
shellmodel.py \
homeactivity.py \
homemodel.py
@@ -31,6 +31,11 @@ class ShellModel(gobject.GObject):
STATE_RUNNING = 1
STATE_SHUTDOWN = 2
ZOOM_MESH = 0
ZOOM_FRIENDS = 1
ZOOM_HOME = 2
ZOOM_ACTIVITY = 3
__gproperties__ = {
'state' : (int, None, None,
0, 2, STATE_RUNNING,