aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-Component.idl
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2004-04-09 23:46:00 +0800
committerDan Winship <danw@src.gnome.org>2004-04-09 23:46:00 +0800
commit7f2badb024128819fbb1d2656057c5e476100cd8 (patch)
treec13bcea14f62769857b72307f6eef59f183babaa /shell/Evolution-Component.idl
parentfabe4f1d8ae42c7bf8f1674c98ef4103e2e53bf0 (diff)
downloadgsoc2013-evolution-7f2badb024128819fbb1d2656057c5e476100cd8.tar.gz
gsoc2013-evolution-7f2badb024128819fbb1d2656057c5e476100cd8.tar.zst
gsoc2013-evolution-7f2badb024128819fbb1d2656057c5e476100cd8.zip
Change this a lot. Now each component will maintain its own
* e-user-creatable-items-handler.c: Change this a lot. Now each component will maintain its own EUserCreatableItemsHandler and merge the button and menus in and out of the UI as its controls are activated and deactivated. (This lets the connector component display the correct default for the New button). Also, update to the Product Design Team's new organization (separating object types from folder types) * e-shell.c: Remove all creatable_items_handler references * e-shell-window.c (e_shell_window_new): Remove creatable_items_handler reference * Makefile.am: Move e-user-creatable-items-handler from evolution to libeshell, and make libeshell depend on libemiscwidgets (for the combo button) * Evolution-Component.idl: add another field to CreatableItemType so we can distinguish object types from folder types. svn path=/trunk/; revision=25379
Diffstat (limited to 'shell/Evolution-Component.idl')
-rw-r--r--shell/Evolution-Component.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/Evolution-Component.idl b/shell/Evolution-Component.idl
index 873cd6b7d0..69893387fc 100644
--- a/shell/Evolution-Component.idl
+++ b/shell/Evolution-Component.idl
@@ -12,6 +12,11 @@
module GNOME {
module Evolution {
+ enum CreatableItem {
+ CREATABLE_OBJECT,
+ CREATABLE_FOLDER
+ };
+
/* A type of item that the component can create when asked by the user,
e.g. a mail message or an appointment. */
struct CreatableItemType {
@@ -21,6 +26,7 @@ module Evolution {
string tooltip;
char menuShortcut;
string iconName;
+ CreatableItem type;
};
typedef sequence <CreatableItemType> CreatableItemTypeList;