Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/model.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2011-05-18 20:50:26 (GMT)
committer Daniel Drake <dsd@laptop.org>2011-05-20 17:44:30 (GMT)
commita7d32680785f8775df4651c64f6c68247f557d10 (patch)
tree7297740228fb00c7b6c0e0f873391983f0a8c597 /model.py
parentdb8c5918907405cebe87b4367b3c48358d9da453 (diff)
Port to new activity toolbars
[dsd: minor tweaks, dont allow mode-change while not in STATE_READY]
Diffstat (limited to 'model.py')
-rw-r--r--model.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/model.py b/model.py
index 7ce2bc1..a6d06cb 100644
--- a/model.py
+++ b/model.py
@@ -113,6 +113,7 @@ class Model:
for recd in self.mediaHashs[mode]:
self.activity.add_thumbnail(recd, True)
+ self.activity.set_mode(mode)
self.set_state(constants.STATE_READY)
if mode == constants.MODE_PHOTO: