diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-15 11:26:18 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-15 11:26:18 +0800 |
commit | 02ccf6526b553abfae1832ec8e5773c9f1f3f6b4 (patch) | |
tree | e31d10f18f5d5849344f51b6fd710f79812a4a6c /shell/ChangeLog | |
parent | 68014b3ac54dab351f41f390dd482eb15ba01df0 (diff) | |
download | gsoc2013-evolution-02ccf6526b553abfae1832ec8e5773c9f1f3f6b4.tar gsoc2013-evolution-02ccf6526b553abfae1832ec8e5773c9f1f3f6b4.tar.gz gsoc2013-evolution-02ccf6526b553abfae1832ec8e5773c9f1f3f6b4.tar.bz2 gsoc2013-evolution-02ccf6526b553abfae1832ec8e5773c9f1f3f6b4.tar.lz gsoc2013-evolution-02ccf6526b553abfae1832ec8e5773c9f1f3f6b4.tar.xz gsoc2013-evolution-02ccf6526b553abfae1832ec8e5773c9f1f3f6b4.tar.zst gsoc2013-evolution-02ccf6526b553abfae1832ec8e5773c9f1f3f6b4.zip |
Initial drag and drop support for the tree view: now you can drag
folders into the shortcut bar.
svn path=/trunk/; revision=3032
Diffstat (limited to 'shell/ChangeLog')
-rw-r--r-- | shell/ChangeLog | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index b485d511d3..bb2c7c8f4d 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,43 @@ +2000-05-15 Ettore Perazzoli <ettore@helixcode.com> + + * e-storage-set-view.c: New members `in_drag' and `drag_button' in + `EStorageSetViewPrivate'. New static variables `drag_types', + `num_drag_types', `target_list'. + (class_init): Create the `target_list'. + (init): Initialize the private `in_drag' member to false. + Initialize the private `drag_button' member to zero. + (button_release_event): Set it to false. + (motion_notify_event): New function, implementation of + `GtkWidget::motion_notify_event'. If `in_drag' is false, set it + to true and set ourselves up as a drag source. + (button_press_event): New function, implementation of + `GtkWidget::button_press_event'. Set `drag_button' to the event's + button number and then chain to the implementation in the parent + class. + (drag_end): New function, implementation of `GtkWidget::drag_end'. + (drag_data_get): New function, implementation of + `GtkWidget::drag_data_get'. + (set_e_shortcut_selection): New function, helper for `drag_data_get'. + (set_uri_list_selection): New function, helper for `drag_data_get'. + (class_init): Install these method implementations. + + * e-storage-set-view.c: New member `selected_row_path' in + `EStorageSetViewPrivate'. + (init): Initialize it to NULL. + (tree_select_row): Set it to the path of the selected row. Don't + emit "folder_selected" yet. Also, keep the grab. + (button_release_event): New function, implementation of + `GtkWidget::button_release_event'. If `selected_row_path' is not + NULL, emit the "folder_selected" signal with `selected_row_path' + as the parameter and then set `selected_row_path' to NULL again. + (class_init): Install `button_release_event'. + + * e-storage-set-view.c: Made `ICON_WIDTH' and `ICON_HEIGHT' global + #defines. + (e_storage_set_view_construct): Set the row height to + `ICON_HEIGHT'. Alos, set the selection mode to + `GTK_SELECTION_BROWSE'. + 2000-05-15 Iain Holmes <ih@csd.abdn.ac.uk> * e-local-folder.c (get_string_value): Use the correct function to |