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
This commit is contained in:
Jack Jia
2003-08-18 01:49:16 +00:00
committed by Jack Jia
parent 87b5d92a77
commit 1b1404afa3
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,14 @@
2003-08-12 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.
2003-08-11 Ettore Perazzoli <ettore@ximian.com>
Patch from Lorenzo Gil Sanchez <lgs@sicem.biz>

View File

@ -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);