diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-14 05:32:39 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-11-14 05:32:39 +0800 |
commit | 5880c00dd2fc254ea85302acd054cd57fede3966 (patch) | |
tree | 83980c1d8e170b376401ca032cf34f7e97376e34 /shell/e-shell.c | |
parent | 1627a081744129fbf8f874c290b9a18138655590 (diff) | |
download | gsoc2013-evolution-5880c00dd2fc254ea85302acd054cd57fede3966.tar.gz gsoc2013-evolution-5880c00dd2fc254ea85302acd054cd57fede3966.tar.zst gsoc2013-evolution-5880c00dd2fc254ea85302acd054cd57fede3966.zip |
New.
* e-shell.c (e_shell_send_receive): New.
* Evolution-Component.idl (Component.sendAndReceive): New.
* evolution.xml: Add back send/receive command and toolbar button.
svn path=/trunk/; revision=23334
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index e69b04a0a3..9b803efb2a 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -845,6 +845,32 @@ e_shell_go_online (EShell *shell, void +e_shell_send_receive (EShell *shell) +{ + GSList *component_list; + GSList *p; + + g_return_if_fail (E_IS_SHELL (shell)); + + component_list = e_component_registry_peek_list (shell->priv->component_registry); + + for (p = component_list; p != NULL; p = p->next) { + EComponentInfo *info = p->data; + CORBA_Environment ev; + + CORBA_exception_init (&ev); + + GNOME_Evolution_Component_sendAndReceive (info->iface, &ev); + + // Ignore errors, the components can decide to not implement + // this interface. + + CORBA_exception_free (&ev); + } +} + + +void e_shell_show_settings (EShell *shell, const char *type, EShellWindow *shell_window) |