aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-calendar.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-20 06:30:41 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-20 06:30:41 +0800
commit86061f37b43ef2206b0d995756ae785d0997a9ef (patch)
treece7c269b21abc250113af9d4694b9c4d73dc0171 /my-evolution/e-summary-calendar.c
parent728505319e43258b4cd81b6010f7d3cbfe8606b3 (diff)
downloadgsoc2013-evolution-86061f37b43ef2206b0d995756ae785d0997a9ef.tar
gsoc2013-evolution-86061f37b43ef2206b0d995756ae785d0997a9ef.tar.gz
gsoc2013-evolution-86061f37b43ef2206b0d995756ae785d0997a9ef.tar.bz2
gsoc2013-evolution-86061f37b43ef2206b0d995756ae785d0997a9ef.tar.lz
gsoc2013-evolution-86061f37b43ef2206b0d995756ae785d0997a9ef.tar.xz
gsoc2013-evolution-86061f37b43ef2206b0d995756ae785d0997a9ef.tar.zst
gsoc2013-evolution-86061f37b43ef2206b0d995756ae785d0997a9ef.zip
Display a bell icon if there's an alarm set
svn path=/trunk/; revision=12995
Diffstat (limited to 'my-evolution/e-summary-calendar.c')
-rw-r--r--my-evolution/e-summary-calendar.c5
1 files changed, 3 insertions, 2 deletions
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);