From e0862e69a791b6eae6b35e6d93c28fdd2c92eee1 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 1 Jun 2004 04:16:26 +0000 Subject: ** See #58827. 2004-05-27 Not Zed ** See #58827. * e-shell-window.c (switch_view): api change * e-shell.c (impl_Shell_handleURI): Fixed for api change. (impl_Shell_handleURI): check the component alias for an alternate uri schema path. 'quick hack' for activating components from command line. This may, or may not, continue to function. * e-component-registry.c (e_component_registry_peek_info): added an id for search type. (e_component_registry_peek_info_for_uri_schema): ^ makes this redundant, removed. (e_component_registry_activate): fixed for api change. svn path=/trunk/; revision=26137 --- shell/e-component-registry.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'shell/e-component-registry.h') diff --git a/shell/e-component-registry.h b/shell/e-component-registry.h index 470fee289d..f4ba0df912 100644 --- a/shell/e-component-registry.h +++ b/shell/e-component-registry.h @@ -57,6 +57,11 @@ struct _EComponentRegistryClass { GObjectClass parent_class; }; +enum _EComponentRegistryField { + ECR_FIELD_ID, + ECR_FIELD_ALIAS, + ECR_FIELD_SCHEMA, +}; struct _EComponentInfo { char *id; @@ -85,10 +90,8 @@ EComponentRegistry *e_component_registry_new (void); GSList *e_component_registry_peek_list (EComponentRegistry *registry); EComponentInfo *e_component_registry_peek_info (EComponentRegistry *registry, - const char *id); - -EComponentInfo *e_component_registry_peek_info_for_uri_schema (EComponentRegistry *registry, - const char *schema); + enum _EComponentRegistryField type, + const char *key); GNOME_Evolution_Component e_component_registry_activate (EComponentRegistry *registry, const char *id, -- cgit