diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 23:30:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 23:30:11 +0800 |
commit | 1957378edf2264426c77571bde90c6bfeb7e50ce (patch) | |
tree | 30f130e50dd21bc17685edc37c3df422f3c09f07 /mail/e-mail-reader.c | |
parent | 3bdba393f75bf3073d4b3e325fc4092dc1268ea9 (diff) | |
download | gsoc2013-evolution-1957378edf2264426c77571bde90c6bfeb7e50ce.tar.gz gsoc2013-evolution-1957378edf2264426c77571bde90c6bfeb7e50ce.tar.zst gsoc2013-evolution-1957378edf2264426c77571bde90c6bfeb7e50ce.zip |
Change em_folder_tree_model_user_marked_unread() params.
Take a CamelFolder instead of a folder URI string.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 631fe5789a..9d3ca5c228 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -883,7 +883,7 @@ action_mail_mark_unread_cb (GtkAction *action, { GtkWidget *message_list; EMFolderTreeModel *model; - const gchar *folder_uri; + CamelFolder *folder; guint32 mask = CAMEL_MESSAGE_SEEN | CAMEL_MESSAGE_DELETED; guint32 set = 0; guint n_marked; @@ -900,8 +900,8 @@ action_mail_mark_unread_cb (GtkAction *action, /* Notify the tree model that the user has marked messages as * unread so it doesn't mistake the event as new mail arriving. */ model = em_folder_tree_model_get_default (); - folder_uri = e_mail_reader_get_folder_uri (reader); - em_folder_tree_model_user_marked_unread (model, folder_uri, n_marked); + folder = e_mail_reader_get_folder (reader); + em_folder_tree_model_user_marked_unread (model, folder, n_marked); } static void |