aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-event.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-03 15:45:12 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-05-03 15:45:12 +0800
commitc12711e656c8658402a084e2d0099c702ea1064d (patch)
tree7e64e6704817b060c71e44f915669fcc7dc775fb /mail/em-event.c
parent2cbfce7757da1bf0ead6af738c425796f37a6293 (diff)
downloadgsoc2013-evolution-c12711e656c8658402a084e2d0099c702ea1064d.tar.gz
gsoc2013-evolution-c12711e656c8658402a084e2d0099c702ea1064d.tar.zst
gsoc2013-evolution-c12711e656c8658402a084e2d0099c702ea1064d.zip
Improvements to the new mail hook.
svn path=/trunk/; revision=33470
Diffstat (limited to 'mail/em-event.c')
-rw-r--r--mail/em-event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-event.c b/mail/em-event.c
index 0fae713277..2e7673a62c 100644
--- a/mail/em-event.c
+++ b/mail/em-event.c
@@ -136,12 +136,14 @@ EMEvent *em_event_peek(void)
}
EMEventTargetFolder *
-em_event_target_new_folder (EMEvent *eme, const char *uri, guint32 flags)
+em_event_target_new_folder (EMEvent *eme, const char *uri, unsigned int new)
{
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->new = new;
return t;
}