aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-ShellComponent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Evolution-ShellComponent.idl')
-rw-r--r--shell/Evolution-ShellComponent.idl36
1 files changed, 21 insertions, 15 deletions
diff --git a/shell/Evolution-ShellComponent.idl b/shell/Evolution-ShellComponent.idl
index 18118b4359..96557353b9 100644
--- a/shell/Evolution-ShellComponent.idl
+++ b/shell/Evolution-ShellComponent.idl
@@ -14,21 +14,6 @@ module GNOME {
module Evolution {
interface Shell;
- /* Definition for a folder type. */
- struct FolderType {
- string name;
- string iconName;
-
- string displayName;
- string description;
-
- boolean userCreatable;
-
- sequence<string> acceptedDndTypes;
- sequence<string> exportedDndTypes;
- };
- typedef sequence<FolderType> FolderTypeList;
-
/* URI schemas, e.g. mailto:. */
typedef string URISchema;
typedef sequence<URISchema> URISchemaList;
@@ -42,9 +27,30 @@ module Evolution {
string tooltip;
char menuShortcut;
Icon icon;
+
+ // This specifies the folder type for which this user creatable
+ // type is a default type.
+ string folderType;
};
typedef sequence<UserCreatableItemType> UserCreatableItemTypeList;
+ /* Definition for a folder type. */
+ struct FolderType {
+ string name;
+ string iconName;
+
+ string displayName;
+ string description;
+
+ boolean userCreatable;
+
+ sequence<string> acceptedDndTypes;
+ sequence<string> exportedDndTypes;
+
+ UserCreatableItemTypeList userCreatableItemTypes;
+ };
+ typedef sequence<FolderType> FolderTypeList;
+
interface ShellComponentListener;
interface ShellComponent : Bonobo::Unknown {