From 263cc3a01f8afb748a5fb3b6689e6c4b87fc7bf5 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 30 Jun 2000 17:46:48 +0000 Subject: 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 --- mail/message-list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/message-list.h') 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; -- cgit