diff options
author | Peter Williams <peterw@ximian.com> | 2001-08-16 05:28:59 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-08-16 05:28:59 +0800 |
commit | 7da638d6aa8f721765a318abb0250133152ae1e3 (patch) | |
tree | d93e1ea80e82848453c9032c21e1ce347ac788f6 /mail/message-list.c | |
parent | 23de5fcdf542a032ed529d7d9a47b5213b64a76e (diff) | |
download | gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.tar.gz gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.tar.zst gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.zip |
Always remove the idle and return FALSE, instead of returning TRUE if more
2001-08-15 Peter Williams <peterw@ximian.com>
* message-list.c (on_cursor_activated_idle): Always remove the
idle and return FALSE, instead of returning TRUE if more than one
message is selected.
svn path=/trunk/; revision=12075
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index a198fe283b..7711130e48 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1978,16 +1978,14 @@ on_cursor_activated_idle (gpointer data) ESelectionModel *esm = e_tree_get_selection_model (message_list->tree); gint selected = e_selection_model_selected_count (esm); - if (selected > 1) { - return TRUE; - } else { + if (selected == 1) { printf ("emitting cursor changed signal, for uid %s\n", message_list->cursor_uid); gtk_signal_emit (GTK_OBJECT (message_list), message_list_signals[MESSAGE_SELECTED], message_list->cursor_uid); - - message_list->idle_id = 0; - return FALSE; } + + message_list->idle_id = 0; + return FALSE; } static void |