2005-06-11 Benedikt Meurer <benny@xfce.org>
* thunar-vfs/thunar-vfs-uri.{c,h}: Add functions to ease the handling of URI lists, specifically to automatically parse and generate string representations of URI lists that conform to the text/uri-list mime type. * thunar/thunar-location-buttons.c (thunar_location_buttons_drag_data_get): Use new ThunarVfsURI list handling functions instead. * thunar/thunar-favourites-model.c (thunar_favourites_model_file_destroy): Handle the case where a directory referenced by a favourite disappears from the backend media. * thunar/thunar-favourites-model.c (thunar_favourites_model_file_changed): Remove a given favourite if the system notices that the favourite's file no longer refers to a directory. * thunar/thunar-favourites-model.c(thunar_favourites_model_init): Do not re-add favourites initially, that do not refer to a directory. * thunar/thunar-favourites-model.{c,h}: Add a new method thunar_favourites_model_add(), which is used by the ThunarFavouritesView to add new favourites to the list and automatically sync the changes with the Gtk+ bookmarks list. * thunar/thunar-favourites-view.c: Handle "text/uri-list" drops, adding new favourites as appropriate. Add note, that the initial idea is based on the GtkFileChooser written by Red Hat for Gtk+. * TODO: Remove the 'text/uri-list'-handling for ThunarFavouritesView. Add item concerning the Trash in the favourites list. (Old svn revision: 16328)
Showing
- ChangeLog 28 additions, 0 deletionsChangeLog
- TODO 6 additions, 1 deletionTODO
- thunar-vfs/thunar-vfs-uri.c 161 additions, 3 deletionsthunar-vfs/thunar-vfs-uri.c
- thunar-vfs/thunar-vfs-uri.h 10 additions, 0 deletionsthunar-vfs/thunar-vfs-uri.h
- thunar/thunar-favourites-model.c 149 additions, 1 deletionthunar/thunar-favourites-model.c
- thunar/thunar-favourites-model.h 3 additions, 0 deletionsthunar/thunar-favourites-model.h
- thunar/thunar-favourites-view.c 72 additions, 1 deletionthunar/thunar-favourites-view.c
- thunar/thunar-location-buttons.c 6 additions, 6 deletionsthunar/thunar-location-buttons.c
Loading
Please register or sign in to comment