aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/ChangeLog4
-rw-r--r--my-evolution/e-summary-tasks.c8
2 files changed, 12 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index e17d9dc368..036dbefe41 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,5 +1,9 @@
2002-08-14 Iain <iain@ximian.com>
+ * e-summary-tasks.c (sort_uids): Sort the tasks in the correct order.
+
+2002-08-14 Iain <iain@ximian.com>
+
* e-summary-tasks.c (get_task_colour): Return the stored task colour.
(e_summary_tasks_init): Get the colour for overdue and todays tasks
from the wombat.
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c
index 126935c022..b704ce1cf9 100644
--- a/my-evolution/e-summary-tasks.c
+++ b/my-evolution/e-summary-tasks.c
@@ -164,6 +164,14 @@ sort_uids (gconstpointer a,
if (pri_b == NULL)
pri_b = &lowest;
+ if (*pri_a == 0) {
+ *pri_a = lowest;
+ }
+
+ if (*pri_b == 0) {
+ *pri_b = lowest;
+ }
+
rv = *pri_a - *pri_b;
if (pri_a != &lowest)