aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-01 01:46:48 +0800
committerDan Winship <danw@src.gnome.org>2000-07-01 01:46:48 +0800
commit263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5 (patch)
treed222300a1e662f926f07ebef96f33a495852dfa8 /mail/message-list.h
parentac6baa408e751313bdba2672d522b0ae7f38477d (diff)
downloadgsoc2013-evolution-263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5.tar
gsoc2013-evolution-263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5.tar.gz
gsoc2013-evolution-263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5.tar.bz2
gsoc2013-evolution-263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5.tar.lz
gsoc2013-evolution-263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5.tar.xz
gsoc2013-evolution-263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5.tar.zst
gsoc2013-evolution-263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5.zip
use the ETable row_selection signal to track how many rows are selected.
* message-list.c (on_row_selection): use the ETable row_selection signal to track how many rows are selected. Eventually we will use this info to disable toolbar buttons when you have too few/too many messages selected, but the current toolbar widget doesn't allow that. * message-list.h, message-list.c, mail-ops.c: Change selected_row and selected_uid fields of MessageList to cursor_row and cursor_uid to be more correct according to the new ETable interfaces. svn path=/trunk/; revision=3829
Diffstat (limited to 'mail/message-list.h')
-rw-r--r--mail/message-list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
index 033f0ca23a..d01021d14c 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -73,8 +73,8 @@ struct _MessageList {
int match_count;
GPtrArray *summary_search_cache; /* summary info cache for searches */
- int selected_row;
- const char *selected_uid;
+ int cursor_row, rows_selected;
+ const char *cursor_uid;
/* row-selection and seen-marking timers */
guint idle_id, seen_id;