Ticket #3992: 0001-JournalPalette-make-sure-to-popdown-when-we-switch-t.patch

File 0001-JournalPalette-make-sure-to-popdown-when-we-switch-t.patch, 946 bytes (added by erikos, 12 years ago)

JournalPalette: make sure to popdown when we switch to the Journal

  • src/jarabe/view/palettes.py

    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): 
    200200        self.connect('popup', self.__popup_cb)
    201201
    202202    def __open_activate_cb(self, menu_item):
     203        self.popdown(immediate=True)
    203204        self._home_activity.get_window().activate(Gtk.get_current_event_time())
    204205
    205206    def __popup_cb(self, palette):