- 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-exec.{c,h}: Add thunar_vfs_exec_sync() helper function. * thunar-vfs/thunar-vfs-volume-freebsd.c: Use thunar_vfs_exec_sync(). (Old svn revision: 20415)
-
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)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-util.c: Do not include <libxfce4util/libxfce4util.h> directly. (Old svn revision: 20404)
-
- Mar 07, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20277)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-legacy.c: Implement magic handling for the legacy backend (shared-mime-info <= 0.16). Bug #1106. (Old svn revision: 20276)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-xfer.c: Automatically give write permissions to regular files and folders copied from read-only media. Bug #1555. (Old svn revision: 20275)
-
- Mar 05, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20227)
-
- 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 24, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 20033)
-
- Feb 23, 2006
-
-
Benedikt Meurer authored
* 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 <Alt>Down for "down-folder", similar to GtkFileChooser. Bug #1472. * po/Thunar.pot, po/*.po: Merge new strings. (Old svn revision: 20006)
-
- Feb 16, 2006
-
-
Benedikt Meurer authored
* THANKS: Change Nick's email address as requested. * thunar-vfs/thunar-vfs-volume-none.h: Properly internalize the get_type() methods. (Old svn revision: 19902)
-
- Feb 15, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19894)
-
- Feb 14, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19881)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19869)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19867)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-volume-hal.c: Fallback to mount/umount if pmount is not available. Requires fstab-sync to synchronize with HAL volumes. (Old svn revision: 19866)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19865)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19864)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19862)
-
- Feb 13, 2006
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-volume-hal.c: Properly update volume state after eject and unmount. * README: List optional HAL dependency. (Old svn revision: 19861)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19860)
-
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)
-
- Feb 10, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19825)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19799)
-
- Feb 09, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19793)
-
- 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 07, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19773)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19772)
-
- Feb 06, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19771)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19768)
-
- 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
* 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. (Old svn revision: 19716)
-
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-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)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19705)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-util.c(thunar_vfs_humanize_size): Use "kB" instead of "KB". (Old svn revision: 19704)
-
- Jan 31, 2006
-
-
Benedikt Meurer authored
* 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. (Old svn revision: 19695)
-
Benedikt Meurer authored
* 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. (Old svn revision: 19691)
-