Files
evolution/shell
Ettore Perazzoli ec3f54257d Pass "contacts" as the @folder_type to
* gui/component/addressbook-component.c (add_creatable_item): Pass
"contacts" as the @folder_type to
evolution_shell_component_add_user_creatable_item().

* gui/component-factory.c (add_creatable_item): New arg
@folder_type, pass it to
evolution_shell_component_add_user_creatable_item().
(create_object): Set the right folder types for the various
user-creatable items.

* component-factory.c (create_component): Pass "mail" as
@folder_type to
evolution_shell_component_add_user_creatable_item().

* evolution-test-component.c (register_component): Pass NULL for
@folder_type to
evolution_shell_component_add_user_creatable_item().

* e-shell-user-creatable-items-handler.c: New member folder_type
in struct MenuItem.
(ensure_menu_items): Initialize ->folder_type.
(item_is_default): New helper function.
(create_menu_xml): New arg @folder_type.  Put the items on the top
using item_is_default().
(shell_view_view_changed_callback): Pass the folder type to
create_menu_xml().

* evolution-shell-component.c: New member folder_type in
UserCreatableItemType.
(user_creatable_item_type_new): New arg @folder_type.
(user_creatable_item_type_free): Free ->folder_type.
(evolution_shell_component_add_user_creatable_item): New arg
@folder_type.
(impl__get_userCreatableItemTypes): Set ->folderType in the
returned CORBA structs.

* Evolution-ShellComponent.idl: New member folderType in struct
UserCreatableItemType.

* e-shell-user-creatable-items-handler.c: New member component_id
in struct MenuItem.  Removed member menu_xml from
EShellUserCreatableItemsHandlerPrivate.
(init): No need to initialize menu_xml here anymore.
(impl_destroy): ...And no need to free here, either.
(setup_menu_xml): New, derived from ensure_menu_xml().  This
orders the menu so that the items for the current component go at
the top.
(create_menu_xml): Removed.
(e_shell_user_creatable_items_handler_attach_menus): Set up
properly for the current component ID, using setup_menu_xml().

svn path=/trunk/; revision=17658
2002-07-31 20:36:16 +00:00
..
2002-03-26 21:00:15 +00:00
2002-03-26 21:00:15 +00:00
2002-07-18 18:16:18 +00:00
2002-07-18 18:16:18 +00:00
2002-02-23 17:46:09 +00:00
2002-07-09 17:06:19 +00:00
2002-07-18 18:16:18 +00:00
2002-07-18 18:16:18 +00:00
2002-07-18 18:16:18 +00:00
2002-07-18 18:16:18 +00:00
2001-10-27 01:09:28 +00:00
2002-07-18 18:16:18 +00:00
2002-07-18 18:16:18 +00:00
2002-07-18 18:16:18 +00:00
2002-07-18 18:16:18 +00:00
2001-08-17 04:29:11 +00:00
2001-08-17 04:29:11 +00:00
2002-03-10 03:05:52 +00:00
2002-07-09 17:06:19 +00:00

Two things are built in this directory: the shell's executable, named
`evolution', and the shell utility library, `libeshell'.

The `e-*' files belong to the shell, and their API is not exported at
all.

The `evolution-*' files, instead, are Bonobo-style wrappers for the
shell's Evolution:: CORBA interfaces.  They are all compiled into
`libeshell'; the shell itself links against `libeshell'.

The `evolution-*-client' files are utility GTK+-style wrappers for the
CORBA methods; the modules whose name does not end with `-client',
instead, are Bonobo-like GTK+ objects wrapping the implementation of
the CORBA server.