- Mar 28, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20614)
-
- Mar 24, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20531)
-
Benedikt Meurer authored
* 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. (Old svn revision: 20526)
-
- Mar 22, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20520)
-
Benedikt Meurer authored
* docs/reference/thunarx/: Update the thunarx API documentation. 100% symbol docs coverage! (Old svn revision: 20518)
-
- Mar 16, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20451)
-
- Mar 15, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20438)
-
- Mar 14, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20405)
-
- Mar 12, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20363)
-
- Mar 06, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20256)
-
- Mar 01, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20145)
-
Benedikt Meurer authored
* configure.in.in, docs/Makefile.am, docs/manual/: Import initial parts of the user manual. * HACKING: Update repository URLs. * docs/README.volumes: Update notes. (Old svn revision: 20140)
-
- Feb 25, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20059)
-
- Feb 23, 2006
-
-
Benedikt Meurer authored
* thunar/thunar-window.c(thunar_window_action_about): Add credits for Young Hahn <youngjin.hahn@gmail.com> 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. (Old svn revision: 20009)
-
- Feb 13, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19857)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19854)
-
- Feb 10, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19826)
-
- Feb 08, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19782)
-
- Feb 05, 2006
-
-
Benedikt Meurer authored
* 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 <youngjin.hahn@gmail.com>. Any artists around to make it look even better? (Old svn revision: 19750)
-
- Feb 04, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19735)
-
- Feb 02, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19714)
-
Benedikt Meurer authored
* 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! (Old svn revision: 19713)
-
- Feb 01, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19709)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19706)
-
- Jan 30, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19671)
-
- Jan 29, 2006
-
-
Benedikt Meurer authored
* docs/README.thunarrc: Add missing preferences. * thunar/thunar-preferences.c: Rearrange stuff. (Old svn revision: 19663)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19662)
-
- Jan 28, 2006
-
-
Benedikt Meurer authored
* 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 <meunier.laurent@laposte.net>. 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. (Old svn revision: 19639)
-
- Jan 23, 2006
-
-
Benedikt Meurer authored
* 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). (Old svn revision: 19568)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19565)
-
- Jan 11, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19393)
-
- Jan 09, 2006
-
-
Benedikt Meurer authored
* 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 <danny.milo@gmx.net>. * po/*.po: Merge new strings. (Old svn revision: 19367)
-
- Jan 08, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19357)
-
- Jan 04, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19296)
-
- Nov 29, 2005
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 18962)
-
- Nov 21, 2005
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 18920)
-
Benedikt Meurer authored
* 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. (Old svn revision: 18919)
-
- Nov 14, 2005
-
-
Benedikt Meurer authored
* 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 <benny@xfce.org> * FAQ, thunar/thunar-icon-view.c: Add initial support for mouse gestures to the icon view component. 2005-11-13 Benedikt Meurer <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * thunar-vfs/thunar-vfs-monitor.c, thunar-vfs/thunar-vfs-thumb.c: Apply patch from Erik Harrison <erikharrison@gmail.com> to fix unused variables when FAM/Gamin and/or GConf aren't available. 2005-11-10 Benedikt Meurer <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 <benny@xfce.org> * 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 re-register with the file alteration monitor under the new path. * thunar/thunar-window.c: Update the window icon and title whenever the current-directory is changed (e.g. the user renamed the directory file). * thunar-vfs/thunar-vfs-monitor.c: Place the timeout into a preprocessor define. * tdb/, AUTHORS, FAQ, configure.in.in, Makefile.am: Import the tdb - the Trivial Database - engine from the Samba suite, which will be used to store file metadata in a lightweight and efficient way. * thunar/thunar-metafile.{c,h}, thunar/Makefile.am: Add ThunarMetafile class, which handles metadata for files based on a tdb database. * thunar/thunar-file.{c,h}: Add methods to access metadata for a given ThunarFile. * thunar/thunar-file.c: Query additional emblems from the file's metadata (in addition to the special emblems that are set automcatically). * thunar/thunar-emblem-chooser.{c,h}, thunar/Makefile.am: Add ThunarEmblemChooser widget class, to edit the list of additional emblems for a ThunarFile. * thunar/thunar-standard-view.c: Synchronize the show-hidden property. * thunar/thunar-properties-dialog.c: Add a notebook tab for the Emblems. 2005-11-02 Benedikt Meurer <benny@xfce.org> * thunar/thunar-file.c: Use THUNAR_FILE_IN_DESTRUCTION as destruction flag rather than GTK_IN_DESTRUCTION. 2005-11-01 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-unlink-job.c(thunar_vfs_unlink_job_remove): Also remove thumbnails when successfully deleting a regular file. * thunar-vfs/thunar-vfs-thumb-jpeg.{c,h}, thunar-vfs/Makefile.am, configure.in.in: Add fast JPEG loader, which is able to scale down the data while loading it. * thunar-vfs/thunar-vfs-thumb.c: Use the fast JPEG loader to generate thumbnails for JPEG files (if supported). 2005-11-01 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add attribute custom_icon to the ThunarVfsInfo struct instead of the hints framework and a new method thunar_vfs_info_get_custom_icon() to query the custom icon from a ThunarVfsInfo. * thunar-vfs/thunar-vfs-thumb.c (thunar_vfs_thumb_factory_store_thumbnail): Fix invalid check for valid pixbuf. * thunar-vfs/thunar-vfs-info.c(_thunar_vfs_info_new_internal): Be sure to remove any file extension (e.g. '.png') from themed icon names, so GtkIconTheme is able to locate the icon. * thunar-vfs/thunar-vfs-info.c: Don't treat .directory files like other .desktop files, as that's confusing for the casual user. * thunar/thunar-file.{c,h}: Add method thunar_file_get_custom_icon() to return the custom icon set for the associated ThunarVfsInfo. * thunar/thunar-file.c(thunar_file_get_icon_name): Don't return the custom icon here. * thunar/thunar-icon-factory.c(thunar_icon_factory_load_file_icon):Check first if the ThunarFile specifies a custom icon and try to load it, falling back to thumbnails and regular (mime) icons. 2005-10-31 Benedikt Meurer <benny@xfce.org> * thunar/thunar-file.h: Add thunar_file_is_regular() to check whether a ThunarFile is a regular file. * thunar/thunar-file.h: Add thunar_file_get_info() to query the ThunarVfsInfo for a given ThunarFile. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_info_copy(), which takes a deep copy of a ThunarVfsInfo. * thunar-vfs/thunar-vfs-job.{c,h}, thunar-vfs/thunar-vfs.symbols: Turn thunar_vfs_job_cancelled() into an inline function. * thunar-vfs/thunar-vfs-thumb.{c,h}, thunar-vfs/thunar-vfs.symbols, thunar-vfs/Makefile.am: Readd the ThunarVfsThumbFactory class and adjust it to use ThunarVfsInfo's instead of ThunarVfsURI's. * configure.in.in, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-thumb.{c,h}: Add optional support for GNOME thumbnailers, which requires GConf. * thunar/thunar-thumbnail-generator.{c,h}, thunar/Makefile.am: Add new class ThunarThumbnailGenerator, which is used to asynchronously generate and store thumbnails for files. * thunar/thunar-icon-factory.{c,h}: Add support for loading thumbnails. Add support for generating thumbnails using the new ThunarThumbnailGenerator class. * configure.in.in: Bump version to 0.1.3. 2005-10-30 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-listdir-job.c(thunar_vfs_listdir_job_execute): Don't immediately terminate the second collector task. 2005-10-30 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-scandir.c: Don't report EMLINK at all. 2005-10-30 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-scandir.c(thunar_vfs_scandir): Treat EMLINK like ENOTDIR, since there's no GFileError to represent EMLINK. 2005-10-29 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-mime-cache.c(cache_node_lookup_suffix): Always check the return value to avoid guessing invalid mime types just because of misleading stopchars. * thunar/thunar-file.c(thunar_file_get_icon_name): Try to be smart when looking up the icon name for binaries. 2005-10-29 Benedikt Meurer <benny@xfce.org> * thunar/thunar-clipboard-manager.{c,h}: Use ThunarFile to copy/cut to the clipboard and monitor the files for deletion. * thunar/thunar-clipbard-manager.{c,h}: Add new method thunar_clipboard_manager_has_cutted_file() to check whether a certain file was cutted to the clipboard. * thunar/thunar-gdk-pixbuf-extensions.{c,h}: Add new function thunar_gdk_pixbuf_lucent() when generates a translucent pixbuf. * thunar/thunar-standard-view.c: Use the new clipboard manager interface. * thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Render translucent icons for files previously cutted to the clipboard. * thunar/thunar-window.c: Queue a draw on the window whenever the clipboard contents change to be sure to always display correct state. 2005-10-28 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-monitor.c(thunar_vfs_monitor_feed): Be sure to schedule directory events only for handles that were registered as directory. * thunar-vfs/thunar-vfs-unlink-job.c(thunar_vfs_unlink_job_execute): Ignore ENOTDIR errors when collecting the files to delete. * thunar-vfs/thunar-vfs-exec.c(tvsn_startup_timeout), (thunar_vfs_exec_on_screen): Don't use libsn functions outside the GDK lock. * thunar/thunar-file.{c,h}: Inline the most trivial methods. * thunar-vfs/thunar-vfs-user.{c,h}: Implement ThunarVfsUser and ThunarVfsGroup directly for local user/group management. 2005-10-28 Benedikt Meurer <benny@xfce.org> * thunar/thunar-clipboard-manager.c (thunar_clipboard_manager_paste_path_list): Fix possible segmentation fault. 2005-10-27 Benedikt Meurer <benny@xfce.org> * thunar-vfs/thunar-vfs-interactive-job.{c,h}: Add a VFS monitor pointer to the interactive job, which will be used by the derived classes to communicate fs changes to the application. * thunar-vfs/thunar-vfs-unlink-job.c(thunar_vfs_unlink_job_remove): Feed deleted events into the VFS monitor whenever a file was successfully unlinked from the file system, so the application can be updated even if no file system monitoring mechanism like FAM or Gamin is available. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Add the "Delete file(s)" operation to the user interface. 2005-10-27 Benedikt Meurer <benny@xfce.org> * configure.in.in: Add optional check for libstartup-notification-1.0. * thunar-vfs/thunar-vfs-exec.{c,h}, thunar-vfs/Makefile.am: Add optional support for startup notification. * thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-mime-application.c: Use the thunar-vfs-exec module. * thunar-vfs/thunar-vfs-transfer-job.c: Don't include thunar-vfs-sysdep.h anymore. * po/POTFILES.in: Remove thunar-vfs-sysdep and add thunar-vfs-exec. 2005-10-22 Benedikt Meurer <benny@xfce.org> * thunarx/thunarx-config.c: Fix typo. * thunar-vfs/thunar-vfs-config.{c,h.in}, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.symbols, thunar-vfs/abicheck.sh, thunar-vfs/thunar-vfs.h, configure.in.in: Add support for version checking to the Thunar-VFS library. * thunar-vfs/*.[ch], thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.symbols: Replace ThunarVfsURI with ThunarVfsPath for the first version and thereby limit the functionality to local files, which in turn means there's no trash and no computer folder. This will increase the chance that Thunar will be ready for the Xfce 4.4.0 release. * thunar/*.[ch], thunar/Makefile.am: Use ThunarVfsPath instead of ThunarVfsURI. * tests/test-thunar-vfs-path.c, tests/test-thunar-vfs-uri.c, tests/Makefile.am: Replace the ThunarVfsURI test case with a new ThunarVfsPath test case. * tests/test-thunar-vfs-volume-bsd.c: Properly initialize and shutdown the Thunar-VFS library. * po/POTFILES.in: Update the file list. * docs/: Sync the documentation with the changes. * configure.in.in: Don't use -fvisibility=hidden as that causes trouble with inline functions that are also implemented and exported by the library. Instead we explicitly mark internal functions with G_GNUC_INTERNAL. (Old svn revision: 18843)
-
- Sep 22, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-*.c: Documentation tweaks. * configure.in.in, docs/reference/Makefile.am, docs/reference/thunar-vfs/: Prepare Thunar-VFS reference manual. * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Use ngettext() for the statusbar text. * thunar/thunar-launcher.c(thunar_launcher_update): Use ngettext() for the "Open in n New Windows" menu label. * thunar/thunar-launcher.c(thunar_launcher_open_new_windows): Use ngettext() for the question whether to open n separate windows. * thunar/thunar-launcher.c(thunar_launcher_open_uris): Use ngettext() to format the error message when opening multiple URIs at once failes. * po/*.po: Update po files. * configure.in.in, examples/open-terminal-here/Makefile.am, thunar-vfs/Makefile.am, thunar/Makefile.am, thunarx/Makefile.am: Don't add debugging and visibility flags to CFLAGS, CPPFLAGS and LDFLAGS, but use PLATFORM_CFLAGS, PLATFORM_CPPFLAGS and PLATFORM_LDFLAGS instead to avoid trouble with certain conftests when checking the distribution. (Old svn revision: 17769)
-
- Sep 11, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Substitute version information. * thunar/thunar-window.c(thunar_window_action_about): Escape the copyright sign. * thunar/thunar-gdk-pixbuf-extensions.{c,h}, thunar/thunar-gtk-extensions.{c,h}, thunar/thunar-desktop-view.c, thunar/thunar-icon-factory.c, thunar/thunar-icon-renderer.c, thunar/thunar-standard-view.c, thunar/thunar-window.c, thunar/Makefile.am: Merge the GdkPixbuf and GTK+ extensions into the thunar namespace. * configure.in.in, thunarx/: Import the initial extensions library. * configure.in.in, docs/Makefile.am, Makefile.am, docs/reference/: Import the reference manual for the extensions library. * thunar/thunar-file.c: Implement the ThunarxFileInfo interface. * thunar/thunar-extension-manager.{c,h}, thunar/Makefile.am: Import the ThunarExtensionManager class. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Add support for context menu providers to the standard views. * po/POTFILES.in: Add thunarx/thunarx-property-page.c here. * thunar/thunar-properties-dialog.c: Add support for property page providers here. * Makefile.am, configure.in.in, examples/Makefile.am, examples/open-terminal-here/: Add "Open Terminal Here" menu provider example. (Old svn revision: 17553)
-