aboutsummaryrefslogtreecommitdiff
path: root/fiv-sidebar.c
Commit message (Collapse)AuthorAgeFilesLines
* Update sidebar entries on change automaticallyPřemysl Eric Janouch2023-06-021-21/+38
| | | | This makes it more consistent.
* Process some GFileMonitor eventsPřemysl Eric Janouch2023-05-311-2/+2
| | | | So far, it's rather crude.
* Deduplicate file information structuresPřemysl Eric Janouch2023-04-141-2/+2
|
* Move and extend the browser toolbarPřemysl Eric Janouch2023-04-111-19/+1
| | | | | | This makes the user interface more cohesive, and easier to use. Both toolbars should ideally be made configurable.
* Support opening collections of filesPřemysl Eric Janouch2022-08-081-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use gdk_event_triggers_context_menu()Přemysl Eric Janouch2022-08-031-4/+3
|
* Fix touch screen scrolling on sidebar breadcrumbsPřemysl Eric Janouch2022-07-221-5/+56
| | | | | The drag gesture needs to be disabled there, because touch drags fail in an unfortunate way.
* Discard the inner sidebar's size requestPřemysl Eric Janouch2022-07-141-1/+6
| | | | | It used to create a hole when there weren't enough bookmarks to fill that space.
* Add a context menu to breadcrumbsPřemysl Eric Janouch2022-07-041-2/+34
|
* Clean upPřemysl Eric Janouch2022-06-051-2/+2
| | | | Use gchar when memory is allocated through GLib.
* Expose the mtime of the model's entriesPřemysl Eric Janouch2022-06-041-4/+5
|
* Plug two memory leaksPřemysl Eric Janouch2022-06-041-0/+1
|
* Simplify sidebar DnDPřemysl Eric Janouch2022-02-191-4/+1
|
* Apply some bits of GNOME HIG 1.0Přemysl Eric Janouch2022-01-131-2/+2
|
* Show sidebar DnD targets when dragging breadcrumbsPřemysl Eric Janouch2022-01-071-0/+18
|
* Work around an annoying GTK+ issuePřemysl Eric Janouch2022-01-071-1/+14
|
* Turn breadcrumbs into DnD sourcesPřemysl Eric Janouch2022-01-071-0/+23
| | | | Now it makes sense to keep that GtkSidebar placeholder item around.
* Handle middle mouse clicks on breadcrumbsPřemysl Eric Janouch2022-01-071-6/+36
| | | | Also, don't act on button releases happening outside the widget.
* Add some padding to the location dialogPřemysl Eric Janouch2022-01-071-0/+2
| | | | It looked awful with Ubuntu's theme.
* Mildly improve Ubuntu 20.04 compatibilityPřemysl Eric Janouch2022-01-061-2/+13
|
* Show available protocols in open location dialogPřemysl Eric Janouch2022-01-051-4/+16
|
* Factor out make_browser_sidebar()Přemysl Eric Janouch2022-01-051-1/+8
| | | | It's a very mild improvement, but an improvement nonetheless.
* Use a unified filesystem modelPřemysl Eric Janouch2022-01-051-55/+37
| | | | | | This removes some duplication of effort. So far, sorting adjustments are not exposed in the UI.
* Minor URL-related fix-upsPřemysl Eric Janouch2021-12-311-0/+1
|
* Convert all loading to use GFilePřemysl Eric Janouch2021-12-301-9/+14
| | | | Now we're able to make use of GVfs, with some caveats.
* Adopt shorter identifiersPřemysl Eric Janouch2021-12-181-0/+433
Also, slightly reformat the source code according to clang-format.