Commit Graph

5 Commits

Author SHA1 Message Date
1b235d03d5 Display the default view only if we are starting our own shell, or if the
* main.c (idle_cb): Display the default view only if we are
starting our own shell, or if the command-line has no arguments
and we are talking to an already existing shell.

* e-uri-schema-registry.c
(e_uri_schema_registry_set_handler_for_schema): Do not return a
value.

svn path=/trunk/; revision=13611
2001-10-12 03:48:22 +00:00
fc1e5673bb If setting the owner fails, print the a warning message out. Then restart
* e-shell.c (set_owner_on_components): If setting the owner fails,
print the a warning message out.  Then restart the component.

* e-component-registry.c (component_free): Return a boolean value.
%FALSE if ::unsetOwner raises an exception.
(register_type): New arg @override_duplicate, to avoid complaining
if a component gets re-registered.
(register_component): Likewise.
(e_component_registry_restart_component): New.

* e-uri-schema-registry.c
(e_uri_schema_registry_set_handler_for_schema): Changed return
type to `void'.  Just remove the old handler and set up the new
one.

* evolution-shell-component-client.c (corba_exception_to_result):
Translate ::OldOwnerHasDied into
EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED.

* evolution-shell-component.h: New enum value
`EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED'.

* evolution-shell-component.c (impl_setOwner): If the old owner is
not alive anymore [use CORBA_Object_non_existent() to figure this
out], emit OWNER_UNSET and raise `OldOwnerHasDied'.
(evolution_shell_component_result_to_string): New.

* Evolution-ShellComponent.idl: New exception `OldOwnerHasDied'.
(ShellComponent::setOwner): Can raise it.

* e-folder-type-registry.c
(e_folder_type_register_type_registered): New.
(e_folder_type_register_unregister_type): New.

svn path=/trunk/; revision=13446
2001-10-05 17:49:35 +00:00
acb62e85ec Make the EUriSchemaRegistry object non-floating at construction time.
svn path=/trunk/; revision=10658
2001-07-01 18:49:29 +00:00
268c7dbe42 Make the shell to be able to display URIs that the user specified on
the command-line.

svn path=/trunk/; revision=10554
2001-06-28 04:50:02 +00:00
764cfb5a6b Added a URI schema registry to the shell, and changed the bootstrap
sequence to get the schema lists from the components and register them
into it.

svn path=/trunk/; revision=10553
2001-06-28 02:22:40 +00:00