From 86061f37b43ef2206b0d995756ae785d0997a9ef Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Wed, 19 Sep 2001 22:30:41 +0000 Subject: Display a bell icon if there's an alarm set svn path=/trunk/; revision=12995 --- my-evolution/ChangeLog | 5 +++++ my-evolution/e-summary-calendar.c | 5 +++-- my-evolution/e-summary-mail.c | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'my-evolution') diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 782dcf78ef..c0d4f04b82 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,8 @@ +2001-09-19 Iain Holmes + + * e-summary-calendar.c (generate_html): If the appointment has an alarm + display a bell icon. + 2001-09-19 Iain Holmes * component-factory.c (create_view): Remove spew. diff --git a/my-evolution/e-summary-calendar.c b/my-evolution/e-summary-calendar.c index d06496209b..e869b71d94 100644 --- a/my-evolution/e-summary-calendar.c +++ b/my-evolution/e-summary-calendar.c @@ -192,7 +192,7 @@ generate_html (gpointer data) CalComponentText text; time_t start_t; struct tm *start_tm; - char *start_str; + char *start_str, *img; event = uidarray->pdata[i]; cal_component_get_summary (event->comp, &text); @@ -206,9 +206,10 @@ generate_html (gpointer data) strftime (start_str, 19, _("%l:%M %d %B"), start_tm); } - tmp = g_strdup_printf ("   " "%s, %s
", + cal_component_has_alarms (event->comp) ? "es-appointments.png" : "new_appointment.xpm", event->uid, start_str, text.value); g_free (start_str); diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c index 0ed54ad407..27a1ff3e53 100644 --- a/my-evolution/e-summary-mail.c +++ b/my-evolution/e-summary-mail.c @@ -49,7 +49,7 @@ typedef struct _ESummaryMailFolder { int count; int unread; - gboolean init; + gboolean init; /* Has this folder been initialised? */ } ESummaryMailFolder; const char * -- cgit v1.2.3