From 37e1bf6100fb175083731cc3c0735f2a9269c404 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 17 Oct 2006 22:57:05 +0000 Subject: When showing the frame automatically hide it on leave, otherwise it gets annoying. --- (limited to 'shell') diff --git a/shell/view/frame/Frame.py b/shell/view/frame/Frame.py index 3b264c6..bdac9fa 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): -- cgit v0.9.1