aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-calendar.c5
-rw-r--r--my-evolution/e-summary-mail.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 782dcf78ef..c0d4f04b82 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,5 +1,10 @@
2001-09-19 Iain Holmes <iain@ximian.com>
+ * e-summary-calendar.c (generate_html): If the appointment has an alarm
+ display a bell icon.
+
+2001-09-19 Iain Holmes <iain@ximian.com>
+
* component-factory.c (create_view): Remove spew.
* e-summary-mail.c (e_summary_mail_reconfigure): Get mail info if we
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 ("<img align=\"middle\" src=\"new_appointment.xpm\" "
+ tmp = g_strdup_printf ("<img align=\"middle\" src=\"%s\" "
"alt=\"\" width=\"16\" height=\"16\"> &#160; "
"<font size=\"-1\"><a href=\"calendar:/%s\">%s, %s</a></font><br>",
+ 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 *