From 51632ec76b8871c2253c33641fc9b3d25d0ecdde Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 20 Jan 2010 20:56:17 -0200 Subject: [PATCH] Select the message again after changing focus back to the grid. fixes #192 --- mitterlib/ui/ui_pygtk.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index b966d79..039704e 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -845,6 +845,8 @@ class Interface(object): child = self._main_tabs.get_nth_page(page) child.get_child().grab_focus() # notebook have ScrolledWindows, # TreeViews inside that. + + self._message_selected(child.get_child()); return def _quit_app(self, widget=None, user_data=None): @@ -1083,6 +1085,7 @@ class Interface(object): value = int(value) self._options[namespace][option] = value + self._options.save() return True def _click_message(self, widget, event, user_data=None):