[evolution/express2-daemon: 3/9] Add CamelFolder to TargetFolder. This is what we use for MeeGo specific events.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express2-daemon: 3/9] Add CamelFolder to TargetFolder. This is what we use for MeeGo specific events.
- Date: Thu, 17 Jun 2010 08:05:35 +0000 (UTC)
commit 3ed7c9c10eb15294c97222a169aa1c08f5ef0bc8
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Thu Jun 17 08:53:47 2010 +0530
Add CamelFolder to TargetFolder. This is what we use for MeeGo specific
events.
mail/em-event.c | 3 ++-
mail/em-event.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/mail/em-event.c b/mail/em-event.c
index 7cb4c19..d14ccdd 100644
--- a/mail/em-event.c
+++ b/mail/em-event.c
@@ -139,13 +139,14 @@ EMEvent *em_event_peek(void)
}
EMEventTargetFolder *
-em_event_target_new_folder (EMEvent *eme, const gchar *uri, guint new, const gchar *msg_uid, const gchar *msg_sender, const gchar *msg_subject)
+em_event_target_new_folder (EMEvent *eme, CamelFolder *folder, const gchar *uri, guint new, const gchar *msg_uid, const gchar *msg_sender, const gchar *msg_subject)
{
EMEventTargetFolder *t = e_event_target_new(&eme->popup, EM_EVENT_TARGET_FOLDER, sizeof(*t));
guint32 flags = new ? EM_EVENT_FOLDER_NEWMAIL : 0;
t->uri = g_strdup (uri);
t->target.mask = ~flags;
+ t->folder = folder;
t->new = new;
t->msg_uid = g_strdup (msg_uid);
t->msg_sender = g_strdup (msg_sender);
diff --git a/mail/em-event.h b/mail/em-event.h
index de58d26..5f59dd7 100644
--- a/mail/em-event.h
+++ b/mail/em-event.h
@@ -73,6 +73,7 @@ typedef struct _EMEventTargetFolder EMEventTargetFolder;
struct _EMEventTargetFolder {
EEventTarget target;
+ CamelFolder *folder;
gchar *uri;
guint new;
gboolean is_inbox;
@@ -139,7 +140,7 @@ GType em_event_get_type(void);
EMEvent *em_event_peek(void);
-EMEventTargetFolder *em_event_target_new_folder (EMEvent *emp, const gchar *uri, guint32 count_new_msgs, const gchar *msg_uid, const gchar *msg_sender, const gchar *msg_subject);
+EMEventTargetFolder *em_event_target_new_folder (EMEvent *emp, CamelFolder *folder, const gchar *uri, guint32 count_new_msgs, const gchar *msg_uid, const gchar *msg_sender, const gchar *msg_subject);
EMEventTargetComposer *em_event_target_new_composer(EMEvent *emp, const EMsgComposer *composer, guint32 flags);
EMEventTargetMessage *em_event_target_new_message(EMEvent *emp, CamelFolder *folder, CamelMimeMessage *message, const gchar *uid, guint32 flags,
EMsgComposer *composer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]