aboutsummaryrefslogtreecommitdiffstats
path: root/shell/test
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-23 11:21:04 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-23 11:21:04 +0800
commita63a9dbb82cddad30c25cec46df4220a94e6f296 (patch)
tree4031162b55e77a45a2439c78480e9826762b305b /shell/test
parente0ffe55ce596c6319016004dfe3350b0d7cc762d (diff)
downloadgsoc2013-evolution-a63a9dbb82cddad30c25cec46df4220a94e6f296.tar
gsoc2013-evolution-a63a9dbb82cddad30c25cec46df4220a94e6f296.tar.gz
gsoc2013-evolution-a63a9dbb82cddad30c25cec46df4220a94e6f296.tar.bz2
gsoc2013-evolution-a63a9dbb82cddad30c25cec46df4220a94e6f296.tar.lz
gsoc2013-evolution-a63a9dbb82cddad30c25cec46df4220a94e6f296.tar.xz
gsoc2013-evolution-a63a9dbb82cddad30c25cec46df4220a94e6f296.tar.zst
gsoc2013-evolution-a63a9dbb82cddad30c25cec46df4220a94e6f296.zip
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
Diffstat (limited to 'shell/test')
-rw-r--r--shell/test/e-test-shell-module.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/test/e-test-shell-module.c b/shell/test/e-test-shell-module.c
index a7d2389fb7..0098866400 100644
--- a/shell/test/e-test-shell-module.c
+++ b/shell/test/e-test-shell-module.c
@@ -69,6 +69,12 @@ static GtkActionEntry source_entries[] = {
G_CALLBACK (action_test_source_new_cb) }
};
+static void
+test_module_start (EShellModule *shell_module)
+{
+ g_debug ("%s", G_STRFUNC);
+}
+
static gboolean
test_module_is_busy (EShellModule *shell_module)
{
@@ -149,6 +155,7 @@ static EShellModuleInfo module_info = {
MODULE_SORT_ORDER,
/* Methods */
+ test_module_start,
test_module_is_busy,
test_module_shutdown,
test_module_migrate