CVSROOT: /cvs/gnome Module name: nautilus Changes by: mwehner 06/07/10 20:57:48
Modified files: . : ChangeLog libnautilus-private: nautilus-file-dnd.c nautilus-file-dnd.h nautilus-icon-container.c nautilus-icon-container.h nautilus-icon-dnd.c nautilus-marshal.list nautilus-tree-view-drag-dest.c nautilus-tree-view-drag-dest.h src/file-manager: fm-directory-view.c fm-directory-view.h fm-icon-view.c fm-list-view.c Log message: 2006-07-11 Martin Wehner <[EMAIL PROTECTED]> * libnautilus-private/nautilus-file-dnd.[ch]: Add functions nautilus_drag_can_accept_files and nautilus_drag_can_accept_info. * libnautilus-private/nautilus-icon-dnd.c: (receive_dropped_url), (receive_dropped_uri_list), (receive_dropped_text), (drag_data_received_callback): Accept the entire drag context as parameter and use nautilus_icon_container_find_drop_target. (nautilus_icon_container_find_drop_target): (nautilus_icon_dnd_update_drop_target): Use nautilus_drag_can_accept_info. * libnautilus-private/nautilus-marshal.list: Add new signature. * libnautilus-private/nautilus-tree-view-drag-dest.c: Add function get_drop_target_uri_at_pos and use it in the drop handlers to determine the target uris for actions. Rename get_drop_target to get_drop_target_uri_for path. (nautilus_tree_view_drag_dest_class_init): Adapt to new drag handler signatures. (set_widget_highlight): Fix DND highlighting of an empty tree view. (drag_motion_callback): Ignore drags on the header. * libnautilus-private/nautilus-tree-view-drag-dest.[ch]: * libnautilus-private/nautilus-icon-container.[ch]: * src/file-manager/fm-icon-view.c: * src/file-manager/fm-list-view.c: Add a target/parent uri parameter to the drop handler functions. * src/file-manager/fm-directory-view.[ch]: Add handling for the additional target parameter to support drops of URIs, URLs and text to subfolders. Patch from Christian Neumair <[EMAIL PROTECTED]> URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=nautilus&who=mwehner&date=explicit&mindate=2006-07-10%2020:56&maxdate=2006-07-10%2020:58 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list