From a63a9dbb82cddad30c25cec46df4220a94e6f296 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 23 Feb 2009 03:21:04 +0000 Subject: Make filter options for mail labels work again. Define a new shell module method named start() that tells the module when to start loading data and running background tasks. Only really applies to the mail module right now since the others use evolution-data-server. Basically it prevents the mail module from loading and refreshing mail stores until you actually switch to the mail view. svn path=/branches/kill-bonobo/; revision=37309 --- calendar/modules/e-cal-shell-module.c | 1 + calendar/modules/e-memo-shell-module.c | 1 + calendar/modules/e-task-shell-module.c | 1 + 3 files changed, 3 insertions(+) (limited to 'calendar/modules') diff --git a/calendar/modules/e-cal-shell-module.c b/calendar/modules/e-cal-shell-module.c index 9d78f6e6c8..b3d296c3b0 100644 --- a/calendar/modules/e-cal-shell-module.c +++ b/calendar/modules/e-cal-shell-module.c @@ -507,6 +507,7 @@ static EShellModuleInfo module_info = { MODULE_SCHEMES, MODULE_SORT_ORDER, + /* start */ NULL, /* is_busy */ NULL, /* shutdown */ NULL, e_cal_shell_module_migrate diff --git a/calendar/modules/e-memo-shell-module.c b/calendar/modules/e-memo-shell-module.c index 8c373f6604..873bdb26d0 100644 --- a/calendar/modules/e-memo-shell-module.c +++ b/calendar/modules/e-memo-shell-module.c @@ -479,6 +479,7 @@ static EShellModuleInfo module_info = { MODULE_SCHEMES, MODULE_SORT_ORDER, + /* start */ NULL, /* is_busy */ NULL, /* shutdown */ NULL, e_memo_shell_module_migrate diff --git a/calendar/modules/e-task-shell-module.c b/calendar/modules/e-task-shell-module.c index 9c6258a156..345150222a 100644 --- a/calendar/modules/e-task-shell-module.c +++ b/calendar/modules/e-task-shell-module.c @@ -486,6 +486,7 @@ static EShellModuleInfo module_info = { MODULE_SCHEMES, MODULE_SORT_ORDER, + /* start */ NULL, /* is_busy */ NULL, /* shutdown */ NULL, e_task_shell_module_migrate -- cgit v1.2.3