aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-17 07:11:10 +0800
committerDan Winship <danw@src.gnome.org>2000-06-17 07:11:10 +0800
commit9c21067261d2af663d762c7f655eea1a7573f1e9 (patch)
tree4229c0ba1d5bda5dee9c1db0991460681521787d /mail/message-list.h
parent3069f4c5d1a2d0a2a8e3f6afd2a446493fab14d5 (diff)
downloadgsoc2013-evolution-9c21067261d2af663d762c7f655eea1a7573f1e9.tar
gsoc2013-evolution-9c21067261d2af663d762c7f655eea1a7573f1e9.tar.gz
gsoc2013-evolution-9c21067261d2af663d762c7f655eea1a7573f1e9.tar.bz2
gsoc2013-evolution-9c21067261d2af663d762c7f655eea1a7573f1e9.tar.lz
gsoc2013-evolution-9c21067261d2af663d762c7f655eea1a7573f1e9.tar.xz
gsoc2013-evolution-9c21067261d2af663d762c7f655eea1a7573f1e9.tar.zst
gsoc2013-evolution-9c21067261d2af663d762c7f655eea1a7573f1e9.zip
new function to do a uid to row mapping. (mark_msg_seen, select_msg,
* message-list.c (get_message_row): new function to do a uid to row mapping. (mark_msg_seen, select_msg, message_changed, message_list_set_folder): Update for Camel flag changes. (on_cursor_change_cmd): Rename "row_to_select" to "selected_row", and keep a "selected_uid" as well. * mail-ops.c (composer_send_cb): Update for Camel flag changes, and fix some memory-handling bugs. (Free the post_send_data when the composer is destroyed, not when the user clicks "send", which could happen never, or more than once.) (delete_msg): Update for Camel flag changes, and fix the "holding down the delete key skips some messages" bug. svn path=/trunk/; revision=3600
Diffstat (limited to 'mail/message-list.h')
-rw-r--r--mail/message-list.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
index 971aa6c37a..f40263407d 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -65,6 +65,7 @@ struct _MessageList {
CamelFolder *folder;
GPtrArray *summary_table; /* the summary of all messages */
+ GHashTable *uid_rowmap;
char *search; /* search string */
/* FIXME: This should use a better format ... */
@@ -72,8 +73,10 @@ struct _MessageList {
int match_count;
GPtrArray *summary_search_cache; /* summary info cache for searches */
+ int selected_row;
+ const char *selected_uid;
+
/* used by the idle-call to select a row */
- int row_to_select;
guint idle_id;
} ;