- Sep 04, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-uri.c(escape): Also escape '&' in URIs. (Old svn revision: 17339)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-thumb.{c,h}: Implement the store thumbnail functionality. * thunar-vfs/thunar-vfs-sysdep.c, thunar-vfs/thunar-vfs-trash.c, thunar-vfs/thunar-vfs-uri.{c,h}, thunar-vfs/thunar-vfs.symbols, thunar/thunar-clipboard-manager.c, thunar/thunar-favourites-model.c, thunar/thunar-favourites-view.c, thunar/thunar-file.c, thunar/thunar-location-buttons.c, thunar/thunar-path-entry.c, thunar/thunar-standard-view.c, thunar/thunar-statusbar.c: Improve the thunar_vfs_uri_to_string() method to support UTF-8 URI strings and escaping of URIs, which is required for proper Drag'n'Drop interaction with other applications. (Old svn revision: 17336)
-
Benedikt Meurer authored
* thunar/thunar-file.{c,h}: Store the watch count in the GObject data list, as it seldomly used. * thunar/thunar-file.c(thunar_file_load_icon): Try to load the "loading" icon directly instead of checking the icon theme first. * thunar/thunar-standard-view.c: Revert the "num-files" special handling as it leads to a bug where the actions aren't updated properly when changing directories. * thunar-vfs/thunar-vfs-sysdep.h: Fix typo. * thunar-vfs/thunar-vfs-transfer-job.c, thunar-vfs/thunar-vfs-unlink-job.c: Unlink thumbnails after removing a file to reduce the junk in ~/.thumbnails/. * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_get_md5sum): Escape the path properly, so the thumbnail paths we determine are equal to those of other file managers. (Old svn revision: 17333)
-
- Sep 03, 2005
-
-
Benedikt Meurer authored
* thunar/Makefile.am: Add the thumbnail frame source image to the distribution. * thunar/thunar-icon-factory.c: Add some more cleverness in determining whether or not to add a frame to a thumbnail. (Old svn revision: 17329)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs.symbols, thunar-vfs/thunar-vfs-mime-info.{c,h}, thunar-vfs/thunar-vfs-mime-database.c: Determine media and subtype of a ThunarVfsMimeInfo on-demand. * thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_new_for_uri): Move the .desktop file handling to the regular file case. * thunar-vfs/thunar-vfs-thumb.{c,h}, thunar-vfs/thunar-vfs.symbols, thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs.h: Import the ThunarVfsThumbFactory class, which implements the freedesktop thumbnail management specification. * thunarx/thunarx-gdk-pixbuf-extensions.{c,h}: Add new helper function thunarx_gdk_pixbuf_frame(), which is used to embed an arbitrary image into a frame (e.g. for thumbnails). * thunar/thunar-favourites-model.c, thunar/thunar-file.c, thunar/thunar-icon-factory.{c,h}, thunar/thunar-icon-renderer.c, thunar/thunar-list-model.c, thunar/thunar-location-buttons.c, thunar/thunar-window.c: Make sure we don't leak the default icon factory instance on exit. * thunar/Makefile.am, thunar/thunar-thumbnail-frame.{h,png}: Import the thumbnail frame image used by Nautilus. * thunar/thunar-icon-factory.{c,h}: Add thumbnail loading support to the icon factory and reorganize the internals a bit. * thunar/thunar-file.c: Load thumbnails for regular if possible. (Old svn revision: 17328)
-
- Sep 02, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Don't scale the icon if it fits into the cell area. (Old svn revision: 17295)
-
Benedikt Meurer authored
* thunar/thunar-text-renderer.c: Select the text prior to the last dot when starting to edit a cell. * thunar/thunar-properties-dialog.c(thunar_properties_dialog_update): Place input focus on the name entry widget and select the text prior to the last dot. (Old svn revision: 17294)
-
Benedikt Meurer authored
* thunar/thunar-open-with-action.c(thunar_open_with_action_activated): Remove obsolete code. * thunar/thunar-standard-view.c (thunar_standard_view_button_release_event): Don't popup the context menu using the just released button, as that would render the items unclickable. (Old svn revision: 17288)
-
Benedikt Meurer authored
* thunar/thunar-standard-view.c: Avoid going through the selection changed handling whenever the number of files in a model changes, as the only thing that needs updating here is the statusbar text. * thunar-vfs/thunar-vfs-mime-cache.c (thunar_vfs_mime_cache_lookup_parents): Fix the offset from which the parent mime type name is read. * thunar-vfs/thunar-vfs-mime-cache.c(cache_node_lookup_suffix): Optimize the tail-recursive suffix lookup. * thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_info_for_file): Use fast stack memory for the extattr and content lookups. (Old svn revision: 17285)
-
Benedikt Meurer authored
* thunar/thunar-icon-factory.c(thunar_icon_factory_lookup_icon): Add support to load icons from absolute paths. * thunar/thunar-local-file.c(thunar_local_file_get_icon_name): Allow the VFS layer to pass absolute paths for the file icon hint. This is required for some .desktop files, that specify absolute icon paths instead of themed icon names. * thunar/thunar-location-buttons.c(thunar_location_buttons_make_button): Don't permit location buttons to grab the focus. (Old svn revision: 17283)
-
Benedikt Meurer authored
* thunar/thunar-standard-view.c: Be sure to override the default drag-data-delete handler of ExoIconView/GtkTreeView. * thunar/thunar-icon-view.c(thunar_icon_view_get_path_at_pos): The exo_icon_view_get_path_at_pos() method really accepts widget coordinates now, like GtkTreeView does, so we don't need to translate the widget coordinates to icon window coordinates first. (Old svn revision: 17278)
-
Benedikt Meurer authored
* thunar/thunar-standard-view.c(thunar_standard_view_get_dest_actions): Set the drop-file icon renderer property only if we have a valid drag action. * thunar/thunar-local-file.c(thunar_local_file_accepts_uri_drop): Do not accept directory drops if the directory isn't writable. (Old svn revision: 17269)
-
Benedikt Meurer authored
* thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Prelight drop destination icons. (Old svn revision: 17268)
-
Benedikt Meurer authored
* thunar/thunar-computer-folder.c, thunar/thunar-desktop-view.c, thunar/thunar-favourites-model.c, thunar/thunar-file.{c,h}, thunar/thunar-list-model.c, thunar/thunar-local-file.c, thunar/thunar-location-buttons.c, thunar/thunar-path-entry.c, thunar/thunar-properties-dialog.c, thunar/thunar-standard-view.c, thunar/thunar-statusbar.c, thunar/thunar-trash-file.c, thunar/thunar-trash-folder.c, thunar/thunar-window.c: Add an icon state parameter to the ThunarFile icon loader, which allows to grab icons for a certain state from a given file. * thunar/thunar-file.c: Drop the cached icon, as the ThunarIconFactory does this pretty well already and we don't need to keep an additional cached version of every file's icon. * thunar/thunar-icon-renderer.c, thunar/thunar-standard-view.c: Use the drop icon for the views while dragging over an item/row in the view. (Old svn revision: 17267)
-
- Sep 01, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-listdir-job.c: Fix the pre-sorting of files, so upper layers always receive the info list sorted by name. * thunar/thunar-details-view.c(thunar_details_view_button_press_event), thunar/thunar-icon-view.c(thunar_icon_view_button_press_event): Don't popup the context menu immediately on right-clicks, but schedule the menu popup using thunar_standard_view_queue_popup(). * thunar/thunar-standard-view.{c,h}: Add the ability to start a drag operation using the right mouse button. * thunar/thunar-file.{c,h}: Add virtual method accepts_uri_drop() and method thunar_file_accepts_uri_drop(), which are used to determine whether it is possible to drop a certain list of ThunarVfsURIs on a given ThunarFile (using a set of actions specified by the drag source). * thunar/thunar-local-file.c: Implement the accepts_uri_drop() method for local file handling. * thunar/thunar-progress-dialog.c(thunar_progress_dialog_ask), (thunar_progress_dialog_error): Be sure to display the progress dialog prior to opening an error or question dialog. * thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_rename): Fix gcc4 warning. * thunar-vfs/thunar-vfs.symbols: Add missing thunar_vfs_rename symbol. * thunar/thunar-favourites-model.c(thunar_favourites_model_get_value): Work-around a compiler bug with newer gcc versions. * thunar/thunar-standard-view.{c,h}: Turn ThunarStandardView into a valid drop site with support for text/uri-list drops. * thunar/Makefile.am, thunar/thunar-dnd.{c,h}: Add DnD helper functions, which can be used by other modules as well (e.g. for the desktop view). (Old svn revision: 17266)
-
- Aug 30, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-favourites-model.c: Drop the icon caching from the favourites model as it causes trouble with icon theme changing and is unnecessary since the ThunarIconFactory already performs quite well at caching icons. * thunar/thunar-location-buttons.c: Reload the icons for the location buttons when the active icon/gtk theme is changed. (Old svn revision: 17200)
-
Benedikt Meurer authored
* thunar/thunar-local-file.c(thunar_local_folder_infos_ready): Do not compare the newly inserted files, as they are garantied to be different from each other. * thunar-vfs/thunar-vfs-info.c(thunar_vfs_info_matches): Move the URI comparison to the end as that takes most of the time. * thunar-vfs/thunar-vfs-listdir-job.c(thunar_vfs_listdir_job_execute): Pre-sort the names in ascending order to get faster inserts for the usual case where the user sorts its views by name. (Old svn revision: 17197)
-
Benedikt Meurer authored
* thunar/thunar-properties-dialog.c: Adjust the "editability" of the name entry widget depending on whether the file can be renamed. * thunar-vfs/thunar-vfs-info.{c,h}: Add methd thunar_vfs_info_rename() which supports renaming of regular files and .desktop files. * thunar/thunar-file.{c,h}: Add _thunar_file_cache_rename() to support ThunarFile implementations that provide the thunar_file_rename() method. * thunar/thunar-local-file.c: Add support to rename local files based on thunar_vfs_info_rename(). * thunar/thunar-properties-dialog.c: Allow users to rename files using the name entry widget. * thunar/thunar-list-model.c(thunar_list_model_file_changed): Re-sort the model as the file may have changed its name. * thunar/thunar-list-model.c(thunar_list_model_sort): Avoid the GArray overhead and try to use stack memory if possible. * thunar/thunar-standard-view.h, thunar/thunar-details-view.c, thunar/thunar-icon-view.c: Add virtual methods set_cursor() and scroll_to_path() to the ThunarStandardView class and implement them in ThunarDetailsView and ThunarIconView. * thunar/thunar-standard-view.c: Implement the "Rename" action based on the inline editing capabilities of ThunarTextRenderer. (Old svn revision: 17194)
-
Benedikt Meurer authored
* thunar/thunar-favourites-view.c(thunar_favourites_view_init): Use auto-sizing for the favourites column. * thunar/thunar-favourites-model.{c,h}, thunar/thunar-favourites-view.c: Add support for Gtk+ 2.8 shortcuts, which allow the user to assign aliases with mutable shortcuts. (Old svn revision: 17180)
-
- Aug 29, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-details-view.c, thunar/thunar-icon-view.c, thunar/thunar-standard-view.{c,h}: Turn the name cell renderer into a property of the ThunarStandardView class, so related functionality can be easily shared between the icon and details views. * thunar/thunar-standard-view-ui.xml, thunar/thunar-window-ui.xml: Add placeholder for alteration actions to the "Edit" menu in the thunar window and fill this placeholder with the "Rename" action in the standard view. In addition, add the "Rename" action to the file context menu. * thunar/thunar-file.{c,h}: Add rename functionality to the ThunarFile interface. * thunar/thunar-standard-view.c(thunar_standard_view_selection_changed): Enable the "Rename" action if exactly one file is selected and that file is renameable. (Old svn revision: 17172)
-
Benedikt Meurer authored
* thunar/thunar-favourites-model.c: Use GLib linked lists to manage the favourites. * thunar/thunar-favourites-model.c: Monitor the bookmarks file for changes. (Old svn revision: 17169)
-
Benedikt Meurer authored
* thunar/thunar-window-ui.xml, thunar/thunar-window.c: Add side pane selection to the View menu. (Old svn revision: 17162)
-
Benedikt Meurer authored
* configure.in.in: Check for Intel MMX Intrinsics header. * thunarx/thunarx-gdk-pixbuf-extensions.c: Use Intel MMX Intrinsics to speed up pixbuf operations, if supported by the compiler (the -mmmx option in gcc). * thunar/thunar-window.c(thunar_window_action_location_bar_changed): Apply the location bar patch submitted by Jeffs Franks <jcfranks@tpg.com.au> in a slightly modified form. (Old svn revision: 17161)
-
- Aug 28, 2005
-
-
Benedikt Meurer authored
* po/POTFILES.in: Remove thunar-vfs-mime.{c,h}. * po/*.po: Update .po files. (Old svn revision: 17154)
-
Benedikt Meurer authored
* thunar/thunar-list-model.c(thunar_list_model_sort): Use temporary storage on the stack, rather than the heap. * thunar/thunar-list-model.c: Derive from GObject rather than GtkObject, as we don't need GtkObject's features anymore in ThunarListModel. * thunar/thunar-list-model.c(thunar_list_model_class_init): Use EXO_PARAM_* macros rather than G_PARAM_*. * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_equal): Add a check to see whether the compared references refer to the same object, which can happen quite often (in case of a positive match). * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_list_to_string): Prealloc a buffer of 512 bytes for the URI list string representation. * thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_list_free): Use g_list_foreach() to unref the URIs. * thunar/thunar-local-file.c(thunar_local_file_get_emblem_names): Properly verify the parent uri when testing for the Desktop directory. * thunar-vfs/thunar-vfs.{c,h}, thunar-vfs/Makefile.am: Drop the thunar_vfs_mime_info_get() and thunar_vfs_mime_info_get_for_file() methods, and merge the thunar-vfs-mime initialization into the thunar-vfs initialization routines. (Old svn revision: 17153)
-
Benedikt Meurer authored
* thunar/thunar-file.{c,h}, thunar/thunar-local-file.c, thunar/thunar-standard-view.c: Rename can_execute(), can_read() and can_write() to is_executable(), is_readable() and is_writable() to get consistent naming. * thunar-vfs/thunar-vfs-info.{c,h}: Add THUNAR_VFS_FILE_FLAGS_EXECUTABLE to the ThunarVfsFileFlags, which will be set if a ThunarVfsInfo can be executed, either as regular binary or as .desktop file. * thunar-vfs/thunar-vfs-mime-application.c, thunar-vfs/thunar-vfs-sysdep.{c,h}: Move the Exec parsing code from ThunarVfsMimeApplication to thunar-vfs-sysdep, so it can be used by other modules as well. * thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_info_execute(), which is used to execute files with a list of URIs. These method can handle both regular executable files as well as .desktop files. * thunar/thunar-file.{c,h}, thunar/thunar-launcher.c, thunar/thunar-local-file.c: Add support to execute files that are marked as executable by the ThunarVfsInfo module. * thunar-vfs/thunar-vfs-mime-database.c (thunar_vfs_mime_database_get_info_locked), (thunar_vfs_mime_database_get_infos_for_info_locked): Be sure to always unalias MIME-types prior to returning them from the mime database instance. This way we don't need to care for unaliasing when determining the MIME-type comment or MIME-type icon. * thunar-vfs/thunar-vfs-mime-database.{c,h}, thunar-vfs/thunar-vfs.symbols: Add new method thunar_vfs_mime_database_get_infos_for_info() to the public API, to allow other components to access the subclassing information. * FAQ, Makefile.am: Add initial items for the list of frequently asked questions. * TODO: Remove obsolete items. (Old svn revision: 17147)
-
- 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)
-