fiv/resources
Přemysl Eric Janouch 701846ab39
Support opening collections of files
Implement a process-local VFS to enable grouping together arbitrary
URIs passed via program arguments, DnD, or the file open dialog.

This VFS contains FivCollectionFile objects, which act as "simple"
proxies over arbitrary GFiles.  Their true URIs may be retrieved
through the "standard::target-uri" attribute, in a similar way to
GVfs's "recent" and "trash" backends.

(The main reason we proxy rather than just hackishly return foreign
GFiles from the VFS is that loading them would switch the current
directory, and break iteration as a result.

We could also keep the collection outside of GVfs, but that would
result in considerable special-casing, and the author wouldn't gain
intimate knowledge of GIO.)

There is no perceived need to keep old collections when opening
new ones, so we simply change and reload the contents when needed.

Similarly, there is no intention to make the VFS writeable.

The process-locality of this and other URI schemes has proven to be
rather annoying when passing files to other applications,
however most of the resulting complexity appears to be essential
rather than accidental.

Note that the GTK+ file chooser widget is retarded, and doesn't
recognize URIs that lack the authority part in the location bar.
2022-08-08 18:06:50 +02:00
..
blend-tool-symbolic.svg Add a simple toolbar to the view 2021-12-17 07:01:37 +01:00
checkerboard-symbolic.svg Add a checkerboard toggle 2021-12-20 11:53:17 +01:00
circle-filled-symbolic.svg Add some custom action buttons to the sidebar 2021-11-20 22:02:02 +01:00
funnel-symbolic.svg Add some custom action buttons to the sidebar 2021-11-20 22:02:02 +01:00
heal-symbolic.svg Integrate jpeg-quantsmooth 2021-12-22 14:20:39 +01:00
info-symbolic.svg Mildly improve Ubuntu 20.04 compatibility 2022-01-06 08:39:33 +01:00
LICENSE Add some custom action buttons to the sidebar 2021-11-20 22:02:02 +01:00
pin2-symbolic.svg Add ability to keep zoom/position when browsing 2022-07-17 13:04:29 +02:00
resources.gresource.xml Support opening collections of files 2022-08-08 18:06:50 +02:00
shapes-symbolic.svg Support opening collections of files 2022-08-08 18:06:50 +02:00