[monkey-bubble: 407/753] :ExtraAttributes): New typedef. This is an alias for Bonobo::PropertySet,



commit a0faf62287eade57d2a59771f63d62e984b7f694
Author: Martin Baulig <baulig suse de>
Date:   Sat Jun 9 23:29:20 2001 +0000

    :ExtraAttributes): New typedef. This is an alias for Bonobo::PropertySet,
    
    2001-06-10  Martin Baulig  <baulig suse de>
    
    	* Gnome_Desktop.idl (GNOME::ExtraAttributes): New typedef. This is an alias
    	for Bonobo::PropertySet, but it has a "magic" meaning: if a struct contains
    	a member of this type, the ditem moniker fills it with all fields which are
    	not in the struct.
    	(GNOME::DesktopEntryType): New enum type.
    	(GNOME::DesktopEntry): Change type of `Exec' to string.
    	Added TryExec, URL, SortOder, Type and Attributes.

 idl/ChangeLog         |   10 ++++++++++
 idl/Gnome_Desktop.idl |   21 ++++++++++++++++++++-
 2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/idl/ChangeLog b/idl/ChangeLog
index 1bb7c3f..65289ec 100644
--- a/idl/ChangeLog
+++ b/idl/ChangeLog
@@ -1,3 +1,13 @@
+2001-06-10  Martin Baulig  <baulig suse de>
+
+	* Gnome_Desktop.idl (GNOME::ExtraAttributes): New typedef. This is an alias
+	for Bonobo::PropertySet, but it has a "magic" meaning: if a struct contains
+	a member of this type, the ditem moniker fills it with all fields which are
+	not in the struct.
+	(GNOME::DesktopEntryType): New enum type.
+	(GNOME::DesktopEntry): Change type of `Exec' to string.
+	Added TryExec, URL, SortOder, Type and Attributes.
+
 2001-06-06  Martin Baulig  <baulig suse de>
 
 	* Gnome.idl (GNOME::stringlist): Moved this typedef here.
diff --git a/idl/Gnome_Desktop.idl b/idl/Gnome_Desktop.idl
index c4e6daf..f1fbbed 100644
--- a/idl/Gnome_Desktop.idl
+++ b/idl/Gnome_Desktop.idl
@@ -21,12 +21,31 @@ module GNOME {
 
     typedef sequence<LocalizedString> LocalizedStringList;
 
+    typedef Bonobo::PropertySet ExtraAttributes;
+
+    enum DesktopEntryType {
+	DESKTOP_ENTRY_TYPE_UNKNOWN,
+	DESKTOP_ENTRY_TYPE_APPLICATION,
+	DESKTOP_ENTRY_TYPE_URL,
+	DESKTOP_ENTRY_TYPE_LINK,
+	DESKTOP_ENTRY_TYPE_FSDEVICE,
+	DESKTOP_ENTRY_TYPE_MIMETYPE,
+	DESKTOP_ENTRY_TYPE_DIRECTORY,
+	DESKTOP_ENTRY_TYPE_SERVICE,
+	DESKTOP_ENTRY_TYPE_SERVICETYPE 
+    };
+
     struct DesktopEntry {
 	LocalizedStringList Name;
 	LocalizedStringList Comment;
 	string Icon;
+	string Exec;
+	string TryExec;
+	string URL;
+	stringlist SortOrder;
+	ExtraAttributes Attributes;
+	DesktopEntryType Type;
 	boolean Terminal;
-	stringlist Exec;
     };
 
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]