From d9ed7a6a6366e5b47341c31409f4ac0f12aca690 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 20 Aug 2001 04:42:04 +0000 Subject: Added display_name and description to the type. * evolution-test-component.c: Added display_name and description to the type. * evolution-shell-component.c (impl__get_supported_types): Pass `display_name' and `description' here. (evolution_shell_component_construct): Likewise. * evolution-shell-component.h: New members `display_name', `description' in `EvolutionShellComponentFolderType'. * e-component-registry.c (register_type): New args @description and @display_name. Pass to `e_folder_type_registry_register_type()'. (register_component): Pass the values returned in the sequence from __get_supported_types. * e-folder-type-registry.c: New members `display_name' and `description' in `struct _FolderType'. (folder_type_new): New args @description and @display_name. Initialize the respective fields in the `FolderType' accordingly. (folder_type_free): Free `display_name' and `description'. (register_folder_type): New args @display_name, @description. (e_folder_type_registry_register_type): New args @display_name, @description. (e_folder_type_registry_get_description_for_type): New. (e_folder_type_registry_get_display_name_for_type): New. * Evolution-ShellComponent.idl: Added `display_name' and `description' fields to the `FolderType' struct. svn path=/trunk/; revision=12245 --- my-evolution/component-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'my-evolution') diff --git a/my-evolution/component-factory.c b/my-evolution/component-factory.c index 9008fe8119..bcb1f69df4 100644 --- a/my-evolution/component-factory.c +++ b/my-evolution/component-factory.c @@ -27,7 +27,7 @@ static gint running_objects = 0; static const EvolutionShellComponentFolderType folder_types[] = { - { "summary", "evolution-today.png", FALSE, NULL, NULL }, + { "summary", "evolution-today.png", N_("Summary"), N_("Folder containing the Evolution Summary"), FALSE, NULL, NULL }, { NULL, NULL } }; -- cgit v1.2.3