From 75366d608bd02dac4ed9e113144800ac92d8f4c1 Mon Sep 17 00:00:00 2001
From: Simon Schampijer <simon@laptop.org>
Date: Thu, 25 Oct 2012 13:24:31 +0200
Subject: [PATCH shell] JournalPalette: make sure to popdown when we switch to
the Journal
This can be seen when you switch to the Journal using the Journal
Palette in the Frame.
Signed-off-by: Simon Schampijer <simon@laptop.org>
---
src/jarabe/view/palettes.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/jarabe/view/palettes.py b/src/jarabe/view/palettes.py
index 923b842..6d9916d 100644
a
|
b
|
class JournalPalette(BasePalette): |
200 | 200 | self.connect('popup', self.__popup_cb) |
201 | 201 | |
202 | 202 | def __open_activate_cb(self, menu_item): |
| 203 | self.popdown(immediate=True) |
203 | 204 | self._home_activity.get_window().activate(Gtk.get_current_event_time()) |
204 | 205 | |
205 | 206 | def __popup_cb(self, palette): |