aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-04-04 21:35:26 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-04-04 21:35:26 +0800
commitf9b9c12b3bb8671cdebfa1d6de3a1f3d50bae024 (patch)
treeb5fe40a8e14f7b35ebd17219afa0a6d20a9f199f /shell/e-component-registry.h
parent18a565511459193ef135e4d4d06cea57e56fda5a (diff)
downloadgsoc2013-evolution-f9b9c12b3bb8671cdebfa1d6de3a1f3d50bae024.tar.gz
gsoc2013-evolution-f9b9c12b3bb8671cdebfa1d6de3a1f3d50bae024.tar.zst
gsoc2013-evolution-f9b9c12b3bb8671cdebfa1d6de3a1f3d50bae024.zip
Change type of parent_class to BonoboXObjectClass.
* evolution-shell-component.c: Change type of parent_class to BonoboXObjectClass. * e-shell.c (pop_up_activation_error_dialog): New helper function to pop up a dialog if one of the components couldn't be activated, getting the description for the error from e_get_activation_failure_msg(). (setup_components): Use this function in case of activation error. (set_owner_on_components): Likewise, when the component gets restarted. Also get a @splash arg so we can set the parent for this dialog correctly. * e-component-registry.c (register_component): New arg @ev. (e_component_registry_register_component): Likewise. (e_component_registry_restart_component): Likewise. Also, remove some bogus code that was #if'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): New arg @ev. * evolution-shell-component-utils.c (e_get_activation_failure_msg): New. svn path=/trunk/; revision=16342
Diffstat (limited to 'shell/e-component-registry.h')
-rw-r--r--shell/e-component-registry.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-component-registry.h b/shell/e-component-registry.h
index f5193d8be7..84e802bf3b 100644
--- a/shell/e-component-registry.h
+++ b/shell/e-component-registry.h
@@ -61,7 +61,8 @@ void e_component_registry_construct (ECompo
EComponentRegistry *e_component_registry_new (EShell *shell);
gboolean e_component_registry_register_component (EComponentRegistry *component_registry,
- const char *id);
+ const char *id,
+ CORBA_Environment *ev);
GList *e_component_registry_get_id_list (EComponentRegistry *component_registry);
@@ -69,7 +70,8 @@ EvolutionShellComponentClient *e_component_registry_get_component_by_id (ECompo
const char *id);
EvolutionShellComponentClient *e_component_registry_restart_component (EComponentRegistry *component_registry,
- const char *id);
+ const char *id,
+ CORBA_Environment *ev);
#ifdef __cplusplus
}