2006-04-16 Benedikt Meurer * === Released 0.3.0beta1 === * configure.in.in: Bump version. * configure.in.in, README: Depend on libexo 0.3.1.6beta1. * Makefile.am, configure.in.in, Thunar.spec.in: Add RPM spec file for Thunar. 2006-04-16 Benedikt Meurer * thunar/main.c(main): Use g_print() instead of g_printf() to print the version information. 2006-04-16 Benedikt Meurer * docs/manual/es/, docs/manual/fr/, configure.in.in, docs/manual/Makefile.am: Apply Daichi's patch to properly build and install the spanish and french translations of the user manual. 2006-04-16 Benedikt Meurer * po-doc/LINGUAS, po-doc/fr.po, docs/manual/fr/Thunar.xml.in: Import initial french translations for the user manual by josem . 2006-04-16 Benedikt Meurer * po-doc/LINGUAS, po-doc/fr.po, docs/manual/fr/Thunar.xml.in: Import initial french translations for the user manual by Stephane Roy . 2006-04-16 Benedikt Meurer * po/Thunar.pot, po/*.po: Updated. * po/de.po: Update german translations. * po-doc/Thunar.pot, po-doc/*.po, docs/manual/ja/Thunar.xml.in: Updated. 2006-04-16 Benedikt Meurer * thunar/thunar-window.c: Bind "zoom-reset" to Ctrl+KP_0 and Ctrl+KP_Insert. 2006-04-16 Benedikt Meurer * docs/manual/C/Thunar.xml.in: Update documentation date. * TODO: Clean up TODO. 2006-04-16 Benedikt Meurer * docs/reference/thunar-vfs/tmpl/thunar-vfs-types.sgml: Update API docs. * icons/16x16/Makefile.am: stock/generic is no longer present in hicolor, use stock/navigation instead. 2006-04-16 Benedikt Meurer * configure.in.in: Update PACKAGE_BUGREPORT. * thunar/main.c: Add --version switch. 2006-04-15 Benedikt Meurer * po/LINGUAS, po/he.po: Import initial hebrew translations by Yo'av Moshe . * THANKS: Add translator credits for Yo'av Moshe . 2006-04-15 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_drag_scroll_timer): Add support for horizontal drag-scrolling in the compact list view. 2006-04-14 Benedikt Meurer * Thunar-folder-handler.desktop.in.in: Use a more specific Name, as suggested by Jaap Karssenberg. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-04-14 Benedikt Meurer * po/de.po: Update german translations, thanks to Fabian Nowak and Jannis Pohlmann. 2006-04-14 Benedikt Meurer * plugins/thunar-apr/thunar-apr-desktop-page.c (thunar_apr_desktop_page_save): Fix invalid parameter to fopen() in GTK+ 2.6 codepath. 2006-04-14 Benedikt Meurer * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-04-14 Benedikt Meurer * thunar/thunar-preferences-dialog.c: Add "Compact List View" to the preferences dialog. 2006-04-14 Benedikt Meurer * docs/README.thunarrc, thunar/thunar-preferences.c: Add new option LastCompactViewZoomLevel. * thunar/thunar-abstract-icon-view-ui.xml, thunar/Makefile.am, thunar/thunar-abstract-icon-view.{c,h}, thunar/thunar-window.c thunar/thunar-compact-view.{c,h}, thunar/thunar-window-ui.xml, thunar/thunar-icon-view.{c,h}: Add a "Compact View", which uses ExoIconView with EXO_ICON_VIEW_LAYOUT_COLS layout mode. Based on patches from Matt McClinch . * THANKS: Add Matt McClinch. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-04-12 Benedikt Meurer * plugins/thunar-apr/, acinclude.m4, plugins/Makefile.am, configure.in.in: Import the "Advanced Properties" plugin. * README: Add note about optional pcre and libexif dependencies. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-04-11 Benedikt Meurer * thunar-vfs/thunar-vfs-deep-count-job.c (thunar_vfs_deep_count_job_status_ready): Be sure to use 64bit unsigned integers for the time comparison. Fix another typo. * plugins/thunar-uca/thunar-uca-plugin.c(thunar_extension_initialize): Fix typo. * thunar-vfs/thunar-vfs-info.c: Try to identify malicious .desktop files that try to look like a regular document. 2006-04-09 Benedikt Meurer * icons/Makefile.am: Be sure to run gtk-update-icon-cache after installing new icons into the hicolor icon theme (skipped if $DESTDIR is set). 2006-04-09 Benedikt Meurer * docs/README.thunarrc, thunar/thunar-preferences.c: Add new option "MiscSingleClickTimeout", which specifies the delay after which items are automatically selected in single-click mode. * thunar/thunar-preferences-dialog.c(thunar_preferences_dialog_init): Add "MiscSingleClickTimeout" setting to the preferences dialog. * thunar/thunar-standard-view.c(thunar_standard_view_constructor): Apply global single-click timeout setting to the view. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-04-08 Benedikt Meurer * *.desktop.in.in: It's a FileManager. 2006-04-08 Benedikt Meurer * po/de.po: Improve german translations, based on suggestions by Fabian Novak. 2006-04-08 Benedikt Meurer * thunar/thunar-location-buttons.c: Add "Create Folder" action to the path bar button context menu. 2006-04-08 Benedikt Meurer * thunar/thunar-renamer-dialog.c: Fix tooltips for "add-files" and "remove-files" as pointed out by Jari Rahkonen. * po/Thunar.pot, po/*.po: Merge changed strings. * po/de.po: Update german translations. 2006-04-05 Benedikt Meurer * thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-types.h, thunar/thunar-file.c(thunar_file_get_mode_string): Add support for special Solaris file types (doors and event ports). 2006-04-05 Benedikt Meurer * thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_get_free_space): Use statvfs() on Solaris. * thunar-vfs/thunar-vfs-scandir.c: Solaris also lacks dirfd(). * plugins/thunar-uca/thunar-uca-model.c(thunar_uca_model_item_reset): Use memset() instead of bzero(). 2006-04-04 Benedikt Meurer * docs/manual/ja/Thunar.xml.in: Update the docbook version of the japanese user manual. 2006-04-04 Benedikt Meurer * po-doc/ja.po: Update japanese translations for the user manual, Daichi Kawahata . Bug #1366. 2006-04-04 Benedikt Meurer * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Include a size summary in the statusbar text if no items are selected as suggested by Fabian Novak. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-04-04 Benedikt Meurer * thunar/thunar-tree-model.{c,h}, thunar/thunar-tree-view.c: Add removable volumes to the tree view. Bug #1636. * po/Thunar.pot, po/*.po: Update translations. 2006-04-03 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_class_init): Shift Delete/KP_Delete now also emits "delete-selected-files". Bug #1631. 2006-03-31 Benedikt Meurer * thunar/thunar-list-model.c(thunar_list_model_file_changed): Do not re-sort the model unless the name of the file (and thereby its position) has changed. Greatly improves the performance of the internal bulk renamer. * thunar/thunar-list-model.c(thunar_list_model_sort): Reuse the memory of the sort_array for new_order to reduce stack usage with large folders. 2006-03-30 Benedikt Meurer * thunar/thunar-folder.c: Reload the folder when the corresponding file changes. Use the ThunarFileMonitor to stay informed about changes to the corresponding rather than connecting additional signal handlers to the file. * plugins/thunar-uca/thunar-uca-provider.c: Schedule a "changed" event for the working directory once the custom command terminates. Bug #1625. 2006-03-28 Benedikt Meurer * configure.in.in: Check for limits.h and localeconv(). * thunar/thunar-size-label.c: Format the size summary string properly according to the current locale. 2006-03-28 Benedikt Meurer * docs/README.thunarrc, thunar/thunar-preferences.c: Add new hidden setting MiscCaseSensitive, which controls whether sorting is done in a case-sensitive manner. * configure.in.in: Check for strcoll(). * thunar/thunar-file.{c,h}: Add thunar_file_compare_by_name(), which implements a rather complex but very efficient and smart comparison function for file names. * thunar/thunar-tree-model.c(thunar_tree_model_cmp_array): Use thunar_file_compare_by_name() here. * thunar/thunar-list-model.{c,h}: Add "case-sensitive" property and use thunar_file_compare_by_name(). * thunar/thunar-standard-view.c(thunar_standard_view_init): Synchronize the "misc-case-sensitive" preference with the "case-sensitive" pro- perty of the list model. * thunar/thunar-tree-model.{c,h}: Add "case-sensitive" property and synchronize with the global "misc-case-sensitive" preference. 2006-03-26 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.c(thunar_vfs_xfer_copy_regular): Use a better error message for the case that the target file already exists. * thunar/thunar-progress-dialog.c(thunar_progress_dialog_ask): Improve the confirmation dialog as suggested by Fabian Novak. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations, thanks to Fabian Novak. 2006-03-26 Benedikt Meurer * thunar-vfs/thunar-vfs-volume-hal.c: Add support for gnome-mount based on an initial patch by Roman Moravcik . 2006-03-25 Benedikt Meurer * thunar/thunar-standard-view.c (thunar_standard_view_action_select_by_pattern): Fix the appearance of the "Select by Pattern" dialog. * thunar/thunar-renamer-dialog.c: Need to grab a reference on the ThunarIconFactory instance for the screen of the dialog, else the standalone dialog will not generate thumbnails properly. * plugins/thunar-sbr/thunar-sbr-enum-types.c (thunar_sbr_register_enum_types): Improve the offset mode labels. * plugins/thunar-sbr/: Import the last pending renamer, the "Numbering" renamer. Bug #1609. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-03-25 Benedikt Meurer * thunar/thunar-window.c: Add F9 shortcut to toggle the visibility of the side pane. Bug #1568. 2006-03-25 Benedikt Meurer * thunar-vfs/thunar-vfs-deep-count-job.{c,h}, thunar-vfs/thunar-vfs-types.h, thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Allow caller to specify whether the ThunarVfsDeepCountJob should follow symlinks to folders. Bug #1606. * thunar/thunar-size-label.c(thunar_size_label_file_changed): Do not follow symlinks when calculating the size of folders. Bug #1606. 2006-03-25 Benedikt Meurer * Thunar.desktop.in.in(Exec): Support dragging files and folders to the Thunar application icon, which will then be opened using Thunar. 2006-03-25 Benedikt Meurer * thunar/thunar-renamer-dialog.c: Add support for dropping files to the bulk rename dialog. Bug #1605. 2006-03-24 Benedikt Meurer * thunar-vfs/thunar-vfs-marshal.list: Add a marshaller for the "status-ready" signal for the upcoming ThunarVfsDeepCountJob. * thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-deep-count-job.{c,h}: Add ThunarVfsDeepCountJob, which calculates the number of items and the total size of the items in a given directory. Bug #1603. * thunar/Makefile.am, thunar/thunar-size-label.{c,h}, thunar/thunar-properties-dialog.c: Add ThunarSizeLabel widget class, which handles the ThunarVfsDeepCountJob and displays the total size of a file for the properties dialog. Bug #1603. * thunar/thunar-gtk-extensions.c: Make sure tooltips are shown for the toolbar items. Bug #1593. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-03-24 Benedikt Meurer * plugins/thunar-sbr/thunar-sbr-case-renamer.h, plugins/thunar-sbr/thunar-sbr-insert-renamer.h, plugins/thunar-sbr/thunar-sbr-remove-renamer.h, plugins/thunar-sbr/thunar-sbr-replace-renamer.h: Fix typos. * docs/reference/thunarx/tmpl/thunarx-file-info.sgml, thunarx/thunarx-file-info.c: Register the "changed" and "renamed" signals right after the type is registered. This way gtk-doc will properly display the signals (gtk-doc doesn't invoke base_init() for interfaces). Bug #1418. * docs/reference/thunarx/tmpl/thunarx-property-page-provider.sgml, docs/reference/thunarx/tmpl/thunarx-property-page.sgml, thunarx/thunarx-property-page-provider.c: Properly document ThunarxPropertyPage and ThunarxPropertyPageProvider. Bug #1456. 2006-03-24 Benedikt Meurer * thunar/thunar-renamer-progress.{c,h}: Add new helper method thunar_renamer_progress_running(), which tells whether the rename operation is currently in progress. * thunar/thunar-renamer-dialog.c(thunar_renamer_dialog_response): Fix the Cancel/Close button handling. * examples/nautilus-bulk-rename.py, examples/Makefile.am: Add an ex- ample how to use Thunar Bulk Rename as Nautilus extension. Bug #1597. 2006-03-24 Benedikt Meurer * thunar/thunar-file.{c,h}: Add wrapper method thunar_file_get_for_uri() which is a rather common operation. * thunar/thunar-dbus-service.c (thunar_dbus_service_parse_uri_and_display): Use the newly added method thunar_file_get_for_uri(). * thunar/thunar-launcher.c: If no current directory is set, directories will always be opened in new windows. * thunar/thunar-renamer-progress.{c,h}: Add support for explicit cancellation of the rename operation. * thunar/thunar-renamer-dialog-ui.xml,thunar/thunar-renamer-model.{c,h}, thunar/thunar-renamer-dialog.{c,h}, thunar/Makefile.am: Some polish on the dialog and the model. Allow users to add/remove files using the context menu. Add a standalone mode in which the bulk rename dialog appears as standalone application and which can be invoked through the D-BUS service. Bug #1597. * thunar/thunar-standard-view.c(thunar_standard_view_action_rename): Keep up with the ThunarRenamerDialog changes. * thunar/main.c, thunar/thunar-application.{c,h}, thunar/thunar-dbus-client.{c,h}, thunar/thunar-dbus-service-infos.xml, thunar/thunar-dbus-service.c: Add BulkRename() method to the D-BUS interface org.xfce.Thunar and add command line option -B to Thunar, which allows to open the bulk rename dialog directly. Bug #1597. * Thunar-folder-handler.desktop.in.in, Thunar.desktop.in.in, Makefile.am: Rearrange the .desktop file handling. * Makefile.am, Thunar-bulk-rename.desktop.in.in, ThunarBulkRename.in: Add launcher for the bulk rename utility. Bug #1597. * examples/thunar-file-manager.py, examples/Makefile.am: Add example for the usage of the org.xfce.Thunar interface. * thunarx/thunarx-renamer.{c,h}, thunarx/thunarx.symbols: Add new method get_actions() to ThunarxRenamer, as discussed with Jannis, to allow plugin writers to add custom actions to the renamers tree view context menu (i.e. "Edit Tags" for the thunar-media-tag-plugin). First part of bug #1602. * docs/reference/thunarx/: Update the API docs. * thunar/thunar-renamer-dialog.c(thunar_renamer_dialog_context_menu), thunar/thunar-renamer-dialog-ui.xml: Add custom actions provided by the active ThunarxRenamer to the file context menu in the renamer dialog. Second part of bug #1602. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-03-23 Benedikt Meurer * thunar/thunar-dialogs.c, thunar/thunar-window.{c,h}: Move the generic parts of the about dialog to thunar-dialogs.c. * thunar/thunar-properties-dialog.c (thunar_properties_dialog_update_providers): Fix missing gtk_widget_show() for the provided pages. 2006-03-22 Benedikt Meurer * docs/reference/thunarx/tmpl/thunarx-renamer.sgml: Fix a typo. * thunar/thunar-renamer-model.c: Only invalidate items on "file-changed" signals if the file changed on the disk, to avoid invalidating items constantly while generating thumbnails. * thunar/thunar-gobject-extensions.c: Register a transformation func- tion string->uint. * plugins/thunar-sbr/thunar-sbr-case-renamer.c (thunar_sbr_case_renamer_new): More consistent naming scheme for the renamer titles. * plugins/thunar-sbr/: Import additional renamers "Insert / Overwrite" and "Remove Characters". Bug #1599. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-03-22 Benedikt Meurer * docs/reference/thunarx/: Update the thunarx API documentation. 100% symbol docs coverage! 2006-03-21 Benedikt Meurer * plugins/thunar-uca/README: Fix typos. * thunarx/thunarx-private.{c,h}: Import new helper function thunarx_param_spec_get_option_name(). * thunarx/Makefile.am, thunarx/thunarx.h, thunarx/thunarx-renamer.{c,h}, thunarx/thunarx-renamer-provider.{c,h}, thunarx/thunarx.symbols: Merge the ThunarxRenamer extension point, which can be used to hook additional bulk renamers into Thunar. Bug #1416. * thunar/thunar-renamer-dialog.{c,h}, thunar/thunar-renamer-model.{c,h}, thunar/thunar-renamer-pair.{c,h},thunar/thunar-renamer-progress.{c,h}, thunar/Makefile.am, thunar/thunar-standard-view.c: Merge the bulk rename framework for Thunar, which uses the ThunarxRenamers to rename multiple files at once. Bug #1416. * acinclude.m4, configure.in.in, plugins/thunar-sbr/, plugins/Makefile.am: Merge stable version of the thunar-sbr exten- sion ("Simple Builtin Renamers"), which provides "Search & Replace", which optionally uses PCRE to support regular expressions, and "Convert upper/lowercase". Additional renamers will be merged once ready. Bug #1416. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-03-21 Benedikt Meurer * thunar/thunar-gobject-extensions.c (thunar_g_initialize_transformations): Register one string->enum transformation function that is used by all GEnum derived types. * thunar/thunar-enum-types.{c,h}: Import ThunarRenamerMode enum. Don't need to register a transformation for each and every enum type. * thunar/thunar-preferences.c(thunar_preferences_class_init), thunar/main.c(main): Initialize the additional GType transformations on startup, rather than in the ThunarPreferences class constructor. 2006-03-20 Benedikt Meurer * Makefile.am, acinclude.m4, configure.in.in, po/POTFILES.in, po/Thunar.pot, plugins/: Move thunar-uca to plugins/. 2006-03-20 Benedikt Meurer * thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Render the icon properly when the widget state is insensitive. 2006-03-18 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.c: Make sure the user can always read and write copied directories. 2006-03-16 Benedikt Meurer * thunar-vfs/thunar-vfs-volume.c(thunar_vfs_volume_lookup_icon_name): Fix typo, s/gnome-dev-dvdrom/gnome-dev-disc-dvdrom/. 2006-03-16 Benedikt Meurer * thunar/thunar-tree-view.c: gtk_tree_view_get_visible_range() is only available in GTK+ 2.8 and above. 2006-03-16 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.c: Also chmod u+rw the target file if we are not the owner of the source file. * thunar-vfs/thunar-vfs-path.c(thunar_vfs_path_to_uri): Double checking bufsize doesn't make much sense. 2006-03-16 Benedikt Meurer * thunar/thunar-window.c: Add backspace as shortcut for "Back". * thunar/thunar-application.c: Save accelerators on exit and restore them on startup. This way users can customize all shortcuts to their needs and Thunar will remember those shortcuts. * FAQ, docs/manual/C/Thunar.xml.in: Update the documentation. * po-doc/Thunar.pot, po-doc/*.po: Merge new strings. 2006-03-16 Benedikt Meurer * thunar/thunar-location-buttons.c, thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Yet another attempt to set appropriate labels/tooltips for the cut/copy/paste actions. Cut/copy/paste in file manager is really different to other applications, not the actual data is stored in the clipboard, but only the location where to find the data. * thunar/thunar-tree-view.c: Add drop site support and clipboard actions. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. Use "Ordner" instead of "Verzeichnis" to be consistent with the shared-mime-info and Gtk+ translations. 2006-03-15 Benedikt Meurer * thunar/thunar-debug.{c,h}, thunar/Makefile.am: Add THUNAR_DEBUG_MARK() which can be used to easily profile parts of Thunar. 2006-03-15 Benedikt Meurer * acinclude.m4(BM_THUNAR_VFS_VOLUME_IMPL): Handle "none" properly. * thunar-vfs/thunar-vfs-volume-manager.c, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-volume-private.h, thunar-vfs/thunar-vfs.symbols, thunar-vfs/thunar-vfs-volume.c, thunar-vfs/thunar-vfs-volume-none.c, thunar-vfs/thunar-vfs-volume.h, thunar-vfs/thunar-vfs-volume-hal.c, thunar-vfs/thunar-vfs-volume-freebsd.c: Improve the volume manager implemenation. The ThunarVfsVolumeManager and ThunarVfsVolume inter- faces are now abstract base classes, with the implementation API completely separated from the public API. The HAL backend was fixed to work around a strange HAL bug, where 'volume.is_mounted' is FALSE for mounted volumes (instead of trusting HAL, we ask the kernel to make sure we always display the proper state). Also, new signals "mounted", "pre-unmount" and "unmounted" were added to both ThunarVfsVolume and ThunarVfsVolumeManager, to allow applications to perform certain actions for these events. * docs/reference/thunar-vfs/: Update the API documentation. * thunar/thunar-window.c: Whenever the user requests to unmount a volume, check if the window displays a folder on this volume and if so, go to the home folder, to make sure we don't display a probably no longer existing mount point afterwards. 2006-03-14 Benedikt Meurer * thunar-vfs/thunar-vfs-exec.{c,h}: Add thunar_vfs_exec_sync() helper function. * thunar-vfs/thunar-vfs-volume-freebsd.c: Use thunar_vfs_exec_sync(). 2006-03-14 Benedikt Meurer * thunar/thunar-details-view.c(thunar_details_view_zoom_level_changed): Fix bug in Gtk+ 2.6 version of this method. 2006-03-14 Benedikt Meurer * thunar-vfs/thunar-vfs-path.{c,h}, thunar-vfs/thunar-vfs.symbols: Add convenience method thunar_vfs_path_is_ancestor(), used to implement the auto-expand in the tree pane. * docs/reference/thunar-vfs/: Update thunar-vfs API docs. * thunar/thunar-file.h: Add thunar_file_is_ancestor(). * docs/README.thunarrc, thunar/thunar-preferences.c, thunar/thunar-window.c: Add new preference LastSeparatorPosition, which includes the last position of the gutter that separates the side pane and the main view. * docs/README.thunarrc, thunar/thunar-preferences.c, thunar/thunar-preferences-dialog.c: Add new preferences TreeIconEmblems and TreeIconSize, similar to their shortcuts counterparts. * thunar/thunar-tree-model.{c,h}, thunar/thunar-tree-pane.{c,h}, thunar/thunar-tree-view.{c,h}, thunar/Makefile.am, thunar/thunar-window-ui.xml, thunar/thunar-window.c: Initial import of the tree side pane. Still missing a lot of features, but the basics are in place and the performance and memory overhead is quite good already. Bug #1363. * po/POTFILES.in: Add new files. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-03-14 Benedikt Meurer * thunar-vfs/thunar-vfs-util.c: Do not include directly. 2006-03-13 Benedikt Meurer * thunar/thunar-path-entry.c(thunar_path_entry_init): Always sort folders before files here, and always include hidden files in the entry completion. 2006-03-13 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_drag_motion): Add drag scroll support for XDS. 2006-03-13 Benedikt Meurer * thunar/thunar-location-button.c(thunar_location_button_init): Fix misalignment of the file system icon. Reported by Pablo Hdez-M. Saiz . 2006-03-13 Benedikt Meurer * thunar/thunar-permissions-chooser.c (thunar_permissions_chooser_fixperm_clicked): Forgot to adjust the mode mask. 2006-03-12 Benedikt Meurer * thunar/thunar-permissions-chooser.c (thunar_permissions_chooser_fixperm_clicked): Make sure the owner can read and enter the folder after fixing folder permissions. 2006-03-12 Benedikt Meurer * thunar/thunar-details-view.c(thunar_details_view_init): Use 2px spacing for the name column. 2006-03-12 Benedikt Meurer * thunar/thunar-text-renderer.c: Don't setup a fixed height if text wrapping is enabled. * po/Thunar.pot, po/*.po: Update translations again. * po/de.po: Fix typo in german translations. 2006-03-12 Benedikt Meurer * thunar/thunar-column-editor.c(thunar_column_editor_init): Fix a typo. 2006-03-12 Benedikt Meurer * thunar/thunar-enum-types.{c,h}, thunar/thunar-list-model.c, thunar/thunar-path-entry.c: Rename THUNAR_COLUMN_REAL_NAME to THUNAR_COLUMN_FILE_NAME. * thunar/thunar-enum-types.{c,h}, thunar/thunar-list-model.c: Add new list model columns THUNAR_COLUMN_GROUP and THUNAR_COLUMN_OWNER. * thunar/thunar-enum-types.{c,h}: Divide ThunarColumns into visible and special columns. * thunar/thunar-text-renderer.c(thunar_text_renderer_get_size): Improve guessing the required width for text columns. * thunar/thunar-text-renderer.c(thunar_text_renderer_set_widget): Set fixed height for the text render. * thunar/thunar-preferences.c, docs/README.thunarrc: Add preferences for the configurable detailed list view columns. Bug #1351. * thunar/thunar-column-editor.{c,h}, thunar/thunar-column-model.{c,h}, thunar/Makefile.am: Import ThunarColumnModel and ThunarColumnEditor classes. The ThunarColumnModel class handles the order, visibility and fixed widths of columns. The ThunarColumnEditor class provides a dialog to configure the ThunarColumnModel. Bug #1351. * thunar/thunar-details-view.{c,h}, thunar/thunar-details-view-ui.xml, thunar/Makefile.am: Use column order and visibility from the ThunarColumnOrder. Add "Configure Columns..." menu item to "View", which pops up the ThunarColumnEditor. For fixed column mode, we use the fixed height mode provided by GtkTreeView, which speeds up the detailed list view a lot, esp. with older Pango version. Bug #1351. * po/POTFILES.in: Add new files here. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update the german translations. 2006-03-11 Benedikt Meurer * thunar-uca/thunar-uca-editor.c(thunar_uca_editor_command_clicked), thunar/thunar-chooser-dialog.c(thunar_chooser_dialog_browse): Try to resolve relative filenames in $PATH. * thunar/thunar-chooser-dialog.c: Allow users to specify whether or not an application should become the default for the given MIME type. * thunar/thunar-chooser-dialog.c: Add tooltips and improve the overall usability of the chooser dialog. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-03-09 Benedikt Meurer * thunar/thunar-shortcuts-view.c: Improve keyboard navigation. Remove the "Display Icon Emblems" menu item. Bug #1559. * thunar/thunar-preferences-dialog.c: Add options for the shortcuts pane to the preferences dialog. Improve the recursive permissions option in the preference dialog and avoid the term "recursive". * po/*.po, po/Thunar.pot: Merge new strings. * po/de.po: Update german translations. 2006-03-09 Benedikt Meurer * examples/xfce-file-manager.py: Add note about DisplayFolderAndSelect() to the example. 2006-03-09 Benedikt Meurer * thunar/thunar-shortcuts-view.c: Add support to drop files to folders listed in the shortcuts pane. Bug #1345. 2006-03-08 Benedikt Meurer * thunar/thunar-view.{c,h}: Add new methods get_visible_range() and scroll_to_file(). * thunar/thunar-standard-view.c: Implement get_visible_range() and scroll_to_file(). Drop the scroll_offsets, will be handled in ThunarWindow. * thunar/thunar-window.{c,h}: Remember the first visible file whenever leaving a directory and scroll to it when entering the directory again. * thunar/thunar-application.{c,h}: Return the created window from the thunar_application_open_window() method. * thunar/thunar-dbus-service-infos.xml, thunar/thunar-dbus-service.c: Add DisplayFolderAndSelect() to the org.xfce.FileManager interface. File managers that cannot scroll and select to a given file can silently ignore the filename parameter and handle it like an invocation of DisplayFolder(). Bug #1553. 2006-03-08 Benedikt Meurer * thunar/thunar-shortcuts-view.c: Fix shortcut rename. 2006-03-08 Benedikt Meurer * thunar/thunar-shortcuts-view.c: Always open shortcuts using single clicks. 2006-03-08 Benedikt Meurer * thunar-uca/thunar-uca-provider.c: Pass the correct working directory when launching folder actions. 2006-03-08 Benedikt Meurer * thunar/thunar-properties-dialog.c(thunar_properties_dialog_init): Properly synchronize the dialog title with the name entry box. * thunar/thunar-file.{c,h}: Add THUNAR_FILE_ICON_STATE_OPEN. * thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Use THUNAR_FILE_ICON_STATE_OPEN for expanded rows. * thunar/thunar-side-pane.{c,h}, thunar/thunar-shortcuts-pane.c: Add "show-hidden" property. 2006-03-07 Benedikt Meurer * thunar-vfs/thunar-vfs-mime-legacy.c: Fix gcc4 warnings. Bug #1556. * thunar-vfs/thunar-vfs-xfer.c: Prefer statvfs() over statfs() on systems that provide both. Bug #1556. 2006-03-07 Benedikt Meurer * thunar-vfs/thunar-vfs-mime-legacy.c: Implement magic handling for the legacy backend (shared-mime-info <= 0.16). Bug #1106. 2006-03-07 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.c: Automatically give write permissions to regular files and folders copied from read-only media. Bug #1555. 2006-03-06 Benedikt Meurer * autogen.sh, configure.in.in, po/LINGUAS: Read the set of available languages from po/LINGUAS and substitute them when autogen.sh is run. This way we can continue to use glib-gettext. * docs/manual/, po-doc/, configure.in.in, Makefile.am: Import Daichi's initial japanese translations for the user manual. 2006-03-05 Benedikt Meurer * po/POTFILES.in: Add Thunar-folder-handler.desktop.in here. * po/Thunar.pot, po/*.po: Merge new strings. 2006-03-05 Benedikt Meurer * Thunar-folder-handler.desktop.in, Makefile.am: Install folder handler .desktop file for Thunar. This way firefox and thunderbird can use Thunar to open folders. 2006-03-05 Benedikt Meurer * configure.in.in: Bump version to 0.2.3svn. 2006-03-05 Benedikt Meurer * configure.in.in: Depend on libexo >= 0.3.1.4. 2006-03-05 Benedikt Meurer * configure.in.in: Bump version to 0.2.2alpha2. * configure.in.in: Bump soname. 2006-03-05 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.c, thunar/thunar-preferences-dialog.c: Fix en_GB words to their american english counterparts. * po/*.po, po/Thunar.pot: Update translations. 2006-03-04 Benedikt Meurer * po/de.po: Update german translations. 2006-03-02 Benedikt Meurer * configure.in.in, thunar/thunar-gdk-pixbuf-extensions.{c,h}, thunar/thunar-icon-renderer.c: Some of the gdk-pixbuf extensions were moved to libexo. Use the libexo ones. 2006-03-02 Benedikt Meurer * thunar/thunar-stock.{c,h}, thunar/thunar-create-dialog.c, thunar/thunar-standard-view.c: Add stock items THUNAR_STOCK_RENAME and THUNAR_STOCK_CREATE and use them for the create and rename dialogs. Bug #1523. * po/de.po: Fix german translations. 2006-03-02 Benedikt Meurer * configure.in.in: Add zh_TW to XDT_I18N(). * THANKS: Add translator credits for Hydonsingore Cia . 2006-03-02 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_get_drop_file): Allow to drop into full details view. Thunar will accept drops to the current folder on all non-executable regular files. Bug #1343. 2006-03-02 Benedikt Meurer * po/de.po: Fix typo. 2006-03-02 Benedikt Meurer * po/*.po: Previous commit removed the semicolons from the "Recommended applications" and "Other applications" strings. Update the po files accordingly. 2006-03-02 Benedikt Meurer * thunar-uca/thunar-uca-chooser.c(thunar_uca_chooser_init): Fix the vertical icon alignment. * thunar-uca/thunar-uca-editor.c(thunar_uca_editor_command_clicked): Verify that an absolute filename is given. Else GtkFileChooser will complain. * thunar-uca/thunar-uca-editor.c(thunar_uca_editor_icon_clicked): Same story. * thunar/thunar-dialogs.c, thunar/thunar-dialogs.c, thunar-uca/thunar-uca-chooser.c, thunar-uca/thunar-uca-provider.c: "%s." is really not something that must be translated. * thunar/thunar-chooser-dialog.c, thunar/thunar-chooser-model.{c,h}: Use bold font for the titles. * po/Thunar.pot, po/*.po: Update po files. * po/de.po: Updated the german translations. Thanks to Fabian Nowak . 2006-03-01 Benedikt Meurer * docs/manual/C/Thunar.xml.in: Add "Frequently Asked Questions". * thunar/thunar-location-buttons.c(thunar_location_buttons_clicked): Make sure the new active button is visible on the location button bar. * ThunarHelp.in, Makefile.am: Add ThunarHelp script, which is used to display the Thunar user manual. * thunar/thunar-dialogs.{c,h}, thunar/Makefile.am: Add new helper method thunar_dialogs_show_help(), which is used to open the documentation browser. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add "Contents" item to the "Help" menu. * thunar/thunar-chooser-button.c(thunar_chooser_button_file_changed): Fix typo. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Updated the german translations. 2006-03-01 Benedikt Meurer * configure.in.in, docs/Makefile.am, docs/manual/: Import initial parts of the user manual. * HACKING: Update repository URLs. * docs/README.volumes: Update notes. 2006-02-28 Benedikt Meurer * thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-standard-view.{c,h}: Remember the scroll offset when changing directory and apply saved scroll offset once a folder is loaded again. 2006-02-27 Benedikt Meurer * thunar/thunar-path-entry.c(thunar_path_entry_common_prefix_append): Do not append a slash for the current directory. Otherwise a slash will automatically be appended while browsing folders under certain conditions, and the slash will be selected, but that is not what we want. 2006-02-27 Benedikt Meurer * thunar/thunar-create-dialog.c(thunar_create_dialog_init): Use "Create" instead of "Ok" for the button label. * thunar/thunar-standard-view.c: Add tooltip for the "Paste Files" action. Update the tooltip for the "Paste Files into Folder" action. * thunar/thunar-standard-view.c(thunar_standard_view_action_rename): Use "Rename" instead of "Ok" for the button label. 2006-02-27 Benedikt Meurer * thunar/main.c, thunar/thunar-application.{c,h}, thunar/thunar-dbus-client.{c,h}, thunar/thunar-dbus-service-infos.xml, thunar/thunar-dbus-service.c, po/Thunar.pot, po/*.po: Revert the previous commit. Lightweight session management won't work for Thunar, instead XSM should be implemented. Bug #1415. 2006-02-27 Benedikt Meurer * thunar/main.c, thunar/thunar-application.{c,h}, thunar/thunar-dbus-client.{c,h}, thunar/thunar-dbus-service-infos.xml, thunar/thunar-dbus-service.c: Add session management support based on the ExoXsessionClient class. Bug #1415. * po/Thunar.pot, po/*.po: Update translations. 2006-02-26 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_drag_begin): Release the drag path list, just in case drag_end() wasn't called before (Gtk+ is somewhat buggy here, but I wasn't able to locate the bug yet). * thunar/thunar-window.c(thunar_window_action_location_bar_changed): Add "reload" button to the toolbar. * thunar/thunar-shortcuts-view.c, thunar/thunar-details-view.c: Use ExoTreeView, which provides a tree view with single-click support. * thunar/thunar-standard-view.c, thunar/thunar-icon-view.c: The internal widgets now both provide the "single-click" property, so we can connect it in the ThunarStandardView constructor. 2006-02-25 Benedikt Meurer * configure.in.in: Bump soname. * thunar-vfs/thunar-vfs-info.{c,h}: Add working_directory parameter to thunar_vfs_info_execute() to allow xfdesktop to launch applications with $HOME as working directory, as requested on the xfce mailing list. Bug #1473. * docs/reference/thunar-vfs/tmpl/thunar-vfs-info.sgml: Update API docs. * thunar/thunar-file.c(thunar_file_execute): Update to the new API. 2006-02-25 Benedikt Meurer * configure.in.in: And of course eu and sv. * configure.in.in: Set PACKAGE_BUGREPORT to thunar-dev@xfce.org. 2006-02-25 Benedikt Meurer * configure.in.in: And add fi to XDT_I18N(). 2006-02-25 Benedikt Meurer * THANKS: Add translator credits for Jari Rahkonen (fi). 2006-02-24 Benedikt Meurer * thunar-vfs/thunar-vfs-volume-hal.c(thunar_vfs_volume_hal_update): All volumes provided by USB devices are now marked as removable. * thunar/thunar-shortcuts-model.c(thunar_shortcuts_model_iter_for_file): Also check volumes here. 2006-02-24 Benedikt Meurer * thunar-uca/thunar-uca-chooser.c: Fix two typos that already survived for too long. 2006-02-24 Benedikt Meurer * THANKS: Add translator credits for Piarres Beobide (eu) and Daniel Nylander (sv). 2006-02-24 Benedikt Meurer * thunar/thunar-details-view.c(thunar_details_view_button_press_event), thunar/thunar-shortcuts-view.c (thunar_shortcuts_view_button_press_event): Properly verify the event modifier state according to the default modifier mask. * thunar/thunar-icon-view.c: Add interactive search capabilities to the ThunarIconView based on the latest changes to ExoIconView. Bug #1359. 2006-02-24 Benedikt Meurer * autogen.sh: Be sure to run svn info with LC_ALL=C. 2006-02-24 Benedikt Meurer * thunar/thunar-shortcuts-model.{c,h}, thunar/thunar-shortcuts-view.c: Make sure the path is still valid when renaming. Update the shortcuts rename to alter the mode of ThunarTextRenderer, rather than the "editable" property, which is not valid for ThunarTextRenderer. 2006-02-24 Benedikt Meurer * thunar/thunar-location-bar.{c,h}, thunar/thunar-window.c, thunar/thunar-location-buttons.c, thunar/thunar-location-dialog.{c,h}, thunar/thunar-location-entry.c, thunar/thunar-standard-view.{c,h}: Focus the location selector when the user types "/" or "~" into the main view, to stay compatible with GtkFileChooser. 2006-02-24 Benedikt Meurer * thunar/thunar-window.c(thunar_window_action_about): Add credits for Young Hahn to the about dialog. * thunar/thunar-preferences.c, docs/README.thunarrc: Add new preference MiscSingleClick, which controls whether single click navigation should be used. * thunar/thunar-preferences-dialog.c(thunar_preferences_dialog_init): Add single/double-click options to the preferences dialog. * thunar/thunar-pango-extensions.{c,h}: Add new helper function thunar_pango_attr_list_underline_single(), which returns a Pango attribute list for single-underlined text rendering. * thunar/thunar-text-renderer.c: Add "follow-prelit" property, which controls whether the text renderer should highlight text using the single underline attribute when a row/item is highlighted. * thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-shortcuts-view.c, thunar/thunar-standard-view.c: Add support for single click navigation to the details and icon views, and also to the shortcuts view. Bug #1396. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. 2006-02-24 Benedikt Meurer * thunar/thunar-icon-view-ui.xml, thunar/thunar-launcher-ui.xml, thunar/thunar-shortcuts-pane-ui.xml, thunar/thunar-window-ui.xml, thunar/thunar-standard-view-ui.xml: Cleanup the ui description files. * thunar-vfs/thunar-vfs-link-job.c, thunar-vfs/thunar-vfs-util.c, thunar/thunar-create-dialog.c, thunar/thunar-icon-factory.c, thunar/thunar-location-entry.c, thunar/thunar-window.c, thunar/thunar-properties-dialog.c, thunar/thunar-standard-view.c, thunar-uca/thunar-uca-provider.c: Further string cleanups. * thunar/thunar-location-bar.{c.h}, thunar/thunar-window.c: ThunarLocationBar derives from ThunarComponent now, so the location bar widget is able to add its own custom actions to the ui manager. * thunar/thunar-location-entry.c: Implement ThunarComponent here. * thunar/Makefile.am, thunar/thunar-location-buttons-ui.xml, thunar/thunar-location-buttons.c, thunar/thunar-location-button.c: Let ThunarLocationButtons handle the menu for ThunarLocationButton managed by it. Also add a accelerator Down for "down-folder", similar to GtkFileChooser. Bug #1472. * po/Thunar.pot, po/*.po: Merge new strings. 2006-02-24 Benedikt Meurer * THANKS, configure.in.in, icons/: Import new Thunar icon, designed by Young Hahn . 2006-02-19 Benedikt Meurer * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Turn the side pane choice(s) into toggle actions and add B as keyboard accelerator for the shortcuts pane, similar to the way its done in Firefox. 2006-02-18 Benedikt Meurer * thunar/thunar-location-button.c: Change icon to "drop icon" while dragging over a location button that can accept the drop. * thunar/thunar-location-button.c: Add context menu to the location buttons as requested on thunar-dev. 2006-02-18 Benedikt Meurer * thunar/thunar-location-button.c: Set toggle button state to inconsistent while holding down middle mouse button to give the user some visual feedback. 2006-02-18 Benedikt Meurer * thunar/thunar-location-button.{c,h}, thunar/Makefile.am, thunar/thunar-location-buttons.c: Put the location button stuff into a new class ThunarLocationButton. * po/POTFILES.in: Add thunar-location-button.c here. 2006-02-16 Benedikt Meurer * THANKS: Change Nick's email address as requested. * thunar-vfs/thunar-vfs-volume-none.h: Properly internalize the get_type() methods. 2006-02-15 Benedikt Meurer * thunar-vfs/thunar-vfs-unlink-job.c(thunar_vfs_unlink_job_execute): Ignore ENOENT errors returned by thunar_vfs_scandir() as well, to fix the problem with not being able to delete broken links on Linux. * thunar/thunar-application.c: Generate unique roles for the Thunar toplevel windows in preparation of session management support. * thunar/thunar-dbus-service-infos.xml, thunar/thunar-dbus-service.c: Add Terminate() method to the org.xfce.Thunar interface, which allows to properly shutdown a daemon instance. * thunar/main.c, thunar/thunar-dbus-client.{c,h}: Add -q/--quit command line option, which terminates a running daemon instance. Also cleanup the --daemon handling. 2006-02-15 Benedikt Meurer * FAQ, thunar/thunar-icon-view.c: Add mouse gesture for "Reload" as "move mouse down". The mouse gesture can still be canceled by placing the cursor back to its initial position (+/- 40px). 2006-02-15 Benedikt Meurer * THANKS, thunar-uca/thunar-uca-editor.c: Apply patch provided by Nick Schermer to fix a crash in the thunar-uca plugin if the icon specified for an action cannot be loaded. Bug #1458. 2006-02-14 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.c, thunar-vfs/thunar-vfs-chmod-job.c, thunar-vfs/thunar-vfs-chown-job.c: Be more consistent with error messages. * thunar/thunar-shortcuts-view.c: Even more consistency. * thunar/thunar-abstract-dialog.{c,h}, thunar/Makefile.am: Add new abstract class ThunarAbstractDialog, which overrides GtkDialog::close and provides additional keybindings for the "close" action. Bug #1380. * thunar/thunar-chooser-dialog.c, thunar/thunar-create-dialog.c, thunar/thunar-location-dialog.c, thunar/thunar-preferences-dialog.c, thunar/thunar-properties-dialog.c: Derive from ThunarAbstractDialog, so all dialogs/windows in Thunar can be closed using the same keyboard shortcuts and people can customize these shortcuts using the standard GtkBindingSet mechanism. Bug #1380. * po/Thunar.pot, po/*.po: Update translations. * po/de.po: "Gerät auswerfen" is probably not the best translation for "Eject Volume". ;-) * po/de.po: Even more love for the german translation. 2006-02-14 Benedikt Meurer * icons/16x16/Makefile.am, icons/16x16/stock_thunar-group.png, icons/16x16/stock_thunar-user.png: Remove the "thunar-user" and "thunar-group" stock icons. * thunar/thunar-permissions-chooser.c, thunar/thunar-stock.{c,h}: Do not display "thunar-user" and "thunar-group" stock icons in the permissions chooser any more, as it makes the dialog look busy. 2006-02-14 Benedikt Meurer * acinclude.m4, configure.in.in: Print build configuration summary. 2006-02-14 Benedikt Meurer * thunar/thunar-file.c(thunar_file_get_emblem_names): Use "cant-write" emblem for non-writable files owned by the user, to make it obvious why an application will not be able to save the file (unless the application uses a write to temporary, rename, unlink temporary procedure). * thunar/thunar-location-buttons.c(thunar_location_buttons_forall): Do not include the slider buttons unless include_internals is TRUE. * thunar/thunar-location-buttons.c: Remove buttons from the path bar whenever a displayed directory is deleted. Bug #1451. 2006-02-14 Benedikt Meurer * thunar-vfs/thunar-vfs-creat-job.c, thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-mkdir-job.c, thunar-vfs/thunar-vfs-transfer-job.c, thunar-vfs/thunar-vfs-unlink-job.c, thunar-vfs/thunar-vfs-volume-hal.c, thunar/thunar-dnd.c, thunar/thunar-gdk-extensions.c, thunar/thunar-preferences.c: Cleanup error messages. * po/Thunar.pot, po/*.po: Update translations. 2006-02-14 Benedikt Meurer * thunar-vfs/thunar-vfs-volume-hal.c: Pass NULL for error on first attempt to launch pumount. * thunar/thunar-folder.c: Properly merge the current files with the previous files when reloading the folder content. This finally fixes bug #1457. 2006-02-14 Benedikt Meurer * thunar-vfs/thunar-vfs-volume-hal.c: Fallback to mount/umount if pmount is not available. Requires fstab-sync to synchronize with HAL volumes. 2006-02-14 Benedikt Meurer * thunar-vfs/thunar-vfs-volume-hal.c: Work-around HAL bug #5279, where the UDIs array returned by libhal_drive_find_all_volumes() is not properly NULL-terminated. 2006-02-14 Benedikt Meurer * thunar/thunar-shortcuts-model.c: Include non-removable volumes in the list of hidden volumes. * thunar-vfs/thunar-vfs-volume-hal.c: Determine the volumes from the drives on startup, instead of FindDeviceByCapability(volume), as that seems to be what GNOME does. Maybe one day, there'll be a usable HAL documentation, and hardware will really just work. 2006-02-13 Benedikt Meurer * acinclude.m4, configure.in.in, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-volume-hal.c, thunar-vfs/thunar-vfs-volume.c, thunar-vfs/thunar-vfs-volume-freebsd.{c,h}, thunar-vfs/thunar-vfs-volume-none.{c,h}: Do not use AC_CONFIG_LINKS() anymore and let the user select it's preferred volume manager using the --with-volume-manager configure switch. * po/POTFILES.in: Update file list. * po/Thunar.pot, po/*.po: Update translations. 2006-02-13 Benedikt Meurer * thunar-vfs/thunar-vfs-volume-hal.c: Properly update volume state after eject and unmount. * README: List optional HAL dependency. 2006-02-13 Benedikt Meurer * thunar/thunar-dbus-service.c: Print a warning to stderr, instead of using g_warning() if unable to connect to the session bus. * configure.in.in, thunar-vfs/thunar-vfs-volume-hal.c: Update to use HAL 0.5.x API. 2006-02-13 Benedikt Meurer * thunar/thunar-folder.c(thunar_folder_reload): Properly cancel any previous job to make sure it will terminate as soon as possible. Bug #1457. 2006-02-13 Benedikt Meurer * thunar-vfs/thunar-vfs-info.c(_thunar_vfs_info_new_internal): Fix typo in hidden file detection. * thunar-vfs/thunar-vfs-volume.{c,h}: Add a few new volume types. * docs/reference/thunar-vfs/tmpl/thunar-vfs-volume.sgml: Update API docs. * thunar-vfs/thunar-vfs-volume-hal.{c,h}, thunar-vfs/Makefile.am, configure.in.in: Import the Linux/HAL implementation of the volume manager. It's still a bit rough, but it seems to work ok. Works only with pmount-hal currently, but that shouldn't be a problem. Bug #999. * thunar/thunar-shortcuts-model.c: Handle the addition/removal of volumes and do not open a file for volume shortcuts as that may prevent the volume from being unmounted properly. * thunar-vfs/thunar-vfs-volume.c: Setup a watch cursor on the given window when ejecting, mounting or unmounting a volume, so the user gets some feedback during the time it takes to perform the operation. * po/POTFILES.in: Add new file. * po/Thunar.pot, po/*.po: Merge new strings. 2006-02-13 Benedikt Meurer * thunar/thunar-enum-types.{c,h}, thunar/thunar-list-model.h: Rename ThunarListModelColumn to ThunarColumn and add an enum type for it. * thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-list-model.c, thunar/thunar-path-entry.c: Use the new ThunarColumn enum type. * thunar/thunar-gobject-extensions.c: Add transformation function for GtkSortType to string. * thunar/thunar-preferences.c, docs/README.thunarrc: Add LastSortColumn and LastSortOrder preferences, which contain the last selected sort settings. Bug #1342. * thunar/thunar-standard-view.c: Apply default sort settings on con- struction and save new defaults whenever the sort settings are changed by the user. Bug #1342. * po/Thunar.pot, po/*.po: Update translations. 2006-02-12 Benedikt Meurer * thunar/thunar-file-monitor.{c,h}, thunar/Makefile.am: Add new class ThunarFileMonitor, which allows other objects stay informed about changes to ThunarFile's without having to connect signal handlers to every ThunarFile. Bug #1447. * thunar/thunar-file.c: Emit ThunarFileMonitor signals as appropriate. Bug #1447. * thunar/thunar-folder.c, thunar/thunar-list-model.c: Use the newly added ThunarFileMonitor to monitor files for changes and deletion without having to connect and disconnect signal handlers to each and every file. Bug #1447. 2006-02-12 Benedikt Meurer * thunar/thunar-throbber-fallback.png: Import better throbber fallback icon, thanks to Brian Schott . 2006-02-10 Benedikt Meurer * thunar/thunar-list-model.c(thunar_list_model_cmp): Remove the safety checks here, showing up too high in the profiler stats, and invalid arguments to this function will be detected earlier (for debug builds). 2006-02-10 Benedikt Meurer * docs/reference/thunar-vfs/: Update thunar-vfs API docs. * thunar/thunar-throbber-fallback.png, thunar/thunar-throbber.c: Use smaller throbber, so we don't increase the height of the menu bar. 2006-02-10 Benedikt Meurer * thunar-vfs/thunar-vfs-1.pc.in: Add gthread-2.0 to the dependencies. * thunar-vfs/thunar-vfs.c(thunar_vfs_init): Make sure the GThread system is initialized. * thunar/main.c(main): thunar_vfs_init() will initialize GThread. * thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-types.h: Add flag THUNAR_VFS_FILE_FLAGS_HIDDEN, which tells whether a given file should be considered hidden. * thunar/thunar-file.{c,h}: Use the THUNAR_VFS_FILE_FLAGS_HIDDEN flag and implement thunar_file_is_hidden() as simple macro. * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Fix a typo in the multi-selection ngettext() call. * thunar/main.c(main): Call gdk_notify_startup_complete() if the remote LaunchFiles() succeeds. 2006-02-10 Benedikt Meurer * thunar/thunar-text-renderer.c(thunar_text_renderer_set_widget): Use the base text direction specified by Gtk+. Also, do not interpret line separators in file names. * thunar-vfs/thunar-vfs-listdir-job.c, thunar-vfs/thunar-vfs-marshal.list: Add boolean return value to the ThunarVfsListdirJob::infos-ready signal, and allow handlers to take over ownership of the infos list to avoid having to allocate a new list (which reduces both performance overhead and the negative effects on the data cache). Handlers must take care when using this feature, documentation has been updated to explain the details. * thunar/thunar-folder.c: Take over ownership of the list provided by "infos-ready" and just replace the ThunarVfsInfo's with ThunarFile's for the initial load case. For the reload case, there's no real gain in taking over ownership, so we keep the existing behaviour there. 2006-02-09 Benedikt Meurer * thunarx/thunarx-provider-factory.c: Initialize the factory on demand. * thunar-vfs/thunar-vfs-scandir.c(thunar_vfs_scandir_collect_fast): Use a larger buffer to speed up loading large directories. * thunar-vfs/thunar-vfs-mime-database.c: Initialize the MIME desktop stores on demand. 2006-02-09 Benedikt Meurer * thunar/thunar-file.h: Use cast checks instead of type checks here, as they will be optimized away with regular builds. Debug builds will still include the checks. * thunar/thunar-application.c, thunar/thunar-chooser-button.c, thunar/thunar-chooser-dialog.c, thunar/thunar-chooser-model.c, thunar/thunar-clipboard-manager.c, thunar/thunar-create-dialog.c, thunar/thunar-emblem-chooser.c, thunar/thunar-file.c, thunar/thunar-folder.c, thunar/thunar-gobject-extensions.h, thunar/thunar-history.c, thunar/thunar-icon-factory.c, thunar/thunar-icon-renderer.c, thunar/thunar-icon-view.c, thunar/thunar-launcher.c, thunar/thunar-list-model.c, thunar/thunar-location-buttons.c, thunar/thunar-location-entry.c, thunar/thunar-path-entry.c, thunar/thunar-permissions-chooser.c, thunar/thunar-progress-dialog.c, thunar/thunar-properties-dialog.c, thunar/thunar-shortcuts-icon-renderer.c, thunar/thunar-shortcuts-pane.c, thunar/thunar-standard-view.c, thunar/thunar-statusbar.c, thunar/thunar-text-renderer.c, thunar/thunar-throbber.c, thunar/thunar-window.c: We don't need to implement G_OBJECT_WARN_INVALID_PROPERTY_ID() for regular builds, as GObject will perform the required checks, but we need it for debug builds to make sure the switch statement is complete. 2006-02-08 Benedikt Meurer * thunar-vfs/thunar-vfs-util.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new function thunar_vfs_canonicalize_filename(). * thunar-vfs/thunar-vfs-path.c(thunar_vfs_path_new): Use thunar_vfs_canonicalize_filename() on absolute paths. * docs/reference/thunar-vfs/: Update the thunar-vfs API docs. * thunar/thunar-dialogs.{c,h}: Use a generic parent parameter instead of a GtkWidget, so this method is also usable if no GtkWidget is none, but the dialog must appear on a specific screen. * thunar/thunar-application.{c,h}: Add a "daemon" property, which determines whether Thunar will exit once the last window is closed. Remove the D-BUS service here. Add process_filenames() method, to process the list of filenames given on the command line. Bug #1384. * thunar/main.c: Attach the D-BUS here. * Makefile.am, org.xfce.Thunar.service.in: Add Thunar specific service file. * thunar/thunar-dbus-service-infos.xml, thunar/thunar-dbus-service.c: Add the org.xfce.Thunar interface here, with currently only a LaunchFiles() method, which can process Thunar command line parameters in a remote instance. Bug #1384. * thunar/thunar-dbus-client.{c,h}, thunar/Makefile.am: Add convenience wrapper for the D-BUS LaunchFiles() of the org.xfce.Thunar interface, which is used on startup to first try to reuse an existing instance. This way new folder windows will popup instantly if an instance of Thunar is already running. * org.xfce.Thunar.service.in, org.xfce.FileManager.service.in, thunar/main.c: Add --daemon option and use it when starting from the message bus. Pass all additional parameters as file names to a run- ning remote instance or to ThunarApplication as fallback. Bug #1384. * examples/xfce-file-manager.py, examples/Makefile.am: Add a simple example how to communicate with the file manager using the D-BUS Python bindings. * po/Thunar.pot, po/*.po: Merge new strings. 2006-02-08 Benedikt Meurer * thunar/thunar-window.c(thunar_window_action_about): Fix the copyright date. 2006-02-07 Benedikt Meurer * thunar/thunar-application.{c,h}: Add thunar_application_take_window(), which is used to add a GtkWindow to the internal application windows list. The application will not exit until the last controlled window is closed by the user. * thunar/thunar-file.{c,h}: Use a generic parent parameter for the thunar_file_launch() method. * thunar/thunar-chooser-dialog.{c,h}: Use a generic parent paramter for the thunar_show_chooser_dialog() method, and let the application take over control of the dialog window. * thunar/thunar-gdk-extensions.{c,h}, thunar/Makefile.am: Import method thunar_gdk_screen_open() from Terminal, which opens a GdkScreen from a full qualified display name. * README, configure.in.in: Add optional check for D-BUS. * thunar/Makefile.am, org.xfce.FileManager.service.in, Makefile.am, thunar/thunar-dbus-service-infos.xml, thunar/thunar-application.{c,h}, thunar/thunar-dbus-service.{c,h}: Initial import of the basic D-BUS service for Thunar, the org.xfce.FileManager implementation. See the thunar-dbus-service-infos.xml file for a description of the current interface. * po/Thunar.pot, po/*.po: Update the translations. 2006-02-07 Benedikt Meurer * thunar-vfs/thunar-vfs-mime-cleaner.c: Also cleanup the defaults.list file, replacing previously merged desktop-ids and dropping references to no longer existing .desktop files. 2006-02-06 Benedikt Meurer * thunar-vfs/thunar-vfs-mime-cleaner.c, thunar-vfs/Makefile.am, configure.in.in: Add a simple utility program thunar-vfs-mime-cleaner, which cleans up the user's $XDG_DATA_HOME/applications directory and removes all automatically generated .desktop files (either generated by Thunar or Nautilus) whose associated program is no longer installed on the user's system. In addition, it tries to combine duplicated .desktop whose Exec values are equal to further the reduce the overhead. * thunar-vfs/thunar-vfs-mime-database.c: Invoke thunar-vfs-mime-cleaner every five minutes. * thunar-vfs/thunar-vfs.symbols, thunar-vfs/thunar-vfs-*.h: Add G_GNUC_WARN_UNUSED_RESULT to all methods, whose return value should never be ignored. This should help to avoid memory leaks in the future. 2006-02-06 Benedikt Meurer * thunar-vfs/thunar-vfs-chmod-job.c, thunar-vfs/thunar-vfs-chown-job.c, thunar-vfs/thunar-vfs-listdir-job.c, thunar-vfs/thunar-vfs-scandir.c, thunar-vfs/thunar-vfs-scandir.h, thunar-vfs/thunar-vfs-transfer-job.c, thunar-vfs/thunar-vfs-unlink-job.c: The directory scanning is now cancelable. Bug #1239. * thunar/thunar-icon-factory.c: Properly reload/regenerate thumbnails when image files are changed. Bug #1435. * thunar-vfs/thunar-vfs-mime-application.c (thunar_vfs_mime_application_new_from_file): Check TryExec (or Exec) first prior to allocating a ThunarVfsMimeApplication for a .desktop file, whose associated program cannot be run. Bug #1436. 2006-02-06 Benedikt Meurer * thunar/thunar-standard-view.c: Autoscroll while dragging to a ThunarStandardView widget. Bug #1304. 2006-02-06 Benedikt Meurer * thunar/thunar-templates-action.c: Use "show" instead of "map" to create the Templates menu, to make sure the menu position is determined properly. * README, configure.in.in, thunar/thunar-icon-view.c: Use cairo only with Gtk+ >= 2.7.1. * thunar/thunar-shortcuts-view.c(thunar_shortcuts_view_init): Display typeahead search for the shortcuts view. 2006-02-06 Benedikt Meurer * thunar-vfs/thunar-vfs-transfer-job.c(thunar_vfs_transfer_job_execute): Try to use g_rename() first when moving files, and only fallback to copy&delete if either the target exists (which requires user inter- action to resolve the issue) or the rename didn't work, i.e. source and target are not on the same filesystem. Bug #1229. * thunar-vfs/thunar-vfs-volume.{c,h}: Add thunar_vfs_volume_is_disc() to allow applications to decide whether to eject or unmount a volume. * thunar/thunar-shortcuts-view.c (thunar_shortcuts_view_button_press_event): Use the newly added method thunar_vfs_volume_is_disc() to determine whether to display Eject or Unmount. * thunar/thunar-side-pane.{c,h}: Derive ThunarSidePane from ThunarComponent instead of ThunarNavigator. * thunar/thunar-launcher.c, thunar/thunar-standard-view.c, thunar/thunar-window.c: Use the class name as name for the action groups. * thunar/thunar-shortcuts-pane-ui.xml, thunar/thunar-shortcuts-pane.c, thunar/thunar-window.c, thunar/thunar-window-ui.xml, thunar/Makefile.am: Add new action to add a folder (or a list of folders, depending on the selection content) to the shortcuts pane. Bug #1397. * thunar/thunar-throbber.c, thunar/thunar-throbber-fallback.{h,png}, thunar/Makefile.am: Use the "process-working" icon for the throbber, as specified by the Icon Naming Specification, with an internal fallback to a modified version of the Tango "process-working" icon. * configure.in.in, icons/Makefile.am, icons/scalable/, icons/16x16/Thunar.png, icons/16x16/Thunar.png, icons/24x24/Thunar.png, icons/48x48/Thunar.png: Revert to the previous Thunar icon. * po/Thunar.pot, po/*.po: Merge new strings. 2006-02-06 Benedikt Meurer * thunar/thunar-properties-dialog.c(thunar_properties_dialog_update): Use G_GINT64_FORMAT instead of "lld" as format for the file size. 2006-02-06 Benedikt Meurer * Thunar.desktop.in: Add "GTK" to the Categories. 2006-02-06 Benedikt Meurer * thunar/thunar-path-entry.c: Make sure to catch the tab key even for the ThunarLocationEntry case. This doesn't work if the completion list is visible, tho (Gtk+ bug/limitation). Bug #1346. 2006-02-05 Benedikt Meurer * thunar/thunar-chooser-dialog.{c,h}: Add a new convenience function thunar_show_chooser_dialog(). * thunar/thunar-launcher.c(thunar_launcher_open_files), thunar/thunar-file.c(thunar_file_launch): Use the new function thunar_show_chooser_dialog() here. * thunar/thunar-gtk-extensions.{c,h}: Add a new convenience function thunar_gtk_ui_manager_get_action_by_name(), which is unfortunately missing from GtkUIManager. * thunar/thunar-details-view.c, thunar/thunar-icon-view.c: Use thunar_gtk_ui_manager_get_action_by_name() to locate the launcher actions in the UI manager. * thunar/thunar-file.{c,h}: Add a new convenience function thunar_file_list_get_applications(), which can be used to determine the set of applications that can be used to open a given set of files. * thunar-uca/thunar-uca-chooser.c(thunar_uca_chooser_delete_clicked): Save the model after removing a custom action. * thunar/thunar-launcher.{c,h}, thunar/thunar-chooser-dialog.{c,h}, thunar/thunar-launcher-ui.xml, thunar/Makefile.am, thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c, thunar/thunar-window-ui.xml, thunar/thunar-window.c: Replace the previous ThunarLauncher class with a more advanced one, which has access to the GtkUIManager. The new implementation also displays which application will be used to open files, based on Jonathan Blandfords suggestion for Nautilus. Bug #1428. * thunar-vfs/thunar-vfs-mime-action-private.h, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-mime-action.{c,h},thunar-vfs/thunar-vfs.symbols, thunar-vfs/thunar-vfs-mime-handler-private.h, thunar-vfs/thunar-vfs.h, thunar-vfs/thunar-vfs-mime-handler.{c,h}, thunar-vfs/thunar-vfs-mime-application.{c,h}, thunar-vfs/thunar-vfs-mime-database.c: Import ThunarVfsMimeAction class to support desktop actions in Thunar. The abstract base class ThunarVfsMimeHandler is used to avoid duplicating the existing code for ThunarVfsMimeApplication in ThunarVfsMimeAction, and it will also make it easier to handle both ThunarVfsMimeApplication's and ThunarVfsMimeAction's in the user interface code. Bug #1374. * docs/reference/thunar-vfs/: Update the Thunar-VFS API docs. * thunar/thunar-chooser-button.c, thunar/thunar-chooser-dialog.c, thunar/thunar-chooser-model.c, thunar/thunar-file.c, thunar/thunar-launcher.c: Update to the new ThunarVfsMimeHandler and ThunarVfsMimeApplication interface. * thunar/thunar-launcher.c: Display desktop actions in the file context menu and the "File" menu, based on the newly added ThunarVfsMimeAction class. Bug #1375. * po/POTFILES.in: Update the file list. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Update german translations. * configure.in.in, icons/: Change the Thunar icon to the new one provided by Young Hahn . Any artists around to make it look even better? 2006-02-04 Benedikt Meurer * thunar/thunar-permissions-chooser.c (thunar_permissions_chooser_file_changed): Display the program check box only for files which we will actually execute. * thunar/thunar-permissions-chooser.c: Add a warning text to the permissions chooser for folders, whose exec and read flags are inconsistent. Add a button to allow the user to fix the folder permissions automatically if inconsistent. * po/Thunar.pot, po/*.po: Merge new strings. 2006-02-04 Benedikt Meurer * thunar/thunar-file.{c,h}: Add method thunar_file_list_to_path_list(), which transforms a list of ThunarFile's to a list of ThunarVfsPath's. * thunar/thunar-clipboard-manager.c (thunar_clipboard_manager_get_callback): Use newly added function thunar_file_list_to_path_list() here. * thunarx/thunarx-file-info.c(thunarx_file_info_list_copy): Use a slightly more efficient implementation here. * thunarx/thunarx-file-info.{c,h}, thunarx/thunarx.symbols: Add a boxed type for a list of ThunarxFileInfo's. * docs/reference/thunarx/: Update the thunarx API docs. * thunar/thunar-launcher.c: Use the new boxed type for the list of selected files, rather than a pointer. * thunar/thunar-navigator.c(thunar_navigator_get_type): Add requirement on G_TYPE_OBJECT. * thunar/thunar-component.{c,h}: Add new interface ThunarComponent for those parts of a ThunarWindow that require access to both the UI manager and the currently selected files. ThunarComponent extends ThunarNavigator. * thunar/thunar-view.{c,h}: The ui-manager property is now in ThunarComponent and ThunarView inherits ThunarComponent. * thunar/thunar-standard-view.{c,h}: Implement ThunarComponent interface as required by ThunarView now. This way other components will be able to determine the selected files and set the selected files without having to interact with the ThunarView implementation directly. * thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_get_free_space): Be sure to use statvfs(2) for IRIX. Bug #1425. * thunar-vfs/thunar-vfs-volume.h(ThunarVfsVolumeManagerIface): Reserve some space for future expansion now. * thunar-vfs/thunar-vfs-*.c, docs/reference/thunar-vfs/: Some updates to the Thunar-VFS API documentation. * po/Thunar.pot, po/*.po: Update translations. 2006-02-04 Benedikt Meurer * thunar/thunar-path-entry.c(thunar_path_entry_init): Update to the new show-hidden settings name. Bug #1424. 2006-02-02 Benedikt Meurer * configure.in.in: Check for statvfs() and statfs(), and required header files. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs-volume.{c,h}, thunar-vfs/thunar-vfs-volume-bsd.c, thunar-vfs/thunar-vfs.symbols: Move the get_free_space() method from ThunarVfsVolume to ThunarVfsInfo so we can use it even if no volume manager implementation is avail- able for the target system. Bug #1420. * thunar/thunar-file.h: Add get_free_space() method to ThunarFile, so we can easily determine the amount free space for a given volume based on a file located on that volume. Bug #1421. * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Use new method thunar_file_get_free_space(). * thunar/thunar-properties-dialog.c: Display the amount of free space on a certain volume in the properties dialog for folders. 2006-02-02 Benedikt Meurer * thunar/thunar-throbber.c: Fix typo in GDK_WINDOWING_X11. Cannot use gdk_cairo_region() with GDK < 2.7.1. 2006-02-02 Benedikt Meurer * thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Make it easier to distinguish hidden and backup files from regular files. * docs/README.thunarrc, thunar/thunar-preferences.c: Rename the DefaultShowHidden preference to LastShowHidden. * thunar/thunar-preferences-dialog.c, thunar/thunar-window.c: Drop the "Show hidden files" option from the preferences dialog. Instead Thunar now preserves the users last selection. This way, the "Show hidden files" behaviour is now consistent with the rest of the file manager. Bug #1417. 2006-02-02 Benedikt Meurer * thunar/thunar-shortcuts-model.{c,h}: Drop obsolete method thunar_shortcuts_model_file_for_iter() from ThunarShortcutsModel. * thunar-vfs/thunar-vfs-volume.{c,h}, thunar-vfs/thunar-vfs.symbols: Add eject(), mount() and unmount() methods to the ThunarVfsVolume interface. The interface is therefore mostly done now, maybe some small additions required for certain backends in the future. Bug #995. * docs/reference/thunar-vfs/: Update the API docs. * thunar-vfs/thunar-vfs-volume-bsd.c: Implement eject(), mount() and unmount() for the BSD backend. * thunar/thunar-shortcuts-view.c: Allow users to mount, unmount and eject volumes using the shortcuts pane. Volumes will also be mounted automatically if you select "Open", "Open in New Window" or just double click them. But all this is currently only available to BSD users. * docs/README.volumes: Add notes about the volume manager. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Another four strings translated! 2006-02-01 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_scroll_event): Zoom-in on scroll down, zoom-out on scroll up, to be compatible with Firefox. 2006-02-01 Benedikt Meurer * thunar/thunar-standard-view.c: Open a dialog when renaming a file. Bug #1413. * thunar/thunar-standard-view.c(thunar_standard_view_action_delete): Use "Cancel" and "Delete" buttons in the delete confirmation dialog, as suggested by Jasper. * thunar/thunar-progress-dialog.c(thunar_progress_dialog_error), thunar/thunar-permissions-chooser.c (thunar_permissions_chooser_job_error): Use "Close" button for the error dialogs. * po/Thunar.pot, po/*.po: Merge new strings. * po/de.po: Some work on the german translations. * docs/reference/thunar-vfs/tmpl/: Update thunar-vfs API docs. 2006-02-01 Benedikt Meurer * thunar/thunar-properties-dialog.c: Don't recreate plugin pages if the file changes, but instead let the plugins connect to the file's "changed" signal and update their user interface appropriately. Bug #1355. 2006-02-01 Benedikt Meurer * thunar/thunar-file.{c,h}, thunarx/thunarx-file-info.{c,h}, thunarx/thunarx.symbols: Move "changed" and "renamed" signals from ThunarFile to ThunarxFileInfo, so plugins can use these signals to stay informed about changes to files. First part of bug #1354. * docs/reference/thunarx/: Update the API documentation. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs-types.h: Drop the inode field from the ThunarVfsInfo struct, as we don't need it anyway and it can cause trouble with systems where ino_t's size depends on whether largefile support is active or not. 2006-02-01 Benedikt Meurer * thunar-vfs/thunar-vfs-scandir.c: Use g_access() if available. * thunar-vfs/thunar-vfs-info.c(_thunar_vfs_info_new_internal): Fix a bug where the path name was g_free()'d for .desktop files with non ASCII file names. * thunar-vfs/thunar-vfs-path.c(thunar_vfs_path_to_string): Apply simple optimization here: Prefer the stack memory over heap memory when constructing the absolute path. 2006-02-01 Benedikt Meurer * thunar-vfs/thunar-vfs-util.c(thunar_vfs_humanize_size): Use "kB" instead of "KB". 2006-01-31 Benedikt Meurer * thunar/thunar-standard-view.c: Disable the "create-document" action on non-writable folders. * thunar-vfs/thunar-vfs-scandir.c: Return an error when trying to scan a directory for which the user has no execute permissions. Bug #1408. * thunar/thunar-file.c(thunar_file_get_emblem_names): Add "cant-read" emblem to folders, where we don't have permissions to enter. Second part of fix for bug #1408. 2006-01-31 Benedikt Meurer * thunar-vfs/thunar-vfs-info.c: Treat .desktop files of Type=Link as executable as well, and when requested to execute such a file, extract the URL and pass it to exo-open for further processing. Bug #1369. 2006-01-31 Benedikt Meurer * thunar-vfs/thunar-vfs-exec.c(thunar_vfs_exec_parse): Use exo-open instead of hardcoding Terminal as terminal emulator. Bug #1400. 2006-01-31 Benedikt Meurer * configure.in.in: Depend on exo 0.3.1.3. * thunar-vfs/thunar-vfs-listdir-job.c: Make sure the list head always points to a valid ThunarVfsInfo list, even if an error occurred while stat()'ing files in a given directory. Bug #1390. * thunar/thunar-window.c(thunar_window_action_about): Use the newly added exo_url_about_dialog_hook() functions to open links in the about dialog. 2006-01-31 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_scroll_event): Add support to zoom in/out using Control+MouseWheel. 2006-01-30 Benedikt Meurer * thunar/thunar-window.c(thunar_window_action_open_templates): Improve the text for the "About Templates" dialog. Thanks to Brian for the suggestion. Bug #1392. 2006-01-30 Benedikt Meurer * thunar/Makefile.am, thunar/thunar-throbber.{c,h}: Import the ThunarThrobber widget class, which display a loading animation similar to the one found in Firefox. * thunar/thunar-statusbar.{c,h}: Drop the statusbar icon, as it's confusing, since it refers to the current folder instead of the selected items, but the text displayed in the statusbar refers to the selected items. * thunar/thunar-window.c: Add a ThunarThrobber to the menu bar, and use it to display loading animation instead of the statusbar icon. * thunar/thunar-window.c: Add additional reload shortcut GDK_F5. * docs/README.thunarrc, thunar/thunar-preferences.c, thunar/thunar-window-ui.xml, thunar/thunar-window.c: The statusbar is optional now. Bug #1395. * po/Thunar.pot, po/*.po: Merge new strings. 2006-01-30 Benedikt Meurer * configure.in.in: Add ru translations. * THANKS: Add ru translator credits for Andrey Fedoseev . 2006-01-29 Benedikt Meurer * docs/README.thunarrc: Add missing preferences. * thunar/thunar-preferences.c: Rearrange stuff. 2006-01-29 Benedikt Meurer * thunar/thunar-enum-types.{c,h}: Add ThunarZoomLevel and ThunarIconSize required for the zoom-level support. * docs/README.thunarrc, thunar/thunar-preferences.c: Changed property ShortcutsIconSize to ThunarIconSize, required for the upcoming changes to ThunarIconRenderer. People starting Thunar for the first time after this upgrade will notice that the size of the shortcuts icons is too small because of this change. Either edit thunarrc and change ShortcutsIconSize appropriately or just remove thunarrc and let Thunar recreate it with sane defaults (your settings will be lost then). Add two new preferences LastDetailsViewZoomLevel and LastIconViewZoomLevel. * thunar/thunar-icon-renderer.{c,h}: The size property is now of type ThunarIconSize, rather than plain int. * thunar/thunar-view.{c,h}: Add zoom control methods to the ThunarView interface. * thunar/thunar-standard-view.{c,h}, thunar/thunar-standard-view-ui.xml, thunar/thunar-window-ui.xml, thunar/thunar-window.{c,h}, thunar/thunar-details-view.c, thunar/thunar-icon-view.c: Add support for seven different zoom levels to Thunar based on the previous changes. This fixes bug #1357, and thereby implements one of the most oftenly requested features. * po/Thunar.pot, po/*.po: Merge new strings. 2006-01-29 Benedikt Meurer * thunar/thunar-location-buttons.c: Add support to drop on pathbar buttons, as requested in bug #1344. 2006-01-29 Benedikt Meurer * thunar/thunar-list-model.c(thunar_list_model_files_removed): Fix bug where only the first file was removed. * thunar/thunar-folder.{c,h}: Add new method thunar_folder_reload(), which explicitly forces the ThunarFolder to reload its contents. This fixes bug #1360. * thunar/thunar-view.{c,h}: Add new method thunar_view_reload() to the ThunarView interface. * thunar/thunar-standard-view.c: Implement thunar_view_reload() for the ThunarStandardView class, using the newly added thunar_folder_reload() method. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add a "Reload" item to the "View" menu, using "Ctrl+R" as accelerator to stay com- patible with Firefox, Nautilus, etc. This fixes bug #1361. * thunar/thunar-standard-view.c (thunar_standard_view_drag_data_received): Reload the contents of the target folder after a successful XDirectSave. This fixes bug #1362. * po/Thunar.pot, po/*.po: Merge new strings. 2006-01-29 Benedikt Meurer * thunar/thunar-templates-action.c: Add support for sub folders below the ~/Templates folder. This fixes reopened bug #1391. * thunar-vfs/thunar-vfs.symbols, thunar-vfs/thunar-vfs-info.{c,h}: Add thunar_vfs_info_read_link(), which determines the target from a symbolic link. * thunar/thunar-file.h: Add method thunar_file_read_link() as wrapper to thunar_vfs_info_read_link(). * thunar/thunar-properties-dialog.c: Display the "Link Target" for symbolic links. This fixes bug #1394. 2006-01-28 Benedikt Meurer * thunar-vfs/thunar-vfs-chmod-job.c(thunar_vfs_chmod_job_execute), thunar-vfs/thunar-vfs-chown-job.c(thunar_vfs_chown_job_execute): Properly emit and release an error that occurred on the last file. * THANKS, thunar/thunar-shortcuts-view.c: Add support to open shortcuts in new windows using the context menu or double-middle-clicks, based on a patch by Laurent Meunier . This fixes bug #1381. * docs/README.thunarrc, thunar/thunar-preferences.c, thunar/thunar-window.c: Remember the window dimensions whenever the size of a window is changed and use the last saved window dimensions for newly created windows. This fixes bug #1389. * thunar/thunar-pango-extensions.{c,h}: Add new helper function thunar_pango_attr_list_big_bold(), which returns a pango attribute list for big, bold text rendering. * thunar/thunar-permissions-chooser.c (thunar_permissions_chooser_ask_recursive): Use big, bold label for the dialog title to stay consistent with GtkMessageDialog. * thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-creat-job.{c,h}, thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new class ThunarVfsCreatJob, which is used to create empty files for a given list of paths. * docs/reference/thunar-vfs/tmpl/thunar-vfs-operations.sgml, docs/reference/thunar-vfs/thunar-vfs-sections.txt: Update API docs. * thunar/thunar-application.{c,h}: Add thunar_application_creat() as wrapper for the newly imported ThunarVfsCreatJob. * thunar/thunar-application.{c,h}: Add thunar_application_copy_to() to copy files from one location to another, rather than copying files from different sources to exactly one folder. * thunar/thunar-create-dialog.c(thunar_create_dialog_set_filename): If the suggested file name contains a dot, pre-select only the text up to the dot. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c, thunar/thunar-templates-action.{c,h}, thunar/Makefile.am: Add support for Templates in a way compatible with what Nautilus does currently. This is part one of the fix for bug #1391. * thunar/thunar-preferences, docs/README.thunarrc: Add new property "misc-show-about-templates", which determines whether the "About Templates" dialog will be shown when entering the Templates folder. * icons/16x16/stock_thunar-templates.png, icons/16x16/Makefile.am, thunar/thunar-stock.{c,h}: Add new stock icon "thunar-templates". * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add "Templates" to the "Go" menu, which will open the ~/Templates folder (it will be created on-demand) and popup a message describing the purpose of the ~/Templates folder. This is part two of the fix for bug #1391. * po/POTFILES.in: Add new files here. * po/*.po: Merge new strings. 2006-01-25 Benedikt Meurer * thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-xfer.c: Apply patch provided by Daichi to add several translator hints to thunar-vfs. * thunar/thunar-properties-dialog.c (thunar_properties_dialog_key_press_event): Support Ctrl+W for clo- sing the properties dialog, to be consistent with the main windows. 2006-01-25 Benedikt Meurer * THANKS, configure.in.in: Add nl to XDT_I18N(). Add translator credits to THANKS. 2006-01-25 Benedikt Meurer * thunar-vfs/thunar-vfs-util.c(thunar_vfs_humanize_size): Use "GB" instead of "G", "MB" instead of "M" and "KB" instead of "K", to make it more obvious what the value means (this fixes bug #1367). 2006-01-25 Benedikt Meurer * thunar/thunar-chooser-dialog.c, thunar/thunar-chooser-model.c, thunar/thunar-clipboard-manager.c, thunar/thunar-create-dialog.c, thunar/thunar-emblem-chooser.c, thunar/thunar-file.c, thunar/thunar-folder.c, thunar/thunar-history.c, thunar/thunar-icon-factory.c, thunar/thunar-icon-view.c, thunar/thunar-launcher.c, thunar/thunar-list-model.c, thunar/thunar-navigator.c, thunar/thunar-open-with-action.c, thunar/thunar-path-entry.c, thunar/thunar-progress-dialog.c, thunar/thunar-properties-dialog.c, thunar/thunar-standard-view.c, thunar/thunar-statusbar.c, thunar/thunar-text-renderer.c, thunar/thunar-view.c, thunar/thunar-window.c: Remove various internal strings from the list of translatable strings to reduce confusion for translators. * po/*.po: Update translations. 2006-01-25 Benedikt Meurer * thunar/thunar-enum-types.{c,h}: Import enum types required for the desktop background management. 2006-01-24 Benedikt Meurer * thunar/thunar-preferences.c(thunar_preferences_set_property): No need to call g_object_notify() here, as GObject does that automatically whenever set_property() is being called. * thunar/thunar-preferences.c: Remove useless safetly checks in get_property() and set_property(), since GObject already makes sure that the property id is valid. 2006-01-23 Benedikt Meurer * thunar/thunar-properties-dialog.c(thunar_properties_dialog_update): Display size only for regular files, as it's misleading for other file system entities. * po/*.po: Merge new strings. Some work on the german translations, we really need a german translator! 2006-01-23 Benedikt Meurer * docs/README.thunarrc, thunar/thunar-preferences.c: Add new preferences ShortcutsIconEmblems and ShortcutsIconSize, which control the appearance of the shortcuts view. * thunar/thunar-gobject-extensions.c: Add transformator for string to int transformations. * thunar/thunar-icon-renderer.{c,h},thunar/thunar-shortcuts-model.{c,h}, thunar/thunar-shortcuts-icon-renderer.{c,h}, thunar/Makefile.am, thunar/thunar-shortcuts-view.c: Import ThunarShortcutsIconRenderer class, which is derived from ThunarIconRenderer and allows us to draw icon cells consistently throughout the file manager. This also fixes bug #1340, which requests to display emblems for the icons in the shortcuts pane. Both the display of emblems in the shortcuts pane and the size of the icons in the shortcuts pane are now configurable through the thunarrc file (for the emblems, there's also a menu item in the context menu). 2006-01-23 Benedikt Meurer * configure.in.in: Bump version to 0.2.1svn. * thunar/thunar-file.{c,h}: Make thunar_file_accepts_drop() easier to use. * thunar/thunar-standard-view.c(thunar_standard_view_get_dest_actions): Keep up with the thunar_file_accepts_drop() changes. * docs/reference/thunarx/tmpl/thunarx-preferences-provider.sgml: Let gtk-doc remove it's empty line here, for whatever reason. 2006-01-22 Benedikt Meurer * configure.in.in: Bump version to 0.2.0alpha. * configure.in.in: Bump library interface version. * configure.in.in: Depend on libexo 0.3.1.2. * po/*.po: Update translations. * TODO: Remove obsolete TODO items. 2006-01-14 Benedikt Meurer * THANKS, configure.in.in, po/pl.po: Add initial polish translations, thanks to Tomasz MichaÅ‚ Åukaszewski . * thunar/thunar-icon-factory.c, thunar/thunar-preferences-dialog.c, thunar/thunar-preferences.c, thunar/thunar-standard-view.c: Make thumbnails configurable. * po/*.po: Merge new strings. 2006-01-14 Benedikt Meurer * thunar/thunar-path-entry.c(thunar_path_entry_init): The property "popup-single-match" was introduced in Gtk+ 2.8. Thanks to Erik for the pointer. 2006-01-11 Benedikt Meurer * thunar/thunar-text-renderer.c(thunar_text_renderer_render): Render focus indicator when following state. Part two of fix for bug #1321. 2006-01-11 Benedikt Meurer * thunar/thunar-preferences.c, FAQ: Store preferences in an .ini file, $XDG_CONFIG_HOME/Thunar/thunarrc, similar to what Terminal does, so users can easily adjust hidden settings, and don't have to dive into the details of managing a tdb database file. * thunar/thunar-icon-view.c, thunar/thunar-path-entry.c, thunar/thunar-preferences-dialog.c, thunar/thunar-preferences.c, thunar/thunar-standard-view.c: Rename "default-folders-first" to "misc-folders-first" and "default-text-beside-icons" to "misc-text-beside-icons", as those preferences aren't defaults. * thunar/thunar-standard-view.c(thunar_standard_view_scroll_event), thunar/thunar-preferences.c: Add a new hidden preference, MiscHorizontalWheelNavigates, which controls whether the horizontal mouse wheel should be used to navigate back and forth within a Thunar view. This fixes bug #1319. * docs/Makefile.am, docs/README.thunarrc: Add brief overview of the various Thunar configuration settings. 2006-01-11 Benedikt Meurer * thunar/thunar-standard-view.c: Fix compiler warnings. Again bug #1318. 2006-01-10 Benedikt Meurer * thunar/thunar-path-entry.c(thunar_path_entry_changed): Make older compilers happy. Fixes bug #1318. 2006-01-10 Benedikt Meurer * thunar/thunar-chooser-dialog.c(thunar_chooser_dialog_response): If the default application was changed successfully, emit "changed" on the file so everybody updates its state. * thunar/thunar-chooser-button.{c,h}, thunar/thunar-properties-dialog.c: Import the ThunarChooserButton, which allows people to change the default application from within the properties dialog. * po/POTFILES.in, po/*.po: Merge new strings. 2006-01-10 Benedikt Meurer * thunar/thunar-path-entry.c(thunar_path_entry_activate): If we have a pending completion, accept the completion first, without activating the entry. This makes it more consistent with the behaviour when completing from the popup window. * thunar/thunar-path-entry.c(thunar_path_entry_parse): Properly transform all parts of the filename to the local encoding. * thunar/thunar-text-renderer.c(thunar_text_renderer_set_widget): Calculate the approx. character dimensions based on the font metrics for the active widget font. * thunar/thunar-window.c(thunar_window_action_go_up): Handle errors properly. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Add support to view the properties of the current folder. * thunar/thunar-file.{c,h}, thunar/thunar-location-buttons.c, thunar/thunar-shortcuts-model.c, thunar/thunar-window.c: Change special file naming (home and root folder) to be consistent with what GtkFileChooser does. * thunar/thunar-properties-dialog.c(thunar_properties_dialog_update): Display only the name of the file in the dialog title. * thunar/thunar-standard-view.c: Add support for the XDS protocol. * README: Add notes about supported standards. 2006-01-09 Benedikt Meurer * thunar-vfs/thunar-vfs-util.{c,h}: Add thunar_vfs_expand_filename(), which is used to expand filenames that start with the tilde character. * docs/reference/thunar-vfs/thunar-vfs-sections.txt, docs/reference/thunar-vfs/tmpl/thunar-vfs-util.sgml: Update documentation. * thunar/thunar-permissions-chooser.c: Implement cancel-semantics for the recursive permissions dialog. * thunar/thunar-permissions-chooser.c: Add tooltips. * thunar/thunar-list-model.{c,h}: Additional column to access the real file name (in UTF-8 encoding). * thunar/thunar-path-entry.{c,h}: Add support for auto path completion. * thunar/thunar-file.{c,h}: Add thunar_file_launch() to automatically launch a given ThunarFile without having to manually figure out the proper action. * thunar/thunar-location-entry.c, thunar/thunar-window.c: If the ThunarPathEntry returns a non-directory file, just try to launch it. This allows users to just open files right away from the path entry without having to lookup the file in the icon/details view. * thunar/thunar-standard-view.c, THANKS: Allow people to use the horizontal mouse wheel to navigate back/forward. Based on a patch provided by Danny Milosavljevic . * po/*.po: Merge new strings. 2006-01-08 Benedikt Meurer * thunar-vfs/thunar-vfs-monitor.c (thunar_vfs_monitor_queue_notification): Don't use strcmp() here, as the notification's filename may be NULL. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Drop thunar_vfs_info_chmod() and thunar_vfs_info_chgrp() again. * thunar-vfs/thunar-vfs-chmod-job.{c,h}, thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs-chown-job.{c,h}, thunar-vfs/Makefile.am: Add new classes ThunarVfsChmodJob and ThunarVfsChownJob as replacements for the thunar_vfs_info_chmod() and thunar_vfs_info_chgrp() functions. These jobs can operate recursively. Add interfaces to the new classes, thunar_vfs_change_mode() and thunar_vfs_change_group(). * docs/reference/thunar-vfs/: Update documentation. * thunar/thunar-file.{c,h}: Drop thunar_file_chmod(),thunar_file_chgrp() and thunar_file_is_chgrpable(), as we'll use the asynchronous jobs added to Thunar-VFS now. * thunar/thunar-advanced-permissions-dialog.{c,h}, thunar/thunar-change-group-dialog.{c,h}, thunar/thunar-permissions-model.{c,h}, thunar/thunar-permissions-view.{c,h}, thunar/Makefile.am, thunar/thunar-properties-dialog.c: Ditch the ACL aware permissions user interface, as it's unlikely that ACL support will be there for 1.0 and so there's no need to reduce the usability of the permissions user interface yet. * thunar/thunar-pango-extensions.{c,h}: Add new Pango helper method thunar_pango_attr_list_small_italic(). * thunar/thunar-enum-types.{c,h}: Import new files to contain enum types that don't fit anywhere else and provide conversation functions for these types. * thunar/thunar-permissions-chooser.{c,h}, thunar/Makefile.am, thunar/thunar-properties-dialog.c: Import simplified permissions chooser, similar to the Aqua Finder one, with support to change permissions recursively for folders. * thunar/thunar-preferences-dialog.c, thunar/thunar-preferences.c: Add option "misc-recursive-permissions", which controls whether permissions are always/never applied recursively, or whether Thunar should ask the user everytime a permission flag is changed. * icons/16x16/, thunar/thunar-stock.{c,h}: Remove now obsolete icon thunar-permissions-other. Rename the user and group icons. * po/*.po, po/POTFILES.in: Update file list. Merge new strings. 2006-01-05 Benedikt Meurer * thunar/thunar-text-renderer.c: Don't determine the focus-padding and focus-line-width style properties on every call to get_size() when used within the icon view. 2006-01-04 Benedikt Meurer * thunar/Makefile.am, thunar/thunar-pango-extensions.{c,h}: Add common PangoAttrList's here, to avoid allocating them over and over again, and of course to avoid markup, which makes translator's life easier. * thunar/thunar-location-buttons.c, thunar/thunar-preferences-dialog.c, thunar/thunar-progress-dialog.c, thunar/thunar-properties-dialog.c: Use common PangoAttrList's provided by the thunar-pango-extensions. * thunar/thunar-permissions-view.c(thunar_permissions_view_init): Use italic font for the warning to make it easier to distinguish the text from the other parts of the GUI. * thunar/thunar-chooser-dialog.c(thunar_chooser_dialog_update_header): Also setup the window icon in addition to the header image icon. 2006-01-04 Benedikt Meurer * docs/reference/thunar-vfs/thunar-vfs-sections.txt, thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols, docs/reference/thunar-vfs/tmpl/thunar-vfs-info.sgml: Add method thunar_vfs_info_chmod() to change the permissions of a file identified by a given ThunarVfsInfo. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols, docs/reference/thunar-vfs/thunar-vfs-sections.txt, docs/reference/thunar-vfs/tmpl/thunar-vfs-info.sgml: Add method thunar_vfs_info_chgrp() to change the group id of a file identified by a given ThunarVfsInfo. * thunar-vfs/thunar-vfs-user.c(thunar_vfs_user_load): Properly substitute '&' in real names. * icons/16x16/, icons/Makefile.am, configure.in.in, thunar/Makefile.am, thunar/thunar-stock.{c,h}: Add stock icons thunar-permissions-user, thunar-permissions-group and thunar-permissions-other. * thunar-uca/thunar-uca-plugin.c: Don't display debug messages unless G_ENABLE_DEBUG is defined. * thunar-vfs/thunar-vfs-user.{c,h}, thunar-vfs/thunar-vfs.symbols, docs/reference/thunar-vfs/thunar-vfs-sections.txt, docs/reference/thunar-vfs/tmpl/thunar-vfs-user-manager.sgml: Add new method thunar_vfs_user_manager_get_all_groups() to retrieve all groups known to the ThunarVfsUserManager. * thunar/thunar-advanced-permissions-dialog.{c,h}, thunar/thunar-change-group-dialog.{c,h}, thunar/thunar-permissions-model.{c,h}, thunar/thunar-permissions-view.{c,h}, thunar/Makefile.am, thunar/thunar-file.{c,h}, thunar/thunar-properties-dialog.c: Add permissions tab to the file properties dialog. * po/POTFILES.in: Add new files. * po/*.po: Merge new strings. * tdb/tdbtool.c(print_rec): Fix printf format. 2006-01-02 Benedikt Meurer * thunar-uca/thunar-uca-model.c: Include to get LC_MESSAGES definition. 2005-12-30 Benedikt Meurer * configure.in.in: Add ca to XDT_I18n(). 2005-12-22 Benedikt Meurer * configure.in.in: Use -Wall -Werror for --enable-debug=yes as well. * thunar/thunar-list-model.c(thunar_list_model_get_value): The MIME info name is static. * thunar/thunar-text-renderer.c: Don't copy static strings. * pixmaps/Thunar-fallback-icon.png, pixmaps/Makefile.am, thunar/thunar-fallback-icon.{h,png}, thunar/Makefile.am, thunar/thunar-icon-factory.c: Load the fallback icon and the thumbnail frame on-demand. * thunar/main.c(main): Use Thunar icon as default for new windows. * thunar/thunar-icon-factory.c: Allocate the thumbnail factory and the thumbnail generator on-demand. * thunar/thunar-file.c: Add "display-name" and "special-name" readonly properties and emit notifications on these properties whenever the file is changed/renamed. * thunar/thunar-location-buttons.c(thunar_location_buttons_make_button): Automatically synchronize the button labels with the file's special names. * configure.in.in: Add it translations to XDT_I18N(). * THANKS: Add credits for it translator Roberto Pariset. 2005-12-20 Benedikt Meurer * THANKS: Update credits. * README, configure.in.in, thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-mime-database.c, thunar-vfs/thunar-vfs-mime-info.c, thunar-vfs/thunar-vfs-path.c, thunar/main.c, thunar/thunar-file.c: Support four different levels of debugging support. Default for SVN builds is `yes', while the default for release builds is `minimum'. Closes bug #1254. 2005-12-13 Benedikt Meurer * thunar-vfs/thunar-vfs-volume-bsd.c(thunar_vfs_volume_bsd_update): Specify correct buffer size for read(). * thunar/thunar-icon-factory.c(thunar_icon_factory_load_from_file): Don't add frames for small icon sizes (< 36). Be sure to scale icon to the required size, so we don't need to scale on every render() call. * thunar/thunar-icon-renderer.c(thunar_icon_renderer_init): Add 1px padding to the icons. * thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Try to avoid scaling icons if they fit into the given cell area (including the padding). 2005-12-04 Benedikt Meurer * thunar/thunar-progress-dialog.c: Use Pango attribute list instead of markup for the dialog action label. This fixes bug #1252. * thunar-uca/thunar-uca-chooser.c(thunar_uca_chooser_init): Be sure to create the button widgets prior to connecting the "selection-changed" handler. This fixes bug #1260. 2005-12-03 Benedikt Meurer * thunar/, po/POTFILES.in, po/*.po: Rename "Favourites" to "Shortcuts", so we're consistent with the GtkFileChooser wording. This fixes bug #1258. 2005-12-03 Benedikt Meurer * thunar-uca/thunar-uca-model.c(start_element_handler): Properly truncate values. 2005-12-03 Benedikt Meurer * configure.in.in: Build the gnuc visibility test program with -Wall -Werror, as gcc reports warnings instead of errors if ELF visibility is not supported for the target platform. This fixes bug #1253. 2005-11-30 Benedikt Meurer * thunar-vfs/thunar-vfs-scandir.c: Workaround missing dirfd() definition using the POSIX/XPG API on IRIX. This fixes bug #1247. 2005-11-30 Benedikt Meurer * thunar/thunar-dnd.c, thunar/thunar-favourites-view.c, thunar/thunar-folder.c, thunar/thunar-preferences-dialog.c, thunar/thunar-standard-view.c: Use exo_gtk_object_ref_sink() to automatically handle floating references properly and avoid the use of GTK_OBJECT_FLOATING (see GNOME bug #322853 for details). This fixes bug #1249. 2005-11-30 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_renamed): Use persistent iterators instead of tree row references when renaming a file. This fixes bug #1248. 2005-11-29 Benedikt Meurer * thunar/thunar-thumbnail-generator.c (thunar_thumbnail_generator_thread): Don't generate thumbnails for files for which only the generator owns a reference. 2005-11-29 Benedikt Meurer * thunar/thunar-standard-view.c (thunar_standard_view_merge_custom_actions): Fix typo. * thunarx/thunarx-private.{c,h}, thunarx/thunarx-menu-provider.c, thunarx/Makefile.am, thunarx/thunarx-property-page-provider.c: Add helper function thunarx_object_list_take_reference(), so we don't need to repeat the same code again and again. * thunar/thunar-window.c(action_entries): Add ... to the Preferences action, since it opens a dialog. Use "e" as mnemonic, as "P" is already used by "Paste". * thunar/thunar-standard-view.c(action_entries): Add ... to the Select by Pattern action, since it opens a dialog. * thunar/thunar-preferences-dialog.c: Close preferences dialog on Esc key press. * thunarx/thunarx-preferences-provider.{c,h}, thunarx/thunarx.h, thunarx/thunarx.symbols, thunarx/Makefile.am: Add new interface ThunarxPreferencesProvider, which can be implemented to add custom actions to the preferences section of the "Edit" menu. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Query custom preferences actions from the installed providers and add them to the preferences section of the "Edit" menu. Actions are loaded in an idle source to not delay folder loading when opening a new window, even if a lot of preferences providers are installed. * docs/reference/thunarx/: Update the thunarx reference documentation. * thunar-uca/, configure.in.in, Makefile.am: Import the thunar-uca module, which provides advanced users with an easy way to add custom actions to Thunar's context menus. With this extension in place there's no longer a need to add support G-Scripts (except maybe an importer for thunar-uca). * po/POTFILES.in: Add new translatable files. * po/: Merge new strings. * examples/tex-open-terminal/README: Add note to use thunar-uca, and consider the tex-open-terminal as example for extension writers. 2005-11-29 Benedikt Meurer * configure.in.in, thunar-vfs/thunar-vfs-types.h: Add largefile support for systems that don't support 64bit file offsets by default. This fixes bug #1243. 2005-11-28 Benedikt Meurer * thunar/thunar-location-buttons.c, thunar/thunar-properties-dialog.c: Use attribute lists instead of markup strings. 2005-11-27 Benedikt Meurer * tdb/Makefile.am: Fix make -j. 2005-11-26 Benedikt Meurer * thunar/thunar-standard-view.c (thunar_standard_view_merge_custom_actions): Don't sort custom actions explicitly, but leave it up to the provider plugins to determine the order of their actions. Also, be sure to update the UI manager after unmerging the previously set menu actions, else GtkUIManager will mess up the order of the actions. 2005-11-25 Benedikt Meurer * thunarx/thunarx-provider-factory.c: Make sure, ThunarxProviderModules are never finalized, as GObject cannot unregister dynamic types (yet). * thunar/thunar-standard-view.c(thunar_standard_view_renamed): Properly release the path returned from gtk_tree_row_reference_get_path(). 2005-11-22 Benedikt Meurer * thunar-vfs/*.{c,h}, thunar/*.c, thunarx/*.c: Avoid duplicating static strings if possible. * thunar-vfs/thunar-vfs-scandir.c(thunar_vfs_scandir_collect): Ignore EACCES and EPERM on subdirectories with recursive scanning. * thunar-vfs/thunar-vfs-info.h(ThunarVfsInfo): Compress "type", "mode" and "flags" to reduce memory overhead. 2005-11-22 Benedikt Meurer * configure.in.in: Add fr and pt_BR to gettext linguas, which were previously imported by Daichi. 2005-11-21 Benedikt Meurer * docs/reference/thunar-vfs/, thunar-vfs/thunar-vfs-info.h: Small documentation tweaks. * thunar-vfs/thunar-vfs-info.h: Allow previous declarations of the ThunarVfsInfo typedef. * thunarx/thunarx-file-info.{c,h}, thunarx/thunarx.symbols, thunar/thunar-file.c, docs/reference/thunarx/: Add new virtual method thunarx_file_info_get_vfs_info(), which can be used to query the ThunarVfsInfo for a given ThunarxFileInfo. 2005-11-21 Benedikt Meurer * thunarx/thunarx-provider-plugin.{c,h}, thunarx/Makefile.am, thunarx/thunarx.h, thunarx/thunarx.symbols: Add ThunarxProviderPlugin interface, which abstracts from the details of the dynamic type registration, and is accessible to the extensions. * thunarx/thunarx-provider-module.{c,h}, thunarx/Makefile.am: Add implementation for the ThunarxProviderPlugin interface, based on GTypeModule, which is used on the file manager's side to manage the type plugins. * thunarx/thunarx-provider-factory.{c,h}, thunarx/Makefile.am, thunarx/thunarx.h, thunarx/thunarx.symbols: Add ThunarxProviderFactory based on the ThunarExtensionManager as public interface to the provider plugin mechanism. This may also be used by other applications in the future. * thunarx/thunarx.h: Provide convenience macros ala G_DEFINE_TYPE() to ease type registration for plugin writers. * examples/, configure.in.in: Update the "Open Terminal Here" example. * docs/reference/thunarx/: Update the thunarx reference manual to include the new classes and interfaces. * thunar/thunar-extension-manager.{c,h}: Drop the old extension manager class in favour of the new provider factory class. * thunar/thunar-properties-dialog.c, thunar/thunar-standard-view.c: Use ThunarxProviderFactory to load the providers from the installed extensions. * po/POTFILES.in: Update with new file list. * thunar/thunar-file.{c,h}: Implement thunar_file_list_copy() using thunarx_file_info_list_copy() and thunar_file_list_free() using thunarx_file_info_list_free(). * docs/reference/thunar-vfs/thunar-vfs-overrides.txt, docs/reference/thunarx/thunarx-overrides.txt: Fix build error with older gtk-doc versions. 2005-11-16 Benedikt Meurer * thunar-vfs/thunar-vfs-mime-application.{c,h}, thunar-vfs/thunar-vfs.symbols: Drop obsolete error class ThunarVfsMimeApplicationError. 2005-11-15 Benedikt Meurer * thunar/thunar-gtk-extensions.{c,h}: Add new convenience function thunar_gtk_action_group_create_tool_item(), which creates a new GtkToolItem proxy for a given GtkAction in a GtkActionGroup. * thunar/thunar-location-bar.{c,h}, thunar/thunar-location-entry.c, thunar/thunar-location-buttons.c: Add new virtual method thunar_location_bar_is_standalone(), which determines whether a given location bar should be displayed in a standalone fashion, or embedded within a location toolbar. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Check whether the location should be embedded into a location toolbar and if so, generate a toolbar for it on-demand and place it below the menubar. Else, the location bar is placed right above the view pane. This gives a better appearance when using the location entry implementation with a toolbar, and you don't need the toolbar with the pathbar anyways. * po/POTFILES.in: Add thunar-preferences-dialog.c here. * po/*.po: Merge new strings. 2005-11-15 Benedikt Meurer * thunar/thunar-standard-view.c: Use "b" as mnemonic for the "Select by Pattern" action to avoid clash with "Preferences". * thunar/thunar-preferences.c: Add "default-folders-first" property, which determines whether folders should be sorted before other files. Add "default-view", which dictates the default view pane used for new windows, or "void" to use the view remembered in "last-view". * thunar/thunar-standard-view.{c,h}: Connect the list models "folders-first" property to the "default-folders-first" preference. * thunar/thunar-window.c(thunar_window_init): Check "default-view" first and if it does not contain a valid view class name, check "last-view". * thunar/thunar-details-view.c(thunar_details_view_get_accessible), thunar/thunar-icon-view.c(thunar_icon_view_get_accessible): Set ATK role for our folder views to ATK_ROLE_DIRECTORY_PANE. * thunar/Makefile.am, thunar/thunar-preferences-dialog.{c,h}, thunar/thunar-window-ui.xml, thunar/thunar-window.c: Import class ThunarPreferencesDialog, which allows the user to customize the global preferences for Thunar. Add a "Preferences" menu item to the "Edit" menu of ThunarWindow's. * thunar/thunar-preferences.c: Add "default-text-beside-icons" property, which tells whether the icon view should display the file names beside the file icons, rather than below the file icons. * thunar/thunar-icon-view.c: Add a property "text-beside-icons", which tells whether the icon view will place the icon captions beside the icons rather than below. Synchronize the property with the global option "default-text-beside-icons". * po/*.po: Merge new strings. 2005-11-14 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.c: Return G_FILE_ERROR_INTR when the copy operation is explicitly cancelled by the user. * thunar-vfs/thunar-vfs-transfer-job.c (thunar_vfs_transfer_job_copy_pair): Don't delete the source file when moving unless the target file was written successfully and the job wasn't cancelled. This fixes a bug reported by Jari Rahkonen. 2005-11-14 Benedikt Meurer * thunar/thunar-standard-view.{c,h}: Register "Delete" as key binding for the ThunarStandardView class, rather than registering it as accelerator for the "delete" action. This fixes bug #1226. * thunar/thunar-marshal.list: Add BOOLEAN:VOID marshaller. 2005-11-14 Benedikt Meurer * thunar-vfs/thunar-vfs-exec.c(thunar_vfs_exec_on_screen): Fix invalid calculation of the number of environment variables. 2005-11-14 Benedikt Meurer * configure.in.in: Bump version to 0.1.4svn and depend on libexo 0.3.1.1. 2005-11-14 Benedikt Meurer * po/*.po: Update translations. * po/ChangeLog: Didn't mean to revert this file. * README: Mention gconf, libjpeg and libstartup-notification as optional dependencies. 2005-11-14 Benedikt Meurer * thunar/thunar-list-model.c: Don't need to remember the "changed" signal handler id per row, as g_signal_handlers_disconnect_matched() using G_SIGNAL_MATCH_ID and G_SIGNAL_MATCH_CLOSURE is nearly as fast as g_signal_handler_disconnect(). * thunar/thunar-folder.c(thunar_folder_finalize): Specify both G_SIGNAL_MATCH_ID and G_SIGNAL_MATCH_CLOSURE when disconnecting "destroy" signals from files. * thunar/thunar-preferences.c, thunar/thunar-window.c: Remember the last active view as default for now. * thunar/thunar-create-dialog.c(thunar_create_dialog_text_changed): Use G_IS_DIR_SEPARATOR() rather than hardcoding the slash character. 2005-11-13 Benedikt Meurer * FAQ, thunar/thunar-icon-view.c: Add initial support for mouse gestures to the icon view component. 2005-11-13 Benedikt Meurer * thunar/thunar-window.c, thunar/thunar-preferences.c: Rename "window-location-bar" to "last-location-bar" and "window-side-pane" to "last-side-pane" to make clear that it's the last selected setting. * thunar/thunar-metafile.h: Drop THUNAR_METAFILE_KEY_SHOWHIDDEN. * thunar/Makefile.am, thunar/thunar-gobject-extensions.{c,h}: Add additional GValue transformation functions. * thunar/thunar-preferences.c: Register additional transformation functions provided by the GObject extensions in the class_init() function. Add new preference "default-show-hidden", which tells whether hidden files are shown by default in new windows. * thunar/thunar-view.{c,h}: Add the "show-hidden" property to the ThunarView interface. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Implement the "show-hidden" property from the ThunarView interface, rather than adding an action to the UI manager. * thunar/thunar-preferences.c: Add "default-show-hidden" property, which tells whether hidden files should be shown in newly opened windows. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add the "show-hidden" action here, which starts with the default value queried from the preferences, and uses the new ThunarView API to sync the selected setting. 2005-11-13 Benedikt Meurer * thunar/thunar-preferences.c(thunar_preferences_set_property): No need to call g_object_notify() here, as object_set_property() does that implictly once the set_property() call returns. 2005-11-13 Benedikt Meurer * thunar/thunar-file.{c,h}, thunar/thunar-metafile.{c,h}: Remove the default value handling from the ThunarMetafile class and leave it up to the caller to specify the default value when fetching/storing metadata. * thunar/thunar-folder.{c,h}, thunar/thunar-standard-view.c: Remove the error parameter from the thunar_folder_get_for_file() method, as this call cannot fail. If a loading error occurs, it will be reported asynchronously by the listdir job. * thunar/thunar-preferences.c(thunar_preferences_set_property): Issue a warning if a required transformation function is not available to the GLib Type System, as this is effectively a bug in our application. 2005-11-12 Benedikt Meurer * thunar/thunar-folder.c, thunar/thunar-list-model.c, thunar/thunar-standard-view.c: Forward ThunarVfsListdirJob loading errors to the ThunarStandardView and display an error dialog to the user. * thunar/thunar-preferences.c, FAQ: Use a tdb database to store the preferences, while not saving defaults to the database file. * thunar/thunar-preferences.c: Add initial preferences "window-location-bar" and "window-side-pane". * thunar/thunar-window.c: Always remember the last selected location bar and side pane setting in the preferences. 2005-11-11 Benedikt Meurer * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Display symbolic links properly just like the MIME type field in the properties dialog. 2005-11-11 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_action_duplicate): Use thunar_standard_view_get_selected_paths() instead of thunar_standard_view_get_selected_files(). * po/POTFILES.in: Add new source files. * po/*.po: Merge new strings. * thunar/thunar-dialogs.{c,h}, thunar/Makefile.am: Add new function thunar_dialogs_show_error(), which takes care of displaying an error message dialog to the user. * thunar/thunar-application.c, thunar/thunar-chooser-dialog.c, thunar/thunar-clipboard-manager.c, thunar/thunar-dnd.c, thunar/thunar-favourites-view.c, thunar/thunar-launcher.c, thunar/thunar-properties-dialog.c, thunar/thunar-standard-view.c, thunar/thunar-window.c: Use thunar_dialogs_show_error() whenever possible to reduce code duplication. * thunar-vfs/thunar-vfs-info.h, docs/reference/thunar-vfs/: Update the Thunar-VFS documentation. 2005-11-10 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_new_files): Grab focus for the view widget after selecting newly created files. * thunar-vfs/thunar-vfs-mkdir-job.{c,h}, thunar-vfs/Makefile.am: Import new class ThunarVfsMkdirJob, which is used to asynchronously create a bunch of directories. * thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new methods thunar_vfs_make_directory() and thunar_vfs_make_directories() as public interface to the newly imported ThunarVfsMkdirJob. * thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_info_for_data_locked), (thunar_vfs_mime_database_get_info_for_file): Consider empty files to be text/plain, so users can easily open newly created (empty) files in their favourite text editor. * thunar-vfs/thunar-vfs-mime-sniffer.{c,h}, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-mime-database.c, configure.in.in: Add function thunar_vfs_mime_sniffer_looks_like_text(), which performs some smart checks to determine if a given data block looks like plain text. Plain text means either UTF-8 - and thereby also ASCII - or valid multi-byte if the platform supports multi-byte strings. In both cases, even truncated data blocks will be recognized. * thunar/thunar-application.{c,h}: Add thunar_application_mkdir() as frontend to the thunar_vfs_make_directories() function. * thunar/thunar-create-dialog.{c,h}, thunar-vfs/Makefile.am: Add class ThunarCreateDialog, which is used to query the user for the filename that should be used for a new file/folder. * TODO: Add todo item. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c, thunar/thunar-window-ui.xml: Add "Create Folder" action, which uses thunar_application_mkdir() to create a new subfolder in the current folder. * thunar/thunar-window.c: Rename thunar_window_action_location() to thunar_window_action_open_location() to get consistent naming. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add "Home" action whose primary purpose is to be able to open the home folder using a keyboard shortcut. 2005-11-10 Benedikt Meurer * thunar-vfs/thunar-vfs-monitor.c, thunar-vfs/thunar-vfs-thumb.c: Apply patch from Erik Harrison to fix unused variables when FAM/Gamin and/or GConf aren't available. 2005-11-10 Benedikt Meurer * thunar/thunar-standard-view.c(thunar_standard_view_init): Be sure to update the actions whenever the current folder is changed. 2005-11-10 Benedikt Meurer * thunar/thunar-window.c(thunar_window_notify_loading): Don't force a round-trip to the Xserver when setting/unsetting the watch cursor. Set/unset the cursor only if the window is already realized. * thunar/thunar-list-model.c(thunar_list_model_get_value): Don't need to check the result of thunar_file_get_date_string() and thunar_file_get_size_string() as they are garantied to be non-NULL. * thunar/thunar-list-model.c(thunar_list_model_file_changed): Use gtk_tree_path_new_from_indices() instead of gtk_tree_path_new() and gtk_tree_path_append_index(). * thunar/thunar-list-model.c(thunar_list_model_set_folder): Use g_object_freeze_notify()/g_object_thaw_notify() for multiple property change notification. * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Don't need to verify the result of thunar_file_get_size_string(), as it's garantied to be non-NULL. 2005-11-09 Benedikt Meurer * thunar/thunar-location-buttons.c (thunar_location_buttons_set_current_directory): Be a bit smarter here and try to reuse existing buttons whenever possible. 2005-11-09 Benedikt Meurer * configure.in.in: Depend on GLib 2.6.4 or above. * tdb/Makefile.am: Add _XOPEN_SOURCE=500 workaround for glibc to make pread()/pwrite() visible to the compiler. 2005-11-09 Benedikt Meurer * thunar/thunar-history.{c,h}, thunar/Makefile.am: Import new class ThunarHistory, which handles back/forward history for a ThunarWindow. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Use the newly imported class ThunarHistory to manage the navigational history for the ThunarWindow. 2005-11-09 Benedikt Meurer * thunar/thunar-window.c: Display the tooltip of the currently selected menu item in the statusbar. * thunar/thunar-icon-render.c(thunar_icon_renderer_render): Render up to 4 emblems for icon sizes from 48px on and up to 2 emblems for icon sizes lower than 48px. * thunar/thunar-icon-render.c(thunar_icon_renderer_render): Use the proper icon factory for the target drawable, rather than the default icon factory. 2005-11-09 Benedikt Meurer * thunar-vfs/thunar-vfs-xfer.{c,h}: Add function thunar_vfs_xfer_link(), which creates a symbolic link to a file. * thunar-vfs/thunar-vfs-link-job.{c,h}, thunar-vfs/Makefile.am: Import new class ThunarVfsLinkJob, which can be used to symlink a bunch of files. * thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Add thunar_vfs_link_file() and thunar_vfs_link_files() as public interface to the ThunarVfsLinkJob class. * po/POTFILES.in: Add thunar-vfs-link-job.c here. * thunar/thunar-application.{c,h}: Add thunar_application_link_into() as interface to the thunar_vfs_link_files() method. Restructure the code to further reduce the code duplication. * thunar/thunar-dnd.c: Use thunar_application_link_into() to implement the "Link here" Drag&Drop action. * thunar-vfs/thunar-vfs-transfer-job.c (thunar_vfs_transfer_job_copy_pair): Don't access pairs outside the current pair list. * thunar-vfs/thunar-vfs-xfer.c(thunar_vfs_xfer_next_path): Also detect the "%uth copy of %s" pattern when duplicating a file. * thunar/thunar-standard-view.c: Use upper case for substantives in action titles where appropriate. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Add "duplicate" and "make-link" actions, for duplicating/linking files easily. * po/*.po: Merge new strings. 2005-11-08 Benedikt Meurer * thunar-vfs/thunar-vfs-transfer-job.c(thunar_vfs_transfer_job_new): Verify that we don't ever try to transfer the root directory. * thunar/thunar-file.{c,h}: Make thunar_file_cache_lookup() a public function. * thunar-vfs/thunar-vfs-interactive-job.{c,h}: Add a new signal "new-files", which can be invoked by derived jobs for their new files. The application can use this signal to get notified when a job added new files to a folder (e.g. select them in a folder view, etc.). * thunar-vfs/thunar-vfs-transfer-job.c: Collect the newly created paths and emit the "new-files" signal when the execution finishes. * thunar-vfs/thunar-vfs-monitor.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_monitor_wait(), which can be used by helper threads to wait until the ThunarVfsMonitor has processed all pending notifications. * thunar-vfs/thunar-vfs-interactive-job.c (thunar_vfs_interactive_job_new_files): Use thunar_vfs_monitor_wait() to delay the "new-files" emission until the application has processed all pending notifications. * thunar-vfs/thunar-vfs-monitor.c: Lower the notification interval to 250 milliseconds. * thunar-vfs/thunar-vfs-transfer-job.c(thunar_vfs_transfer_job_execute): Don't use g_rename() for now, as it causes too much trouble right now. * thunar/thunar-application.{c,h}, thunar/thunar-dnd.{c,h}, thunar/thunar-clipboard-manager.{c,h}: Allow the consumers to pass a "new-files" closure when starting a transfer job. * thunar/thunar-list-model.{c,h}: Add new method thunar_list_model_get_paths_for_files(), which returns the list of tree paths for a given list of ThunarFiles. * thunar/thunar-standard-view.c: Supply a "new-files" closure when starting transfer jobs, and select the files that are passed to the "new-files" callback when the job finishes. * docs/reference/thunar-vfs/: Update the documentation bits affected by the latest changes. 2005-11-08 Benedikt Meurer * thunar/thunar-file.h: Add method thunar_file_is_symlink() to check whether a given ThunarFile is a symbolic link. * thunar/thunar-list-model.c, thunar/thunar-properties-dialog.c: Display symbolic links properly for the MIME Type fields. * thunar-vfs/thunar-vfs-transfer-job.{c,h}, thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Adjust the asynchronous operations API again to make it more constistent with the requirements of the file manager. * po/*.po: Merge new strings. * thunar-vfs/thunar-vfs-monitor.c: Add tags to notifications to make sure (slow) FAM events don't override properly feeded events, as afterall we know best what we did. * thunar-vfs/thunar-vfs-transfer-job.c (thunar_vfs_transfer_job_copy_pair): Fix a typo, where the result of thunar_vfs_transfer_job_overwrite() was not negated properly. * thunar-vfs/thunar-vfs-xfer.c, thunar-vfs/thunar-vfs-transfer-job.c, TODO: Automatically duplicate files when copying and the source and target paths refer to the same file. * thunar/thunar-application.{c,h}, thunar/thunar-standard-view.c, thunar/thunar-clipboard-manager.{c,h}, thunar/thunar-dnd.c: Rework the ThunarApplication API and internals to reduce the amount of duplicated code, and make the API more consistent. * thunar-vfs/thunar-vfs-xfer.{c,h}, thunar-vfs/thunar-vfs.c: Feed events into the VFS monitor from the xfer module. * thunar-vfs/thunar-vfs-transfer-job.c (thunar_vfs_transfer_job_copy_pair): No need to feed a "created" event into the VFS monitor, as that's done by the xfer module directly (with the correct target path). * docs/reference/thunar-vfs/thunar-vfs-sections.txt, docs/reference/thunar-vfs/tmpl/thunar-vfs-operations.sgml: Update documentation bits affected by the latest changes to the public API. 2005-11-07 Benedikt Meurer * thunar/thunar-list-model.c: Use an alloc-only memory chunk to reduce the overhead. * thunar/thunar-icon-factory.c(thunar_icon_factory_load_from_file): Add the thumbnail frame after scaling down the thumbnail to the desired size. * thunar/thunar-icon-factory.c(thumbnail_needs_frame): Inline this function if possible. 2005-11-07 Benedikt Meurer * tdb/tdbtool.c: Make gcc4 happy. * thunar/thunar-dnd.c(thunar_dnd_ask): Add icons to the "move" and "copy" actions. * thunar/thunar-folder.c(thunar_folder_monitor): Be sure to process monitor events properly in either case. * thunar-vfs/thunar-vfs-monitor.c (thunar_vfs_monitor_queue_notification): Schedule only one notification per handle, where "deleted" events have the highest priority. * docs/reference/thunar-vfs/: Update documentation. * thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-xfer.{c,h}: Add module to copy various kinds of file system entities (basicly everything that a normal user is permitted to create, e.g. no device nodes). * thunar-vfs/thunar-vfs-transfer-job.{c,h}: Add new ThunarVfsTransferJob class based on the thunar-vfs-xfer module. * thunar-vfs/thunar-vfs.c: Use new ThunarVfsTransferJob class. * thunar/thunar-progress-dialog.c: Improve the progress dialog. * po/POTFILES.in, po/*.po: Update the file list and the translations. 2005-11-04 Benedikt Meurer * thunar-vfs/thunar-vfs-transfer-job.{c,h}, thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/thunar-vfs.symbols: Update the Thunar-VFS transfer API. * thunar/thunar-application.c: Use the new Thunar-VFS transfer API. 2005-11-04 Benedikt Meurer * thunar/thunar-file.{c,h}: Add "renamed" signal and emit it whenever the file is renamed by the user. * thunar/thunar-folder.c: Use the "ThunarFile::renamed" to