diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-04-17 15:59:16 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-04-17 15:59:16 +0800 |
commit | 7aa932f07e5b50cadb8173312119e3252f8c9366 (patch) | |
tree | bb1d3efbab6437032664df130b6f213b0b648cae /mail/message-list.h | |
parent | ece07d1b3afb6e305f0446d318f26bcaaa522ab3 (diff) | |
download | gsoc2013-evolution-7aa932f07e5b50cadb8173312119e3252f8c9366.tar.gz gsoc2013-evolution-7aa932f07e5b50cadb8173312119e3252f8c9366.tar.zst gsoc2013-evolution-7aa932f07e5b50cadb8173312119e3252f8c9366.zip |
new function, actually calls select_msg. (on_row_selection_cmd): register
* message-list.c (on_row_selection_idle): new function, actually
calls select_msg.
(on_row_selection_cmd): register an idle instead of calling
select_msg directly. this fixes the lag before the row is
selected - selection is instantaneous now, with message loading
happening afterward.
* message-list.h: add row_to_select and an idle_id to the message
list to make the select_msg call happen in an idle func.
svn path=/trunk/; revision=2470
Diffstat (limited to 'mail/message-list.h')
-rw-r--r-- | mail/message-list.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/message-list.h b/mail/message-list.h index f045037313..b6ab3d9f1e 100644 --- a/mail/message-list.h +++ b/mail/message-list.h @@ -59,7 +59,10 @@ struct _MessageList { CamelFolder *folder; CamelFolderSummary *folder_summary; - + + /* used by the idle-call to select a row */ + int row_to_select; + guint idle_id; } ; typedef struct { |