- Aug 27, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-info.{c,h}: Add support to pass hints from the ThunarVfsInfo to the upper layers. Use these hints to pass icon and name information from .desktop files. * thunar-vfs/thunar-vfs.symbols: Add new symbols. * thunar/thunar-local-file.c: Use the new hints to display appropriate names and icons for .desktop files. (Old svn revision: 17137)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-trash.c: Use ThunarVfsMonitor instead of polling the trash files/ directories manually. (Old svn revision: 17134)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-legacy.c: Add support for MIME-type aliases and parents to the legacy implementation. * configure.in.in, thunar-vfs/thunar-vfs-mime-database.c: Add support for determining the MIME type from an extended attribute on SunOS and Linux. (Old svn revision: 17126)
-
- Aug 23, 2005
-
-
Daichi Kawahata authored
(Old svn revision: 17055)
-
- Aug 22, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-path-entry.c: Add drag support for the path entry icon. * thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add view selection to the "View" menu. * thunar/thunar-icon-view.c(thunar_icon_view_button_press_event): Use gtk_accelerator_get_default_mod_mask() rather than hardcoding GDK_CONTROL_MASK. * thunar/thunar-details-view.c(thunar_details_view_button_press_event): Add support to open the folder menu by right-clicking on an empty area in the tree view. * thunar/thunar-details-view.c: Work-around the problem that GtkTreeView resets the search column whenever the model changes. * thunar/thunar-standard-view.c(thunar_standard_view_grab_focus): Properly forward any grab-focus request to the child view. * thunar/thunar-marshal.list, thunar/Makefile.am, thunar/thunar-text-renderer.c: Add initial cell editing support to the text renderer. We'll need a multiline entry widget for the icon view. * thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-standard-view.c, thunar/thunar-standard-view.h: Add drag source support to the standard views. * thunar/thunar-list-model.c: Don't implement GtkTreeDragSource, as that's handled by ThunarStandardView now. (Old svn revision: 17053)
-
- Aug 20, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-job.c(thunar_vfs_job_emit): Use G_VA_COPY to copy variable argument lists in a portable manner. (Old svn revision: 17042)
-
- Aug 19, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-standard-view.{c,h}: Allow derived classes to add custom actions to the user interface. * thunar/thunar-standard-view-ui.xml, thunar/thunar-window-ui.xml: Add support for custom view item actions. * thunar/Makefile.am, thunar/thunar-icon-view-ui.xml, thunar/thunar-icon-view.c: Add support to arrange items within the icon view. * thunar/thunar-file.h, thunar/thunar-local-file.c: Provide an emblem for the desktop folder in regular file listings. * thunar/thunar-icon-view.c(thunar_icon_view_init): Add 3 pixel padding in vertical direction to the icon cell, to allow better placement of the emblems. * thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Improve the emblem placement and drawing code to work-around issues with most icon themes, that don't provide emblems in the appropriate sizes. (Old svn revision: 17033)
-
- Aug 18, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-statusbar.c: Drop the dependency on X11. * thunar/thunar-desktop-window.c: Include <gdk/gdkx.h> explicitly (since that's no longer done by libexo -> libxfcegui4). (Old svn revision: 17012)
-
Benedikt Meurer authored
* thunarx/thunarx-gdk-pixbuf-extensions.{c,h}: Add new function thunarx_gdk_pixbuf_spotlight(), which is used to create a special icon for the Gtk prelight state. * thunar/thunar-icon-renderer.{c,h}, thunar/Makefile.am, thunar/thunar-details-view.c, po/POTFILES.in: Rename ThunarDetailsViewIconRenderer to ThunarIconRenderer, as it will also be used by the icon view now. * thunar/thunar-text-renderer.{c,h}, thunar/Makefile.am, thunar/thunar-details-view.c, po/POTFILES.in: Rename ThunarDetailsViewTextRenderer to ThunarTextRenderer, as it will also be used by the icon view now. * thunar/thunar-icon-renderer.{c,h}, thunar/thunar-text-renderer.{c,h}: Add required functionality to use these renderers with the new ExoIconView. * thunar/thunar-icon-view.c: Update to use the new ExoIconView class, with the modified ThunarIconRenderer and ThunarTextRenderer. * thunar/thunar-launcher.h, thunar/thunar-open-with-action.h: Use G_GNUC_MALLOC instead of EXO_GNUC_MALLOC. * thunar/thunar-window.c(thunar_window_init): Use the icon view by default for testing now. * configure.in.in: Bump version to 0.1.2. * thunar/thunar-window.c(thunar_window_action_about): Switch to GtkAboutDialog. (Old svn revision: 17010)
-
Benedikt Meurer authored
* thunar/thunar-list-model.c(thunar_list_model_files_added): Speed up inserts if the order of the files match the current sort order, which is usually the case with sorting by name. (Old svn revision: 17005)
-
Benedikt Meurer authored
* thunar/thunar-list-model.c(thunar_list_model_set_folder): Speed up the removal of existing rows when changing folders. It's now O(n) instead of O(n^2). * thunar/thunar-list-model.c: The memory chunk used for the rows is now an object attribute, rather than a global variable. (Old svn revision: 17004)
-
Daichi Kawahata authored
(Old svn revision: 16995)
-
- Aug 11, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-application.c (thunar_vfs_mime_application_new_from_desktop_id): Use "Name" instead of "GenericName" for the application's name, as the "Name" usually includes the project name in addition to the functional description of the application, which provides better results than having several applications named "Text Editor", etc. * configure.in.in: Prefer Gamin over FAM to avoid the C++ dependency if possible. Besides that, Gamin offers several other advantages over FAM, which makes it better suitable to be used in Thunar. * po/POTFILES.in: Add missing source files here, and remove obsolete files. * Thunar.desktop.in, Makefile.am, configure.in.in, po/POTFILES.in: Add desktop file for Thunar. (Old svn revision: 16851)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-jobs.{c,h}, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.{c,h}: Merge thunar-vfs-jobs.[ch] into thunar-vfs.[ch]. * thunar-vfs/thunar-vfs-mime-database.c, thunar/thunar-local-folder.c, thunar-vfs/thunar-vfs-monitor.{c,h}, thunar/thunar-local-file.c: Rename thunar_vfs_monitor_get() to thunar_vfs_monitor_get_default(). * thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs-mime.c, thunar-vfs/thunar-vfs-info.c, thunar/thunar-launcher.c, thunar/thunar-open-with-action.c, thunar/thunar-trash-folder.c: Rename thunar_vfs_mime_database_get() to thunar_vfs_mime_database_get_default(). * thunar-vfs/, thunar/Makefile.am, tests/Makefile.am, configure.in.in: Turn libthunar-vfs into a shared library, so we can use it in other applications/plugins as well. (Old svn revision: 16849)
-
- Aug 10, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Bump version to 0.1.1. * thunar-vfs/thunar-vfs-mime-info.h: Add list handling method thunar_vfs_mime_info_list_free(). * thunar-vfs/thunar-vfs-mime-info.c(thunar_vfs_mime_info_get_comment): Automatically generate a comment for 'application/x-extension-<EXT>' types if no comment is found on the disk. * thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_info_for_file): Automatically generate an 'application/x-extension-<EXT>' type on the fly if all other checks fail and the file name has an extension. * thunar-vfs/thunar-vfs-mime-cache.c, thunar-vfs/thunar-vfs-mime-legacy.c, thunar-vfs/thunar-vfs-mime-database.c, thunar-vfs/thunar-vfs-mime-provider.{c,h}: Add provider methods to unalias mime types and to determine the parents of a given mime type. Use these information to query additional MIME applications. (Old svn revision: 16839)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_default_application): Fall back to the first available application if no explicit default application is set by the user. * thunar/thunar-file.{c,h}, thunar/thunar-launcher.c: Rename thunar_file_list_dup() to thunar_file_list_copy() to get consistent naming. * thunar-vfs/thunar-vfs-mime-application.{c,h}: Add support methods required for hashing. * thunar-vfs/thunar-vfs-mime-application.{c,h}: Add methods to launch an application on a given list of URIs on a specific screen. Implement the Desktop Entry Specification 0.9.4, except for startup notification support, which will be added soon. * thunar/thunar-launcher.c, thunar/thunar-open-with-action.c: Allow users to open files using the newly added ThunarVfsMimeApplication functionality. (Old svn revision: 16828)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-database.c: According to the specification the defaults.list may specify more than one desktop-id per MIME type, where the first available application should be used. (Old svn revision: 16825)
-
- Aug 09, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-info.{c,h}: Add support methods required for hashing. * thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-mime-application.{c,h}, thunar-vfs/thunar-vfs-mime-database.{c,h}: Add initial MIME application support to the MIME database. * thunar/thunar-launcher.{c,h}: Add ThunarLauncher class, which provides actions to launch files using appropriate MIME applications. The ThunarLauncher class will also be used by the desktop view. * thunar/thunar-open-with-action.{c,h}: Add special action class ThunarOpenWithAction, which provides a GtkAction implementation, that - when used as menu - displays a submenu with all available MIME applications for a given file. * thunar/thunar-window-ui.xml: Add a placeholder to include the launcher support in the "File" menu on the main menu bar. * thunar/thunar-standard-view.c, thunar/thunar-standard-view-ui.xml, thunar/thunar-icon-view.c, thunar/thunar-details-view.c: Add file launcher support based on the new ThunarLauncher class. * thunar/thunar-file.{c,h}: Add methods to handle lists of ThunarFile items easily. * thunar/thunar-icon-factory.c(thunar_icon_factory_load_icon): Handle the case of passing a NULL or empty name properly. (Old svn revision: 16816)
-
- Aug 07, 2005
-
-
Benedikt Meurer authored
* configure.in.in, po/ja.po, THANKS: Add initial japanese translations, thanks to Daichi Kawahata <daichik@users.sourceforge.net>. This fixes #1004. (Old svn revision: 16495)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-legacy.c: Add support for the various globs to the legacy mime provider. * thunar-vfs/thunar-vfs-mime-database.c(thunar_vfs_mime_database_init): Read atleast 64 bytes from every file to reliably detect text files. * thunar-vfs/thunar-vfs-mime-database.c: When looking up the MIME info for a given file, and the magic check doesn't return a match, we'll return "application/x-executable" for every regular file that is atleast 1 byte in size and has the executable bit set, as this is more precise than "application/octet-stream". (Old svn revision: 16494)
-
- Aug 06, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Use AC_TRY_LINK() to avoid trouble with funky systems. (Old svn revision: 16482)
-
Benedikt Meurer authored
* configure.in.in: Add some autoconf magic to get posix_madvise() working with glibc. (Old svn revision: 16481)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-info.{c,h}: Determine the display_name for each file info. * thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_new_for_uri): Hand the display name to thunar_vfs_mime_database_get_info_for_file(), so we don't need to determine it again. * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_get_display_name): Don't use g_filename_display_basename(), because it may returned a somehow translated file name. * thunar/thunar-local-file.c: Use the display_name supplied with the ThunarVfsInfo rather than determining it again. (Old svn revision: 16479)
-
Benedikt Meurer authored
* configure.in.in, thunar-vfs/thunar-vfs-mime-database.c: Add support to query the MIME type stored in the extended attribute "user.mime_type" as specified in the Shared MIME-info spec. * docs/design/mime.xmi, docs/design/Makefile.am: Import description for the ThunarVFS mime module. * thunar-vfs/thunar-vfs-mime-cache.c(thunar_vfs_mime_cache_lookup_glob): Use correct offset when iterating over the GlobEntries. * thunar-vfs/thunar-vfs-mime-cache.c (thunar_vfs_mime_cache_lookup_literal): Fix the offset returned for the MIME-type name. (Old svn revision: 16478)
-
Benedikt Meurer authored
* configure.in.in: Check for fnmatch.h and sys/mman.h. Add checks for working mmap and posix_madvise. * configure.in.in, thunar-vfs/xdgmime/, thunar-vfs/Makefile.am: Drop the xdgmime library. * thunar-vfs/thunar-vfs-mime-cache.{c,h}, thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs-mime-info.{c,h}, thunar-vfs/thunar-vfs-mime-legacy.{c,h}, thunar-vfs/thunar-vfs-mime-provider.{c,h}, thunar-vfs/thunar-vfs-mime.{c,h}: Import thread-safe replacement for the xdgmime library. Works only with very recent shared-mime-info right now. * thunar-vfs/Makefile.am: Add new files to the build framework. * thunar-vfs/thunar-vfs-job.c, thunar-vfs/thunar-vfs-mime.c, thunar-vfs/thunar-vfs.c, thunar-vfs/thunar-vfs.h, thunar/main.c: Add ability to shutdown the VFS library. (Old svn revision: 16477)
-
- Aug 05, 2005
-
-
Stavros Giannouris authored
(Old svn revision: 16473)
-
- Aug 04, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Add "r" in front of the revision for the version string. * thunar-vfs/thunar-vfs-job.{c,h}, thunar-vfs/thunar-vfs-listdir-job.c, thunar-vfs/thunar-vfs-mime.{c,h}, thunar-vfs/thunar-vfs-unlink-job.c, thunar-vfs/thunar-vfs-uri.{c,h}, thunar-vfs/thunar-vfs-transfer-job.c, thunar/thunar-progress-dialog.c: Use ExoObject as base class for ThunarVfsJob, ThunarVfsMimeInfo and ThunarVfsUri, which were fun- damental types previously. ExoObject does exactly what we need here, without any additional overhead. In particular, the ref- counting is atomic, even with GLib < 2.7.4. * configure.in.in: Connect greek translations, previously committed by Stavros Giannouris <stavrosg2002@freemail.gr>. * thunar/thunar-file.c: Use exo-noops for the defaults where possible instead of providing several fallback implementations. * configure.in.in: Bump version number to 0.1.0. (Old svn revision: 16464)
-
Stavros Giannouris authored
(Old svn revision: 16463)
-
Stavros Giannouris authored
(Old svn revision: 16462)
-
- Aug 03, 2005
-
-
Benedikt Meurer authored
* thunar/main.c(main): Connect the translation domain and setup the application name. * thunar/thunar-standard-view.c(thunar_standard_view_init): Setup the translation domain for the action group. * thunar/thunar-window.c(thunar_window_init): Setup the translation domain for the action group. * po/hu.po, configure.in.in, THANKS: Add hungarian translations, thanks to Szervác Attila <sas@321.hu>. (Old svn revision: 16452)
-
Benedikt Meurer authored
2005-08-03 Benedikt Meurer <benny@xfce.org> * thunar/thunar-folder.c(thunar_folder_files_removed): Update docu- mentation. * thunar/thunar-local-folder.c(thunar_local_folder_file_destroy): In- voke the "files-removed" signal when a file in this folder is de- stroyed. * thunar/thunar-list-model.c: Do not connect the "destroy" signal of ThunarFile anymore, but instead we rely on the folder to emit "files-removed" appropriately. * thunar/thunar-list-model.c(thunar_list_model_class_init): Increase the number of preallocated rows. * po/, Makefile.am, configure.in.in: Add i18n support. (Old svn revision: 16451)
-
Benedikt Meurer authored
* thunar/thunar-details-view-text-renderer.c: Calculating the approxi- mate sizes based on the font metrics requires way too much additional data memory (because Pango loads the whole fontset for this calcu- lation), so we base our calculation on a sample text instead. (Old svn revision: 16449)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-job.c(thunar_vfs_job_emit_valist): Lower the Job signal priority to increase the responsiveness of the user interface. (Old svn revision: 16446)
-
Benedikt Meurer authored
* thunar/thunar-details-view-text-renderer.{c,h}: Fast text cell renderer, which provides less accurate cell area size calculation. * thunar/Makefile.am: Add ThunarDetailsViewTextRenderer to the build framework. * thunar/thunar-details-view.c: Use the new text renderer. (Old svn revision: 16445)
-
- Aug 02, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-monitor.c: Implement the thunar_vfs_monitor_feed() method in a reentrant way. (Old svn revision: 16438)
-
- Aug 01, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-list-model.c: Add sort_by_name() calls missing from the initial patch. (Old svn revision: 16434)
-
Benedikt Meurer authored
* thunar/thunar-local-file.c(thunar_local_file_monitor): Actually reload the file info when the VFS monitor notices a change. * thunar/thunar-list-model.c: Apply Jens Luedickes patch to add sub-sorting on the filename. * thunar-vfs/thunar-vfs-monitor.c: Add missing header files. * configure.in.in: Drop the kevent related checks. (Old svn revision: 16433)
-
Benedikt Meurer authored
* configure.in.in: Add check for the FAM/Gamin library. * thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-monitor.{c,h}: Redesign the VFS monitor to use FAM if available. It also provides an interface to feed the monitor with external events, which will be used by the VFS jobs, which know for sure that they changed/created/deleted a file. The interface is not yet implemented. * thunar/thunar-file.{c,h}: Add a virtual method reload(), which allows external entities to trigger a reload on a ThunarFile. * thunar/thunar-local-file.c: Implement the reload() method. * thunar/thunar-local-file.c, thunar/thunar-local-folder.c: Add support for the new VFS monitor. (Old svn revision: 16432)
-
Benedikt Meurer authored
* thunar/thunar-list-model.{c,h}: Add new method thunar_list_model_get_paths_for_pattern(), which is used to generate a list of GtkTreePaths for all rows matching a certain pattern. * thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-standard-view.h: Add virtual methods select_all(), unselect_all() and select_path(), and implement them in the details and icon views. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c, thunar/thunar-window-ui.xml: Add actions "select-all" and "select-by-pattern" to the "Edit" menu. * thunar-vfs/thunar-vfs-trash.c: Cosmetic fix. (Old svn revision: 16430)
-
- Jul 31, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-local-folder.c: Properly disconnect all signal handlers prior to releasing the job. * TODO: Remove completed items. Add note about the copy&paste behaviour within the same folder. * thunar-vfs/thunar-vfs-transfer-job.c (thunar_vfs_transfer_job_insert_base): Fix the check whether source and target directory are equal. * thunar-vfs/thunar-vfs-user.c(thunar_vfs_user_local_class_init): Fix a crash, where the thunar_vfs_local_user_parent_class wasn't initia- lized properly. * thunar/thunar-location-buttons.c: Allow users to automatically enter directories while dragging a text/uri-list over one of the folder buttons. (Old svn revision: 16425)
-