[evolution] Bug #602081 - Runtime warnings when going to Tasks



commit 5cbd8e635954b1ce6c115757cb241a6138228ad3
Author: Milan Crha <mcrha redhat com>
Date:   Fri Nov 20 11:32:32 2009 +0100

    Bug #602081 - Runtime warnings when going to Tasks

 modules/calendar/e-task-shell-view-private.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c
index 80a6872..532b357 100644
--- a/modules/calendar/e-task-shell-view-private.c
+++ b/modules/calendar/e-task-shell-view-private.c
@@ -331,12 +331,6 @@ e_task_shell_view_private_constructed (ETaskShellView *task_shell_view)
 		(GHookFunc) e_task_shell_view_update_search_filter,
 		task_shell_view);
 
-	task_shell_view_update_timeout_cb (task_shell_view);
-	priv->update_timeout = g_timeout_add_full (
-		G_PRIORITY_LOW, 60000, (GSourceFunc)
-		task_shell_view_update_timeout_cb,
-		task_shell_view, NULL);
-
 	/* Listen for configuration changes. */
 
 	e_mutual_binding_new (
@@ -361,6 +355,13 @@ e_task_shell_view_private_constructed (ETaskShellView *task_shell_view)
 	e_task_shell_view_update_sidebar (task_shell_view);
 	e_task_shell_view_update_search_filter (task_shell_view);
 	e_task_shell_view_update_timezone (task_shell_view);
+
+	/* call this when everything is ready, like actions in action groups and such */
+	task_shell_view_update_timeout_cb (task_shell_view);
+	priv->update_timeout = g_timeout_add_full (
+		G_PRIORITY_LOW, 60000, (GSourceFunc)
+		task_shell_view_update_timeout_cb,
+		task_shell_view, NULL);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]