aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalvin Liu <calvin.liu@sun.com>2003-09-08 11:39:48 +0800
committerAntonio Xu <anto@src.gnome.org>2003-09-08 11:39:48 +0800
commitdc0d7693719aa6a113d3c4960ae467bbd63a02c9 (patch)
tree3a064e64040a296271705d618667c6234985ff21
parent53533d98144866fdd76cb9d0086709365343d0f7 (diff)
downloadgsoc2013-evolution-dc0d7693719aa6a113d3c4960ae467bbd63a02c9.tar
gsoc2013-evolution-dc0d7693719aa6a113d3c4960ae467bbd63a02c9.tar.gz
gsoc2013-evolution-dc0d7693719aa6a113d3c4960ae467bbd63a02c9.tar.bz2
gsoc2013-evolution-dc0d7693719aa6a113d3c4960ae467bbd63a02c9.tar.lz
gsoc2013-evolution-dc0d7693719aa6a113d3c4960ae467bbd63a02c9.tar.xz
gsoc2013-evolution-dc0d7693719aa6a113d3c4960ae467bbd63a02c9.tar.zst
gsoc2013-evolution-dc0d7693719aa6a113d3c4960ae467bbd63a02c9.zip
** For bug #48175 set default value for colour if it's empty
2003-09-08 Calvin Liu <calvin.liu@sun.com> ** For bug #48175 * e-summary-tasks.c: set default value for colour if it's empty svn path=/trunk/; revision=22480
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-tasks.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 00bb0b4b3b..e3c7b0c1fd 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-08 Calvin Liu <calvin.liu@sun.com>
+
+ ** For bug #48175
+ * e-summary-tasks.c: set default value for colour if it's empty
+
2003-08-26 Rodrigo Moya <rodrigo@ximian.com>
* e-summary-tasks.c:
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c
index 86a6026d9c..e7c4ee6b07 100644
--- a/my-evolution/e-summary-tasks.c
+++ b/my-evolution/e-summary-tasks.c
@@ -384,7 +384,7 @@ generate_html (gpointer data)
tmp = g_strdup_printf ("<img align=\"middle\" src=\"task.png\" "
"alt=\"\" width=\"16\" height=\"16\"> &#160; "
"<a href=\"tasks:/%s\"><font size=\"-1\" color=\"%s\">%s</font></a><br>",
- uid, colour, text.value ? text.value : _("(No Description)"));
+ uid, colour ? colour : _("blue"), text.value ? text.value : _("(No Description)"));
} else {
#if 0
tmp = g_strdup_printf ("<img align=\"middle\" src=\"task.xpm\" "