aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-tasks.c
diff options
context:
space:
mode:
authorJack Jia <jack.jia@sun.com>2003-08-18 09:49:16 +0800
committerJack Jia <jackjia@src.gnome.org>2003-08-18 09:49:16 +0800
commit1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c (patch)
tree5e424d1368c060565170826b17a435c0f00bbe64 /my-evolution/e-summary-tasks.c
parent87b5d92a77b11d4441b786763b5f409d903cf9c3 (diff)
downloadgsoc2013-evolution-1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c.tar
gsoc2013-evolution-1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c.tar.gz
gsoc2013-evolution-1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c.tar.bz2
gsoc2013-evolution-1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c.tar.lz
gsoc2013-evolution-1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c.tar.xz
gsoc2013-evolution-1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c.tar.zst
gsoc2013-evolution-1b1404afa3555f751ab78cc8e4f84ebf6b52bc2c.zip
[Fixed bug #47563]
2003-08-18 Jack Jia <jack.jia@sun.com> [Fixed bug #47563] * e-summary-tasks.c (setup_task_folder) : set a default value for the tasks->due_today_colour and tasks->overdue_colour, if the key in gconf is NULL. and change the key name from TasksDueTodayi to due_today, from TasksOverdue to overdue, in order to coincide with the key in e-summary-tasks.c(setup_task_folder).In this way, it can avoid crash on solaris. svn path=/trunk/; revision=22258
Diffstat (limited to 'my-evolution/e-summary-tasks.c')
-rw-r--r--my-evolution/e-summary-tasks.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c
index 87697349d5..e5f61cc343 100644
--- a/my-evolution/e-summary-tasks.c
+++ b/my-evolution/e-summary-tasks.c
@@ -485,9 +485,14 @@ setup_task_folder (ESummary *summary)
g_free (tasks->default_uri);
tasks->due_today_colour = gconf_client_get_string (tasks->gconf_client,
- "/apps/evolution/calendar/tasks/colors/TasksDueToday", NULL);
+ "/apps/evolution/calendar/tasks/colors/due_today", NULL);
+ if (!tasks->due_today_colour)
+ tasks->due_today_colour = g_strdup ("blue");
+
tasks->overdue_colour = gconf_client_get_string (tasks->gconf_client,
- "/apps/evolution/calendar/tasks/colors/TasksOverdue", NULL);
+ "/apps/evolution/calendar/tasks/colors/overdue", NULL);
+ if (!tasks->overdue_colour)
+ tasks->overdue_colour = g_strdup ("red");
tasks->default_uri = gconf_client_get_string (tasks->gconf_client,
"/apps/evolution/shell/default_folders/tasks_path", NULL);