Skip to content
Snippets Groups Projects
  1. Sep 15, 2005
    • Benedikt Meurer's avatar
      2005-09-15 Benedikt Meurer <benny@xfce.org> · 07df89b9
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-volume-bsd.c,
      	  thunar-vfs/thunar-vfs-volume-sysv.c: Include thunar-vfs-alias.h.
      
      
      
      
      (Old svn revision: 17636)
      07df89b9
    • Benedikt Meurer's avatar
      2005-09-15 Benedikt Meurer <benny@xfce.org> · 2e78fa93
      Benedikt Meurer authored
      	* thunar/thunar-progress-dialog.c: Use GObject for the job instead of
      	  ExoObject.
      
      
      
      
      (Old svn revision: 17634)
      2e78fa93
    • Benedikt Meurer's avatar
      2005-09-15 Benedikt Meurer <benny@xfce.org> · 63623969
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-interactive-job.{c,h},
      	  thunar-vfs/thunar-vfs-job.{c,h},
      	  thunar-vfs/thunar-vfs-listdir-job.{c,h},
      	  thunar-vfs/thunar-vfs-transfer-job.{c,h},
      	  thunar-vfs/thunar-vfs-unlink-job.{c,h}: Allocate a new main loop for
      	  every running job so we can terminate them properly and be sure to
      	  run the finalize method in the main thread. This enables us to use
      	  arbitrary GObjects within a job without having to worry about the
      	  reference counting problem in GLib 2.6. The jobs are GObjects as well
      	  now to easily support language bindings and allow us to drop the
      	  problematic ExoObject class.
      
      
      
      
      (Old svn revision: 17633)
      63623969
  2. Sep 14, 2005
    • Benedikt Meurer's avatar
      2005-09-14 Benedikt Meurer <benny@xfce.org> · 162b93dc
      Benedikt Meurer authored
      	* thunar/thunar-launcher.c(thunar_launcher_open_files): Use
      	  g_object_unref() instead of exo_object_unref().
      
      
      
      
      (Old svn revision: 17608)
      162b93dc
    • Benedikt Meurer's avatar
      2005-09-14 Benedikt Meurer <benny@xfce.org> · 7aacc258
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-mime-application.{c,h},
      	  thunar-vfs/thunar-vfs-mime-database.c, thunar-vfs/thunar-vfs.symbols,
      	  thunar/thunar-launcher.c, thunar/thunar-marshal.list,
      	  thunar/thunar-open-with-action.c: Turn ThunarVfsMimeApplication into
      	  a boxed type.
      	* thunar/thunar-window.c: Apply Daichis patch to make the dynamic
      	  actions titles translatable (#1153).
      
      
      
      
      (Old svn revision: 17605)
      7aacc258
    • Daichi Kawahata's avatar
      Corrected a typo. etc. · 57849e0c
      Daichi Kawahata authored
      (Old svn revision: 17604)
      57849e0c
  3. Sep 13, 2005
    • Benedikt Meurer's avatar
      2005-09-13 Benedikt Meurer <benny@xfce.org> · f66793cd
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-mime-database.c,
      	  thunar-vfs/thunar-vfs-mime-info.{c,h}, thunar-vfs/thunar-vfs-thumb.c,
      	  thunar-vfs/thunar-vfs.symbols: Turn ThunarVfsMimeInfo into a boxed
      	  type.
      	* thunar-vfs/thunar-vfs-mime-provider.c: No need to provide fallback
      	  implementations for the virtual methods, as both providers implement
      	  all virtual methods.
      	* thunar-vfs/thunar-vfs-mime-provider.{c,h},
      	  thunar-vfs/thunar-vfs-mime-cache.c,
      	  thunar-vfs/thunar-vfs-mime-legacy.c,
      	  thunar-vfs/thunar-vfs-mime-database.c: Derive the MIME providers from
      	  GObject instead of ExoObject.
      	* thunar-vfs/thunar-vfs-mime-database.c, thunar-vfs/thunar-vfs-info.c,
      	  thunar-vfs/thunar-vfs-thumb.c, thunar-vfs/thunar-vfs.c,
      	  thunar/thunar-computer-folder.c, thunar/thunar-file.c,
      	  thunar/thunar-open-with-action.c, thunar/thunar-trash-folder.c:
      	  Derive ThunarVfsMimeDatabase from GObject instead of ExoObject.
      
      
      
      
      (Old svn revision: 17595)
      f66793cd
    • Benedikt Meurer's avatar
      2005-09-13 Benedikt Meurer <benny@xfce.org> · 926981bc
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-sysdep.h: Add inline atomic operations.
      	* thunar-vfs/thunar-vfs-info.c, thunar-vfs/thunar-vfs-listdir-job.c,
      	  thunar-vfs/thunar-vfs-mime-application.c,
      	  thunar-vfs/thunar-vfs-mime-database.c,
      	  thunar-vfs/thunar-vfs-monitor.c,
      	  thunar-vfs/thunar-vfs-sysdep.c, thunar-vfs/thunar-vfs-thumb.c,
      	  thunar-vfs/thunar-vfs-transfer-job.c, thunar-vfs/thunar-vfs-trash.c,
      	  thunar-vfs/thunar-vfs-uri.{c,h}, thunar-vfs/thunar-vfs.c,
      	  thunar-vfs/thunar-vfs.symbols, thunar/thunar-clipboard-manager.c,
      	  thunar/thunar-computer-folder.c, thunar/thunar-favourites-model.c,
      	  thunar/thunar-favourites-view.c, thunar/thunar-file.c,
      	  thunar/thunar-icon-factory.c, thunar/thunar-local-file.c,
      	  thunar/thunar-local-folder.c, thunar/thunar-location-buttons.c,
      	  thunar/thunar-path-entry.c, thunar/thunar-standard-view.c,
      	  thunar/thunar-statusbar.c, thunar/thunar-trash-file.c, 
      	  thunar/thunar-trash-folder.c: Turn ThunarVfsURI into a boxed type
      	  to make language bindings easier and reduce the overhead. Drop the
      	  foreign host support code, as we can't use it anyways, since nearly
      	  every other existing application that handles file URIs is broken
      	  when it comes to file URIs with authorities. Simplify the
      	  thunar_vfs_uri_to_string() method again and return only escaped
      	  versions of the URI.
      	* thunar/thunar-path-entry.c(thunar_path_entry_set_current_file):
      	  Display file URIs for non-UTF8 paths.
      	* tests/test-thunar-vfs-uri.c, tests/test-thunar-vfs-volume-bsd.c:
      	  Update the tests.
      	* thunar-vfs/Makefile.am, thunar-vfs/thunar-vfs-info.h,
      	  thunar-vfs/thunar-vfs-types.h: Move the system-dependent types to
      	  thunar-vfs-types.h.
      	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs.symbols:
      	  Turn ThunarVfsInfo into a boxed type.
      
      
      
      
      (Old svn revision: 17594)
      926981bc
    • Daichi Kawahata's avatar
      Updated Japanese translations. · 43d49034
      Daichi Kawahata authored
      (Old svn revision: 17589)
      43d49034
  4. Sep 11, 2005
    • Benedikt Meurer's avatar
      2005-09-11 Benedikt Meurer <benny@xfce.org> · edb3b02d
      Benedikt Meurer authored
      	* thunar/thunar-standard-view.c: Sort the extension actions by their
      	  names instead of their labels.
      	* thunar/thunar-extension-manager.c(thunar_extension_class_init):
      	  Properly initialize the parent class reference.
      	* examples/open-terminal-here/Makefile.am: Don't specify CLEANFILES
      	  explicitly.
      	* thunar/thunar-file.c(thunar_file_get_mime_info): Documentation fix.
      	* thunar-vfs/thunar-vfs-mime-database.c
      	  (thunar_vfs_mime_database_get_info_for_file): When generating an
      	  application/x-extension-<EXT> mime type and no valid extension is
      	  found for the file name, fallback to the whole filename as suggested
      	  by jrb. This way we can make sure that we will never return
      	  application/octet-stream from this method and thereby allow the
      	  program chooser to set default applications for every mime type
      	  used in the file manager.
      	* thunar/Makefile.am: Add $(top_builddir) to INCLUDES.
      
      
      
      
      (Old svn revision: 17560)
      edb3b02d
    • Benedikt Meurer's avatar
      2005-09-11 Benedikt Meurer <benny@xfce.org> · 52ec25f1
      Benedikt Meurer authored
      	* thunar/thunar-standard-view.c: Sort the extension actions by their
      	  labels prior to adding them to the UI manager.
      
      
      
      
      (Old svn revision: 17556)
      52ec25f1
    • Benedikt Meurer's avatar
      2005-09-11 Benedikt Meurer <benny@xfce.org> · f99715d2
      Benedikt Meurer authored
      	* examples/open-terminal-here/open-terminal-here.c
      	  (open_terminal_here_activate): Remove unused debug statement.
      
      
      
      
      (Old svn revision: 17555)
      f99715d2
    • Benedikt Meurer's avatar
      2005-09-09 Benedikt Meurer <benny@xfce.org> · 450cd047
      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)
      450cd047
  5. Sep 06, 2005
    • Benedikt Meurer's avatar
      2005-09-06 Benedikt Meurer <benny@xfce.org> · fe2091e1
      Benedikt Meurer authored
      	* thunar/thunar-list-model.c: Don't emit the "row-inserted" and
      	  "row-deleted" signals when changing folders unless somebody
      	  is actually interested in these signals.
      	* thunar/thunar-list-model.c(thunar_list_model_set_folder): Actually
      	  specify the correct path when deleting the previous items from the
      	  model.
      	* thunar/thunar-local-folder.c(thunar_local_folder_file_destroy): No
      	  need to request a new list from GLib here.
      	* thunar/thunar-local-folder.c(thunar_local_folder_infos_ready): Don't
      	  add new files to two lists. Instead add them to one temporary list
      	  and append the temporary list to the internal list later.
      	* thunar/thunar-local-file.c(thunar_local_file_get_for_info): Fix an
      	  invalid instance cast check.
      	* thunar/thunar-file.c: Manage the file cache directly without using
      	  weak references to avoid problems and save memory (weak references
      	  are allocated in the GObject dataset).
      
      
      
      
      (Old svn revision: 17436)
      fe2091e1
    • Benedikt Meurer's avatar
      2005-09-06 Benedikt Meurer <benny@xfce.org> · c6b279a1
      Benedikt Meurer authored
      	* thunar/thunar-local-file.c: Store the VFS monitor handle in the
      	  GObject dataset as it's used only for explicit file monitoring (e.g.
      	  for the properties dialog).
      	* thunar/thunar-list-model.c(thunar_list_model_get_iter): Skip every
      	  second comparison for iter lookups.
      	* icons/, configure.in.in, Makefile.am: Add the Thunar icon.
      
      
      
      
      (Old svn revision: 17401)
      c6b279a1
    • Benedikt Meurer's avatar
      2005-09-06 Benedikt Meurer <benny@xfce.org> · c5a3c59f
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.c: Invoke the parent's finalize method, as
      	  that will be required for language bindings once we have weak/toggle
      	  references for ExoObject.
      	* thunar/thunar-local-file.c(thunar_local_file_rename): Re-register with
      	  the VFS monitor if the rename succeeds.
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_hash): Don't hash the
      	  hostname if it's NULL.
      	* thunar-vfs/thunar-vfs-uri.c(thunar_vfs_uri_equal): We don't need to
      	  query the hostname string here, as local files will always have host
      	  set to NULL.
      	* tests/test-thunar-vfs-uri.c(main): Extend the ThunarVfsURI test.
      	* pixmaps/, Makefile.am, configure.in.in, thunar/thunar-window.c,
      	  thunar/Makefile.am: Initial idea for the about dialog logo.
      
      
      
      
      (Old svn revision: 17389)
      c5a3c59f
  6. Sep 05, 2005
    • Benedikt Meurer's avatar
      2005-09-05 Benedikt Meurer <benny@xfce.org> · 75692676
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-info.{c,h}, thunar-vfs/thunar-vfs-listdir-job.c:
      	  Use GList instead of GSList to manage ThunarVfsInfo lists, which
      	  increases data locality and decreases memory usage (as there's no
      	  need to keep another allocator around any more).
      	* thunar/thunar-computer-folder.c, thunar/thunar-folder.{c,h},
      	  thunar/thunar-list-model.c, thunar/thunar-local-folder.c,
      	  thunar/thunar-trash-folder.c: Use GList instead of GSList to manage
      	  the list of files for a folder for the same reason.
      	* thunar/thunar-file.{c,h}, thunar/thunar-folder.c,
      	  thunar/thunar-local-folder.c, thunar/thunar-local-file.c: ThunarFile
      	  is derived from GObject now, instead of GtkObject.
      	* thunar/thunar-list-model.c: No need to implement GtkTreeDragDest,
      	  as that's handled in ThunarStandardView.
      
      
      
      
      (Old svn revision: 17375)
      75692676
    • Benedikt Meurer's avatar
      2005-09-05 Benedikt Meurer <benny@xfce.org> · 35c9213b
      Benedikt Meurer authored
      	* thunar/thunar-launcher.c, thunar/thunar-list-model.c,
      	  thunar/thunar-open-with-action.c, thunar/thunar-properties-dialog.c:
      	  We don't need to check the result of thunar_file_get_mime_info() any
      	  more as it's garantied to be a valid ThunarVfsMimeInfo.
      
      
      
      
      (Old svn revision: 17373)
      35c9213b
    • Benedikt Meurer's avatar
      2005-09-05 Benedikt Meurer <benny@xfce.org> · 315e0a32
      Benedikt Meurer authored
      	* thunar/thunar-computer-folder.c, thunar/thunar-file.c,
      	  thunar/thunar-list-model.c: Always return a valid ThunarVfsMimeInfo
      	  from the get_mime_info() method.
      
      
      
      
      (Old svn revision: 17372)
      315e0a32
    • Benedikt Meurer's avatar
      2005-09-05 Benedikt Meurer <benny@xfce.org> · 2598d1e2
      Benedikt Meurer authored
      	* thunar/thunar-list-model.{c,h}: Drop the unused icon columns from the
      	  ThunarListModel.
      
      
      
      
      (Old svn revision: 17371)
      2598d1e2
  7. Sep 04, 2005
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · ea48fcfb
      Benedikt Meurer authored
      	* thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Generate
      	  the colorized/spotlighted version of the icon only if the icon area
      	  is affected by expose event.
      
      
      
      
      (Old svn revision: 17343)
      ea48fcfb
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · b164b6e1
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.c(escape): And of course, we need to escape
      	  the '+' and '%' characters in URIs.
      
      
      
      
      (Old svn revision: 17342)
      b164b6e1
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · db0b3b67
      Benedikt Meurer authored
      	* thunar-vfs/thunar-vfs-uri.c(escape): Also escape '&' in URIs.
      
      
      
      
      (Old svn revision: 17339)
      db0b3b67
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · ebaac55a
      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)
      ebaac55a
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · b6845a37
      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)
      b6845a37
  8. Sep 03, 2005
    • Benedikt Meurer's avatar
      2005-09-04 Benedikt Meurer <benny@xfce.org> · 53170e08
      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)
      53170e08
    • Benedikt Meurer's avatar
      2005-09-03 Benedikt Meurer <benny@xfce.org> · 4da80447
      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)
      4da80447
  9. Sep 02, 2005
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · 2e712c26
      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)
      2e712c26
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · ad1978bc
      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)
      ad1978bc
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · df85bfb1
      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)
      df85bfb1
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · c598ef43
      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)
      c598ef43
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · 808a2b27
      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)
      808a2b27
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · 5193a1c4
      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)
      5193a1c4
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · a86de277
      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)
      a86de277
    • Benedikt Meurer's avatar
      2005-09-02 Benedikt Meurer <benny@xfce.org> · 621fe3fe
      Benedikt Meurer authored
      	* thunar/thunar-icon-renderer.c(thunar_icon_renderer_render): Prelight
      	  drop destination icons.
      
      
      
      
      (Old svn revision: 17268)
      621fe3fe
    • Benedikt Meurer's avatar
      2005-09-01 Benedikt Meurer <benny@xfce.org> · c54d96b6
      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)
      c54d96b6
  10. Sep 01, 2005
    • Benedikt Meurer's avatar
      2005-09-01 Benedikt Meurer <benny@xfce.org> · 2a91e495
      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)
      2a91e495
  11. Aug 30, 2005
    • Benedikt Meurer's avatar
      2005-08-30 Benedikt Meurer <benny@xfce.org> · ed0b6d5e
      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)
      ed0b6d5e
    • Benedikt Meurer's avatar
      2005-08-30 Benedikt Meurer <benny@xfce.org> · e2264e17
      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)
      e2264e17
    • Benedikt Meurer's avatar
      2005-08-30 Benedikt Meurer <benny@xfce.org> · 7d12f4e2
      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)
      7d12f4e2
Loading