Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Poirier <simpoir@gmail.com>2009-11-30 19:41:58 (GMT)
committer Simon Poirier <simpoir@gmail.com>2009-11-30 19:41:58 (GMT)
commit1fe19d64aacda54f7b064096559a58d60f0f4121 (patch)
treec2d7fcfd964c1b4c7b97ad017bc2d7abedd3c2df
parentb6d1f775b08b97a434f78e841e8e84397e54ffac (diff)
remote supportframe-integration
-rw-r--r--src/jarabe/frame/frame.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/jarabe/frame/frame.py b/src/jarabe/frame/frame.py
index 55f866f..babd5ec 100644
--- a/src/jarabe/frame/frame.py
+++ b/src/jarabe/frame/frame.py
@@ -139,6 +139,11 @@ class Frame(object):
visible = property(is_visible, None)
def hide(self):
+ from sugar.tutorius.creator import default_creator
+ if default_creator().is_authoring:
+ default_creator()._overview.win.hide()
+ default_creator()._propedit.window.hide()
+
if self._animator:
self._animator.stop()
@@ -159,6 +164,11 @@ class Frame(object):
self._animator = animator.Animator(0.5)
self._animator.add(_Animation(self, 1.0))
self._animator.start()
+
+ from sugar.tutorius.creator import default_creator
+ if default_creator().is_authoring:
+ default_creator()._overview.win.show()
+ default_creator()._propedit.window.show()
def move(self, pos):
self.current_position = pos