aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar')
-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