aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
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/mail-ops.c
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/mail-ops.c')
-rw-r--r--mail/mail-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 19f2c88972..b0b6b4cb89 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -570,7 +570,7 @@ reply (FolderBrowser *fb, gboolean to_all)
psd = g_new (struct post_send_data, 1);
psd->folder = fb->folder;
gtk_object_ref (GTK_OBJECT (psd->folder));
- psd->uid = fb->message_list->selected_uid;
+ psd->uid = fb->message_list->cursor_uid;
psd->flags = CAMEL_MESSAGE_ANSWERED;
composer = mail_generate_reply (fb->mail_display->current_message, to_all);