aboutsummaryrefslogtreecommitdiffstats
path: root/shell/ChangeLog
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-03-08 07:48:18 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-03-08 07:48:18 +0800
commit3f72523dfa9fcbea86538b37130b863fc805e7ec (patch)
tree83a2be4183f16ba0e6fdc8723cb913e753c5ce3c /shell/ChangeLog
parent82ae1edb4df0ab71f31d4d38d5fc62eaec3e3cde (diff)
downloadgsoc2013-evolution-3f72523dfa9fcbea86538b37130b863fc805e7ec.tar.gz
gsoc2013-evolution-3f72523dfa9fcbea86538b37130b863fc805e7ec.tar.zst
gsoc2013-evolution-3f72523dfa9fcbea86538b37130b863fc805e7ec.zip
Added the ability for components to specify drag/drop types, and
started some work to get the EStorageSetView to use them. Still in progress, nothing really happens for the user yet. svn path=/trunk/; revision=8589
Diffstat (limited to 'shell/ChangeLog')
-rw-r--r--shell/ChangeLog51
1 files changed, 51 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 9c0c7d4be5..36a54a7c1b 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,54 @@
+2001-03-07 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-component-registry.c (register_type): New args
+ @num_exported_dnd_types, @exported_dnd_types,
+ @num_accepted_dnd_types, @accepted_dnd_types. Pass them to
+ `e_folder_type_registry_register_type()'.
+ (register_component): Updated accordingly, getting the values from
+ the CORBA `GNOME::Evolution::FolderType' struct.
+
+ * e-folder-type-registry.c: New members `accepted_dnd_types' and
+ `exported_dnd_types' in `struct _FolderType'.
+ (e_folder_type_registry_register_type): New args
+ @num_accepted_dnd_types, @accepted_dnd_types,
+ @num_exported_dnd_types, @exported_dnd_types.
+ (register_folder_type): Likewise.
+ (folder_type_new): Likewise. Use them to initialize
+ `accepted_dnd_types' and `exported_dnd_types' in the newly created
+ `FolderType' struct.
+ (e_folder_type_registry_get_accepted_dnd_types_for_type): New.
+ (e_folder_type_registry_get_exported_dnd_types_for_type): New.
+
+ * e-storage-set-view.c: New #defined constant `DRAG_RESISTANCE'.
+ New members `drag_x', `drag_y', `drag_column', `drag_row' in
+ `EStorageSetViewPrivate'.
+ (init): Initialize them.
+ (button_press_event): New function, overriding for the
+ `::button_press_event' method.
+ (motion_notify_event): New function, overriding for the
+ `::motion_notify_event' method.
+ (class_init): Install them.
+
+ * evolution-shell-component.c
+ (duplicate_null_terminated_string_array): New helper function.
+ (evolution_shell_component_construct): Copy the values for
+ `accepted_dnd_types' and `exported_dnd_types' from the original
+ folder type list using it.
+ (destroy): Free the `exported_dnd_types' and `accepted_dnd_types'
+ members too.
+ (fill_corba_sequence_from_null_terminated_string_array): New
+ helper function.
+ (impl_ShellComponent__get_supported_types): Also set the
+ `exported_dnd_types' and `accepted_dnd_types' values in the folder
+ type elements we return.
+
+ * evolution-shell-component.h: Added `accepted_dnd_types' and
+ `exported_dnd_types' members to `EvolutionShellComponentFolderType'.
+
+ * Evolution-ShellComponent.idl: Renamed `accepted_dnd_mime_types'
+ to `accepted_dnd_types' and `exported_dnd_mime_types' to
+ `exported_dnd_types'. These are not necessarily MIME types.
+
2001-03-05 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c: Override cursor_activated signal instead