diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-03-08 20:55:05 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-03-08 20:55:05 +0800 |
commit | 9618cd2cb63840bd9138519bc52a3afad07590fa (patch) | |
tree | 259fda93de990254e0c3a108be88e584b2646b7f /shell/ChangeLog | |
parent | 698fc6235d8b59e89369c5220ad6b15cc0c74b81 (diff) | |
download | gsoc2013-evolution-9618cd2cb63840bd9138519bc52a3afad07590fa.tar gsoc2013-evolution-9618cd2cb63840bd9138519bc52a3afad07590fa.tar.gz gsoc2013-evolution-9618cd2cb63840bd9138519bc52a3afad07590fa.tar.bz2 gsoc2013-evolution-9618cd2cb63840bd9138519bc52a3afad07590fa.tar.lz gsoc2013-evolution-9618cd2cb63840bd9138519bc52a3afad07590fa.tar.xz gsoc2013-evolution-9618cd2cb63840bd9138519bc52a3afad07590fa.tar.zst gsoc2013-evolution-9618cd2cb63840bd9138519bc52a3afad07590fa.zip |
Added a ShellComponent method to retrieve the selection for drag and
drop and support for it in the shell. Untested.
svn path=/trunk/; revision=8594
Diffstat (limited to 'shell/ChangeLog')
-rw-r--r-- | shell/ChangeLog | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 36a54a7c1b..78eaf1c244 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,42 @@ +2001-03-08 Ettore Perazzoli <ettore@ximian.com> + + * e-storage-set-view.c (get_folder_at_row): New helper function. + (create_target_list_for_row): Use it. + (table_drag_data_get): Get the selection from the shell component + using `evolution_shell_component_client_get_dnd_selection()'. + (set_e_shortcut_selection): Turn a `g_return_if_fail()' into a + `g_assert()'. + + * evolution-shell-component.c: New member `get_dnd_selection_fn' + in `EvolutionShellComponentPrivate'. + (evolution_shell_component_construct): New arg + @get_dnd_selection_fn. + (evolution_shell_component_new): Likewise. + (impl_ShellComponent_getDndSelection): New, implementation for + `ShellComponent::getDndSelection'. + (class_init): Install it. + + * evolution-shell-component-client.c + (evolution_shell_component_client_get_dnd_selection): New, wrapper + for `ShellComponent::getDndSelection'. + + * evolution-shell-component.h: Renamed + `EvolutionShellComponentPopulateFolderContextMenu' into + `EvolutionShellComponentPopulateFolderContextMenuFn'. New + function pointer typedef `EvolutionShellComponentGetDndSelectionFn'. + + * Evolution-ShellComponent.idl: New method + `ShellComponent::getDndSelection'. + + * e-storage-set-view.c (create_target_entries_from_dnd_type_list): + Always add an `E_SHORTCUT_TYPE' type at least. + (create_target_list_for_row): Don't return NULL if the list of + exported DND types is NULL. Don't create an unused target list. + Actually return the created target list. + (table_drag_data_get): If the @info is zero, set the e-shortcut + selection. + (set_uri_list_selection): Temporarily disabled. + 2001-03-07 Ettore Perazzoli <ettore@ximian.com> * e-component-registry.c (register_type): New args |