From f9b9c12b3bb8671cdebfa1d6de3a1f3d50bae024 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 4 Apr 2002 13:35:26 +0000 Subject: 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 --- shell/evolution-shell-component-client.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/evolution-shell-component-client.h') diff --git a/shell/evolution-shell-component-client.h b/shell/evolution-shell-component-client.h index 33b8cd92d3..19e79f8dbe 100644 --- a/shell/evolution-shell-component-client.h +++ b/shell/evolution-shell-component-client.h @@ -65,7 +65,8 @@ GtkType evolution_shell_component_client_get_type (void void evolution_shell_component_client_construct (EvolutionShellComponentClient *shell_component_client, const char *id, CORBA_Object corba_object); -EvolutionShellComponentClient *evolution_shell_component_client_new (const char *id); +EvolutionShellComponentClient *evolution_shell_component_client_new (const char *id, + CORBA_Environment *optional_ev); /* Properties. */ -- cgit v1.2.3