]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Fix #135912 and #135913.
[~andy/gtk] / ChangeLog
index b228ceff47c5f17d222359a98f4a6713c76d7a87..33cc004d415fbed176721f166d25db8f54d0817f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,44 @@
+2004-03-11  Federico Mena Quintero  <federico@ximian.com>
+
+       Fix #135912 and #135913.
+
+       * gtk/gtkfilechooserdefault.c
+       (shortcuts_filter_model_row_draggable): Implement.
+       (shortcuts_model_filter_new): New function, create a
+       ShortcutsModelFilterClass derived from GtkTreeModelFilter, so that
+       we can implement our own DnD interface methods.
+       (shortcuts_model_create): Use shortcuts_model_filter_new().
+       (shortcuts_list_create): Enable the shortcuts list as a drag
+       source.
+       (file_list_source_targets): Renamed from shortcuts_targets.
+       (shortcuts_list_create): Change the options for
+       gtk_drag_dest_set().  Connect to more drag signals so that we can
+       implement drops by hand.
+       (shortcuts_drag_data_delete_cb): New handler; just stop the emission.
+       (shortcuts_drag_motion_cb): New handler; validate the drop.
+       (shortcuts_drag_leave_cb): New handler; unset the drag_dest_row.
+       (shortcuts_drag_drop_cb): New handler; just stop the emission and
+       remove the idle handler for the drag cursor.
+       (shortcuts_add_bookmark_from_path): Add a position argument,
+       return a boolean success code.
+       (shortcuts_drag_data_received_cb): Handle two cases:  1) Insert
+       the bookmarks at the proper position, rather than always appending
+       them to the list; 2) alternatively, reorder the bookmarks.
+       (struct _GtkFileChooserDefault): New field shortcuts_drag_outside.
+       (shortcuts_drag_motion_cb): Turn off impl->shortcuts_drag_outside.
+       (shortcuts_drag_leave_cb): Turn on impl->shortcuts_drag_outside in
+       an idle handler.
+       (shortcuts_drag_end_cb): New handler; remove the selected bookmark.
+
+Thu Mar 11 01:08:25 2004  Jonathan Blandford  <jrb@gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (location_entry_create): up the
+       width of the entry a tad.
+
+       * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
+       gtk_entry_completion_selection_changed.  Also, unref the
+       completion as we were leaking a reference to it.
+
 2004-03-10  Federico Mena Quintero  <federico@ximian.com>
 
        * gtk/gtkstyle.c (draw_dot): Remove spurious semicolon.  Thanks to