Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-08-08 12:41:30 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-08-08 12:41:30 (GMT)
commit1145f0f99c727656a6d0772255da6b5e03abd3f6 (patch)
tree4020cf9207f9f5a462cbeee032e214ab973dd05f /sugar
parent6ae38464156c5ba2c06826ab9d8b9d4bd226c2bb (diff)
Override menu shell deactivate to go through the palette.
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/palette.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py
index a877488..70e27f9 100644
--- a/sugar/graphics/palette.py
+++ b/sugar/graphics/palette.py
@@ -396,6 +396,9 @@ class _Menu(_sugaruiext.Menu):
_sugaruiext.Menu.do_insert(self, item, position)
self._palette._update_separator()
+ def do_deactivate(self):
+ self._palette._hide()
+
class _PopupAnimation(animator.Animation):
def __init__(self, palette):
animator.Animation.__init__(self, 0.0, 1.0)