aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-20 18:32:32 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-20 18:32:32 +0800
commit5cbd8e635954b1ce6c115757cb241a6138228ad3 (patch)
tree47ede0b95b7418e847173672b77b799fca72304b
parenta085eae9954d2621215b8a78367d29af941bdca7 (diff)
downloadgsoc2013-evolution-5cbd8e635954b1ce6c115757cb241a6138228ad3.tar
gsoc2013-evolution-5cbd8e635954b1ce6c115757cb241a6138228ad3.tar.gz
gsoc2013-evolution-5cbd8e635954b1ce6c115757cb241a6138228ad3.tar.bz2
gsoc2013-evolution-5cbd8e635954b1ce6c115757cb241a6138228ad3.tar.lz
gsoc2013-evolution-5cbd8e635954b1ce6c115757cb241a6138228ad3.tar.xz
gsoc2013-evolution-5cbd8e635954b1ce6c115757cb241a6138228ad3.tar.zst
gsoc2013-evolution-5cbd8e635954b1ce6c115757cb241a6138228ad3.zip
Bug #602081 - Runtime warnings when going to Tasks
-rw-r--r--modules/calendar/e-task-shell-view-private.c13
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 80a68729b0..532b357b02 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