- Oct 02, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-monitor.c: Fire notifications asynchronously, so events can be injected from threads other than the main thread. This also fixes problems with Gamins kqueue/inotify backends. (Old svn revision: 17960)
-
- Oct 01, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-properties-dialog.c(thunar_properties_dialog_update): Don't update the name label/window title unless the file name has changed. (Old svn revision: 17952)
-
- Sep 30, 2005
-
-
Stavros Giannouris authored
(Old svn revision: 17928)
-
- Sep 27, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-launcher.c(thunar_launcher_update): Use mnemonics for the "Open"/"Execute" action. * po/de.po: Add initial, incomplete translations. (Old svn revision: 17873)
-
Benedikt Meurer authored
* configure.in.in: Substitute platform flags properly. * thunar/Makefile.am: Don't delete thunar-thumbnail-frame.h. * thunar/thunar-standard-view.c(thunar_standard_view_selection_changed): Use ngettext() for the Cut/Copy File(s) actions. * thunar/thunar-file.{c,h}: Add new virtual method get_actions(), which is used to support custom actions for certain files (e.g. the Empty Trash Bin action for the trash file). * thunar/thunar-application.{c,h}: Add thunar_application_delete_uris() to be able to easily delete arbitrary files. * thunar/thunar-trash-file.c(thunar_trash_file_new): Use thunar_file_destroy() instead of gtk_object_destroy(). * thunar/thunar-trash-folder.c: Implement the get_actions() method with the "Empty Trash Bin" action. * thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c: Extend the extension menu merge mechanism to also load custom actions provided by ThunarFile implementations. * thunar/thunar-file.c(thunar_file_accepts_uri_drop): Fix typo. * thunar/thunar-trash-folder.c: Watch files for changes. * thunar/thunar-favourites-view.c (thunar_favourites_view_button_press_event): Add custom actions to the favourite context menu. * TODO: Drop completed item. * configure.in.in: Disable strict aliasing if debugging is enabled and the compiler supports the -fno-strict-aliasing switch. * po/*.po: Update translations. * main.c(main): Initialize file properly. * thunar/thunar-file.c(thunar_local_file_is_renameable): Don't permit users to rename root nodes. * thunar/thunar-open-with-action.c(thunar_open_with_action_menu_mapped): Use "Other Application..." instead of just "Other...". (Old svn revision: 17872)
-
- Sep 24, 2005
-
-
Daichi Kawahata authored
* Updated some translations. (Old svn revision: 17804)
-
- Sep 23, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-details-view.c(thunar_details_view_button_press_event), thunar/thunar-icon-view.c(thunar_icon_view_button_press_event): Open folders in new windows on double middle-click events. (Old svn revision: 17789)
-
- Sep 22, 2005
-
-
Benedikt Meurer authored
* configure.in.in: Fix typo. (Old svn revision: 17770)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-*.c: Documentation tweaks. * configure.in.in, docs/reference/Makefile.am, docs/reference/thunar-vfs/: Prepare Thunar-VFS reference manual. * thunar/thunar-list-model.c(thunar_list_model_get_statusbar_text): Use ngettext() for the statusbar text. * thunar/thunar-launcher.c(thunar_launcher_update): Use ngettext() for the "Open in n New Windows" menu label. * thunar/thunar-launcher.c(thunar_launcher_open_new_windows): Use ngettext() for the question whether to open n separate windows. * thunar/thunar-launcher.c(thunar_launcher_open_uris): Use ngettext() to format the error message when opening multiple URIs at once failes. * po/*.po: Update po files. * configure.in.in, examples/open-terminal-here/Makefile.am, thunar-vfs/Makefile.am, thunar/Makefile.am, thunarx/Makefile.am: Don't add debugging and visibility flags to CFLAGS, CPPFLAGS and LDFLAGS, but use PLATFORM_CFLAGS, PLATFORM_CPPFLAGS and PLATFORM_LDFLAGS instead to avoid trouble with certain conftests when checking the distribution. (Old svn revision: 17769)
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-trash.h: Fix typo. * thunar/thunar-chooser-dialog.c(thunar_chooser_dialog_response): Handle absolute paths properly for custom commands. (Old svn revision: 17764)
-
Benedikt Meurer authored
* 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)
-
- Sep 17, 2005
-
-
Benedikt Meurer authored
* thunar-vfs/thunar-vfs-mime-database.c: Include exo/exo.h. (Old svn revision: 17664)
-
- Sep 15, 2005
-
-
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)
-
Benedikt Meurer authored
* thunar/thunar-progress-dialog.c: Use GObject for the job instead of ExoObject. (Old svn revision: 17634)
-
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)
-
- Sep 14, 2005
-
-
Benedikt Meurer authored
* thunar/thunar-launcher.c(thunar_launcher_open_files): Use g_object_unref() instead of exo_object_unref(). (Old svn revision: 17608)
-
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)
-
Daichi Kawahata authored
(Old svn revision: 17604)
-
- Sep 13, 2005
-
-
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)
-
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)
-
Daichi Kawahata authored
(Old svn revision: 17589)
-
- Sep 11, 2005
-
-
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)
-
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)
-
Benedikt Meurer authored
* examples/open-terminal-here/open-terminal-here.c (open_terminal_here_activate): Remove unused debug statement. (Old svn revision: 17555)
-
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)
-
- Sep 06, 2005
-
-
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)
-
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)
-
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)
-
- Sep 05, 2005
-
-
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)
-
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)
-
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)
-
Benedikt Meurer authored
* thunar/thunar-list-model.{c,h}: Drop the unused icon columns from the ThunarListModel. (Old svn revision: 17371)
-
- Sep 04, 2005
-
-
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)
-
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)
-
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)
-