Git Repositories

2005-09-20 Benedikt Meurer <benny@xfce.org>
authorBenedikt Meurer <benny@xfce.org>
Thu, 22 Sep 2005 16:48:49 +0000 (16:48 +0000)
committerBenedikt Meurer <benny@xfce.org>
Thu, 22 Sep 2005 16:48:49 +0000 (16:48 +0000)
commit4ebfe7443e945b6f26d85c8f1a24c1146ea5b488
tree1bfbf4d976309107ce89f8b1878cb18347f789a6
parent848bd93d2d2ad52823df876296fef966687b8a93
2005-09-20 Benedikt Meurer <benny@xfce.org>

* thunar-vfs/thunar-vfs-mime-application.{c,h},
  thunar-vfs/thunar-vfs.symbols: Load the supported mime types for the
  applications.
* thunar-vfs/thunar-vfs-mime-application.{c,h},
  thunar-vfs/thunar-vfs.symbols: Add a new constructor
  thunar_vfs_mime_application_new_from_file() for the special case
  where a particular file should be loaded by path.
* thunar-vfs/thunar-vfs-mime-application.c
  (thunar_vfs_mime_application_equal): Properly initialize the
  application variables.
* thunar-vfs/thunar-vfs-mime-application.c
  (thunar_vfs_mime_application_lookup_icon_name): Permit applications
  to specify absolute paths for the icon name.
* thunar-vfs/thunar-vfs-mime-database.{c,h},
  thunar-vfs/thunar-vfs.symbols: Extend the mime database by a new
  method thunar_vfs_mime_database_set_default_application(), which is
  used to set the default application for a given mime type.
* thunar-vfs/thunar-vfs-sysdep.c(_thunar_vfs_sysdep_parse_exec): Fix
  typo to properly execute applications that require a terminal.
* thunar-vfs/thunar-vfs-mime-database.c
  (thunar_vfs_mime_database_get_applications): Always prepend the
  default applications for the given mime info to the list returned
  from this method.
* thunar/thunar-favourites-model.c(thunar_favourites_model_save): Use
  g_mkstemp() to create the temporary file.
* thunar-vfs/thunar-vfs-mime-application.{c,h},
  thunar-vfs/thunar-vfs.symbols: Add public flags to the mime
  applications.
* thunar-vfs/thunar-vfs-mime-application.c
  (thunar_vfs_mime_application_new_from_file): Strip off known suffixes
  for image files if a themed icon is specified. This way we can
  work-around quite a few broken .desktop files.
* thunar-vfs/thunar-vfs-mime-database.{c,h},
  thunar-vfs/thunar-vfs.symbols: Support the addition of custom
  applications using thunar_vfs_mime_database_add_application() in
  a way compatible to what Nautilus does (which is actually quite a
  mess).
* thunar/thunar-chooser-dialog.{c,h}, thunar/thunar-chooser-model.{c,h},
  thunar/Makefile.am: Import the "Open With" dialog based on the two
  classes ThunarChooserDialog and ThunarChooserModel, which in turn are
  based on the new functionality provided by Thunar-VFS, and thereby
  permit the user to associate applications with files (actually mime
  types) and add new applications.
* thunar/thunar-launcher.c: Connect the "Open With Other" action to
  the new ThunarChooserDialog.
* thunar/thunar-favourites-model.c: Document the drag source functions.
* README: Add a list of dependencies for Thunar.
* TODO: Drop completed items.

(Old svn revision: 17760)
16 files changed:
ChangeLog
README
TODO
thunar-vfs/thunar-vfs-mime-application.c
thunar-vfs/thunar-vfs-mime-application.h
thunar-vfs/thunar-vfs-mime-database.c
thunar-vfs/thunar-vfs-mime-database.h
thunar-vfs/thunar-vfs-sysdep.c
thunar-vfs/thunar-vfs.symbols
thunar/Makefile.am
thunar/thunar-chooser-dialog.c [new file with mode: 0644]
thunar/thunar-chooser-dialog.h [new file with mode: 0644]
thunar/thunar-chooser-model.c [new file with mode: 0644]
thunar/thunar-chooser-model.h [new file with mode: 0644]
thunar/thunar-favourites-model.c
thunar/thunar-launcher.c