aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.h
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.hSrinivasa Ragavan2005-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.h shell/e-shell-window.c shell/e-sidebar.h shell/e-sidebar.c addressbook/ChangeLog addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in calendar/ChangeLog calendar/gui/GNOME_Evolution_Calendar.server.in.in mail/ChangeLog mail/GNOME_Evolution_Mail.server.in.in Added support for tooltips for component switching buttons. svn path=/trunk/; revision=29358
* ** See #58827.Not Zed2004-06-011-4/+7
| | | | | | | | | | | | | | | | | | | | | 2004-05-27 Not Zed <NotZed@Ximian.com> ** 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
* use the menu icon not the button icon for the menus. (setup_widgets):Not Zed2004-05-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * e-shell-window.c (setup_widgets): use the menu icon not the button icon for the menus. (setup_widgets): fixed some i18n stuff with the menu xml. no use putting _x stuff here, it also needs a source. And a memleak. Yucko. * e-component-registry.c (component_info_new): take menu icon. (query_components): setup the menu icon, not a large toolbar sized icon. * e-shell-window.c (menu_component_selected): just use '-' as ascii, its always going to be hte same in utf8. simplifies the code somewhat. 2004-05-05 William Jon McCann <mccann@jhu.edu> * e-shell-window.c (menu_component_selected, setup_widgets): Add components to View menu. * e-component-registry.[ch] (component_info_new) (component_info_free, query_components): Add menu_label and menu_accelerator fields. svn path=/trunk/; revision=25972
* Reimplemented using EComponentRegistry.Ettore Perazzoli2003-11-211-6/+10
| | | | | | | | | | | | | * e-shell.c (impl_Shell_handleURI): Reimplemented using EComponentRegistry. * main.c (idle_cb): Create a new window even if we have a URI list. * e-component-registry.c (e_component_registry_peek_info_for_uri_schema): New. svn path=/trunk/; revision=23461
* Free ->uri_schemas. (set_schemas): New function to get the list of URIEttore Perazzoli2003-11-201-0/+3
| | | | | | | | | | | | | | | * e-component-registry.c (component_info_free): Free ->uri_schemas. (set_schemas): New function to get the list of URI schemas given a component's ServerInfo. (query_components): Call it. * e-component-registry.h (struct _EComponentInfo): Add "uri_schemas" member. * Evolution-Component.idl (Component.handleURI): New method. svn path=/trunk/; revision=23447
* New member "component_alias". (component_view_new): Get a new "alias" arg,Ettore Perazzoli2003-11-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-window.c (struct _ComponentView): New member "component_alias". (component_view_new): Get a new "alias" arg, set the member in the struct accordingly. (component_view_free): Free ->component_alias. (setup_widgets): Pass the alias from the ComponentInfo to e_component_view(). (switch_view): New utility function. (sidebar_button_selected_callback): Use it. (e_shell_window_switch_to_component): New public function. (e_shell_window_new): Switch to the component whose id is in the /apps/evolution/shell/view_defaults/component_id GConf key. * apps_evolution_shell.schemas: Removed view_defaults/folder_path. New key view_defaults/component_id. * e-component-registry.c (component_info_free): Free ->alias. (component_info_new): Get an "alias" arg and set the member accordingly. (query_components): Remove debugging messages. Get an "evolution:component_alias" property from the component and set the alias from that. * e-component-registry.h (struct _EComponentInfo): New member "alias". svn path=/trunk/; revision=23265
* New member "component_registry". (e_shell_construct): Don't callEttore Perazzoli2003-10-231-25/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (struct _EShellPrivate): New member "component_registry". (e_shell_construct): Don't call e_shell_unregister_all(). (e_shell_unregister_all): Removed. (e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE assignments. (e_shell_init): Initialize the component_registry. (e_shell_peek_uri_schema_registry): Rename from e_shell_get_uri_schema_registry. (e_shell_peek_component_registry): New. (setup_components): Remove. (e_shell_construct): Don't call. * main.c (no_windows_left_cb): Don't call e_shell_unregister_all(). * e-shell.c (parse_default_uri): Removed. (parse_evolution_uri): Removed. (e_shell_parse_uri): Removed. * e-component-info.c: Remove. * e-component-info.h: Remove. svn path=/trunk/; revision=23017
* e-shell-user-creatable-items-handler.c, Changed into a GObject subclassEttore Perazzoli2002-11-151-2/+2
| | | | | | | | | | | | | | | | | | * e-shell-user-creatable-items-handler.c, * e-shell-user-creatable-items-handler.c: Changed into a GObject subclass instead of a GtkObject subclass. * e-component-registry.c, * e-component-registri.h: Changed into a GObject subclass instead of a GtkObject subclass. * evolution-shell-view.c (impl_ShellView_set_message): Remove bogus GTK_OBJECT() cast in call to g_signal_emit(). (impl_ShellView_unset_message): Likewise. (impl_ShellView_change_current_view): Likewise. (impl_ShellView_set_title): Likewise. svn path=/trunk/; revision=18769
* Change type of parent_class to BonoboXObjectClass.Ettore Perazzoli2002-04-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix the license text to make sense.Ettore Perazzoli2001-10-271-1/+0
| | | | svn path=/trunk/; revision=14192
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | explicitly. svn path=/trunk/; revision=14186
* If setting the owner fails, print the a warning message out. Then restartEttore Perazzoli2001-10-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add the menu items using the EShellUserCreatableItemsHandler.Ettore Perazzoli2001-08-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Add the menu items using the EShellUserCreatableItemsHandler. * e-shell-user-creatable-items-handler.c: New. * e-shell-user-creatable-items-handler.h: New. * e-shell.c: New member `user_creatable_items_handler' in `EShellPrivate'. (init): Initialize to NULL. (destroy): Unref. (e_shell_construct): Create here. (e_shell_get_user_creatable_items_handler): New accessor. (setup_components): Add the registered components to the user_creatable_items_handler. * evolution-test-component.c (factory_fn): Add a couple sample user-creatable items. (user_create_new_item_callback): New callback for the "user_create_new_item" signal on the EvolutionShellComponent. (factory_fn): Connect. * e-shell.c (e_shell_get_component_registry): New. * evolution-shell-component.c: New enum value `USER_CREATE_NEW_ITEM'. New member `user_create_item_types' in `_EvolutionShellComponentPrivate'. (init): Init to NULL. (impl_destroy): Free it. (user_creatable_item_type_free): New helper function. (user_creatable_item_type_new): New helper function. (impl_userCreateNewItem): New, implementation for ::userCreateNewItem. (class_init): Install the "user_create_new_item" signal and the userCreateNewItem impl. (impl__get_external_uri_schemas): Renamed from `impl_ShellComponent__get_external_uri_schemas'. (impl___get_supported_types): Renamed from `impl_ShellComponent__get_supported_types'. (impl__get_user_creatable_item_types): New, implementation for the `user_creatable_item_types' attribute. (class_init): Install it. (evolution_shell_component_add_user_creatable_item): New. * evolution-shell-component.h: Added signal `user_create_new_item'. * Evolution-ShellComponent.idl: Added typedefs `UserCreatableItemType', `UserCreatableItemTypeList'. New attribute `user_creatable_item_types'. (userCreateNewItem): New. svn path=/trunk/; revision=11849
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Remove <config.h> #includes from the `.h' files, which is known to be,Ettore Perazzoli2001-02-061-4/+0
| | | | | | um, a wrong thing to do. svn path=/trunk/; revision=7983
* Add support for saving the current configuration of all theEttore Perazzoli2000-07-201-6/+11
| | | | | | components. svn path=/trunk/; revision=4237
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-251-0/+74
folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199