diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-08 10:04:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-08 10:04:44 +0800 |
commit | 91a6b6899e5568ed34f913bedb538dd6c9e35b32 (patch) | |
tree | 972b7185e7c71cff2eac23e7921aa6f679d9ad9b /shell/e-shell-module.c | |
parent | 03a3e6f84638c62c7848eee4d6f71cc4b1a7c1b8 (diff) | |
download | gsoc2013-evolution-91a6b6899e5568ed34f913bedb538dd6c9e35b32.tar.gz gsoc2013-evolution-91a6b6899e5568ed34f913bedb538dd6c9e35b32.tar.zst gsoc2013-evolution-91a6b6899e5568ed34f913bedb538dd6c9e35b32.zip |
Commit progress, which breaks everything.
svn path=/branches/kill-bonobo/; revision=35930
Diffstat (limited to 'shell/e-shell-module.c')
-rw-r--r-- | shell/e-shell-module.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/shell/e-shell-module.c b/shell/e-shell-module.c index 984de1bdfb..39ad1ce847 100644 --- a/shell/e-shell-module.c +++ b/shell/e-shell-module.c @@ -245,6 +245,37 @@ e_shell_module_get_view_type (EShellModule *shell_module) return shell_module->priv->info.shell_view_type; } +gboolean +e_shell_module_is_busy (EShellModule *shell_module) +{ + g_return_val_if_fail (E_IS_SHELL_MODULE (shell_module), FALSE); + + if (shell_module->priv->info.is_busy != NULL) + return shell_module->priv->info.is_busy (); + + return FALSE; +} + +gboolean +e_shell_module_shutdown (EShellModule *shell_module) +{ + g_return_val_if_fail (E_IS_SHELL_MODULE (shell_module), TRUE); + + if (shell_module->priv->info.shutdown != NULL) + return shell_module->priv->info.shutdown (); + + return TRUE; +} + +void +e_shell_module_send_and_receive (EShellModule *shell_module) +{ + g_return_if_fail (E_IS_SHELL_MODULE (shell_module)); + + if (shell_module->priv->info.send_and_receive != NULL) + shell_module->priv->info.send_and_receive (); +} + void e_shell_module_window_created (EShellModule *shell_module, EShellWindow *shell_window) @@ -267,4 +298,7 @@ e_shell_module_set_info (EShellModule *shell_module, shell_module->priv->info.aliases = g_intern_string (info->aliases); shell_module->priv->info.schemas = g_intern_string (info->schemas); shell_module->priv->info.shell_view_type = info->shell_view_type; + + shell_module->priv->info.request_quit = info->request_quit; + shell_module->priv->info.window_created = info->window_created; } |