From 37e1bf6100fb175083731cc3c0735f2a9269c404 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 18 Oct 2006 00:57:05 +0200 Subject: [PATCH] When showing the frame automatically hide it on leave, otherwise it gets annoying. --- shell/view/frame/Frame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/view/frame/Frame.py b/shell/view/frame/Frame.py index 3b264c6f..bdac9fa2 100644 --- a/shell/view/frame/Frame.py +++ b/shell/view/frame/Frame.py @@ -220,7 +220,8 @@ class Frame: return if not self._menu_shell.is_active() and \ - self._mode == Frame.HIDE_ON_LEAVE: + self._mode == Frame.HIDE_ON_LEAVE or \ + self._mode == Frame.AUTOMATIC: self._timeline.play('before_slide_out', 'slide_out') def _enter_edge_cb(self, event_frame):