diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-03-05 06:01:12 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-03-05 06:01:12 +0800 |
commit | c5f85f4f331f5b8117d24dbec871a312d712e654 (patch) | |
tree | fece9c1f720d4e2ec314c2d7ea3dea9b195ce176 /mail/message-list.c | |
parent | 944f73858b5d8091199b6d3a9b243e797fad3e48 (diff) | |
download | gsoc2013-evolution-c5f85f4f331f5b8117d24dbec871a312d712e654.tar.gz gsoc2013-evolution-c5f85f4f331f5b8117d24dbec871a312d712e654.tar.zst gsoc2013-evolution-c5f85f4f331f5b8117d24dbec871a312d712e654.zip |
Connect to the focus-in/out events on the message-list so that we can
2002-03-04 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (my_folder_browser_init): Connect to the
focus-in/out events on the message-list so that we can disable the
EditInvertSelection and EditSelectThread menu items when the
message-list is not in focus.
* folder-browser-ui.c (folder_browser_ui_message_list_unfocus):
New function to de-sensitize some items if the message-list is not
in focus.
(folder_browser_ui_message_list_focus): New function to sensitize
some items if the message-list is not in focus.
* mail-callbacks.c (invert_selection): Only invert the selection
of the message-list if it is the widget in focus.
* message-list.c (message_list_select): Do not explicitly grab the
focus here.
svn path=/trunk/; revision=15909
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index b8eb9f9fc7..e9dd90fa9a 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -416,9 +416,6 @@ message_list_select (MessageList *message_list, struct search_func_data data; ETreeFindNextParams params = 0; - if (!GTK_WIDGET_HAS_FOCUS (message_list)) - gtk_widget_grab_focus (GTK_WIDGET (message_list)); - data.message_list = message_list; data.flags = flags; data.mask = mask; |