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 | |
parent | 23de5fcdf542a032ed529d7d9a47b5213b64a76e (diff) | |
download | gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.tar gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.tar.gz gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.tar.bz2 gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.tar.lz gsoc2013-evolution-7da638d6aa8f721765a318abb0250133152ae1e3.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/message-list.c | 10 |
2 files changed, 10 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 2221c7c9b0..357c9e53ff 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +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. + 2001-08-15 Jason Leach <jleach@ximian.com> * mail-tools.c (mail_tool_quote_message): Stop building the quote 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 |