From 1145f0f99c727656a6d0772255da6b5e03abd3f6 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 08 Aug 2007 12:41:30 +0000 Subject: Override menu shell deactivate to go through the palette. --- (limited to 'sugar/graphics') 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) -- cgit v0.9.1