Commit Graph

88 Commits

Author SHA1 Message Date
Přemysl Eric Janouch c55500f51a
Support dragging the view
It would also be possible to handle this through press/motion/release
event handlers, though GtkGestureDrag is more convenient for hacking in
support for dragging to widgets not supporting GtkScrollable (yet).

There may be some undesired interactions lurking, besides the jarring
movements when dragging native GdkWindows (these are a pain).
2022-07-15 14:00:31 +02:00
Přemysl Eric Janouch 84f8c9436f
Downscale embedded thumbnails within minions
Otherwise the UI would become unresponsive during loading.
2022-06-08 02:51:55 +02:00
Přemysl Eric Janouch 8dfbd0dee2
Add a command line option to extract thumbnails
Only use LibRaw for now, which probably has the most impact
using the least amount of effort.
2022-06-08 02:51:54 +02:00
Přemysl Eric Janouch 4ca8825e02
Clean up
Use gchar when memory is allocated through GLib.
2022-06-05 13:30:53 +02:00
Přemysl Eric Janouch 3ddb0cf205
Expose the mtime of the model's entries 2022-06-04 14:50:56 +02:00
Přemysl Eric Janouch b6315482b7
Fix sort changes taking way too much time
All thumbnails were reloaded five times on each change.

GTK+/GObject's behaviour doesn't make a lot of sense, but such is life.
2022-06-02 11:46:16 +02:00
Přemysl Eric Janouch 04ec292caf
Make thumbnailers pass back raw images 2022-02-20 21:14:33 +01:00
Přemysl Eric Janouch a28fbf25bc
Implement wide thumbnail cache invalidation 2022-02-20 15:44:42 +01:00
Přemysl Eric Janouch 5d019e20b5
Make the view a drop target 2022-02-17 10:57:05 +01:00
Přemysl Eric Janouch ee5f63e50b
Adjust keyboard shortcuts 2022-01-26 04:44:00 +01:00
Přemysl Eric Janouch 6e26dc13b4
Only show the info bar when appropriate
The late, global gtk_widget_show_all() made it always start visible,
in particular when the program was launched directly on an image file,
and not in browsing mode.
2022-01-25 06:15:05 +01:00
Přemysl Eric Janouch ee71fb0dd0
Start a basic user guide
Move some information out there from the README.
2022-01-25 05:54:00 +01:00
Přemysl Eric Janouch 991e74b99b
Redirect image open failure messages
Pop-up dialogs are quite annoying, as is not being able to
iterate over broken images.

This will also be useful for warnings and asynchronous loading.
2022-01-24 02:48:38 +01:00
Přemysl Eric Janouch 38670428da
Add keyboard shortcuts for thumbnail size 2022-01-23 06:44:50 +01:00
Přemysl Eric Janouch 8a656121a3
Update command line usage string 2022-01-16 01:51:04 +01:00
Přemysl Eric Janouch 13ae4810ca
Apply some bits of GNOME HIG 1.0 2022-01-13 21:38:32 +01:00
Přemysl Eric Janouch 8e8cf49343
Add a normally hidden, stubbed-out menu bar
So that the About dialog is discoverable now at all.
2022-01-13 21:08:59 +01:00
Přemysl Eric Janouch 6de5ab6298
Select the file when Return-ing from the viewer
It might make sense to also do it on M-Left or the back button.
Not sure about it so far.
2022-01-12 11:15:35 +01:00
Přemysl Eric Janouch 757bc9beaa
Fully support GNOME's inode/directory mechanism 2022-01-12 11:12:32 +01:00
Přemysl Eric Janouch f632510d2a
Put reloading the image as its own action 2022-01-12 10:58:33 +01:00
Přemysl Eric Janouch cfa90fb7de
Don't hardcode the project name in its URI 2022-01-12 10:41:33 +01:00
Přemysl Eric Janouch e663f02754
Implement selection in the browser
Keyboard controls are missing so far.
2022-01-11 11:27:35 +01:00
Přemysl Eric Janouch 1a190001fc
Make the browser implement its own scrollable
It's quite rough around the edges so far.
2022-01-10 11:53:15 +01:00
Přemysl Eric Janouch 3bf41993a3
Clean up the About animation 2022-01-10 10:25:08 +01:00
Přemysl Eric Janouch 4f19a67da3
Add an unnecessarily fancy about dialog 2022-01-09 19:11:36 +01:00
Přemysl Eric Janouch 12e3c42888
Move key bindings to a more usual shortcut
gThumb is confused.
2022-01-09 12:31:19 +01:00
Přemysl Eric Janouch 09e5a02ed6
Swap zoom in/out action buttons 2022-01-09 05:24:57 +01:00
Přemysl Eric Janouch af80303719
Update mildly confused comments 2022-01-08 12:03:52 +01:00
Přemysl Eric Janouch d65e83a21d
Fix a key binding conflict 2022-01-08 10:05:32 +01:00
Přemysl Eric Janouch 231b77e6c0
Make sort order changes update iteration order 2022-01-07 16:30:47 +01:00
Přemysl Eric Janouch 235af37382
Handle middle mouse clicks on breadcrumbs
Also, don't act on button releases happening outside the widget.
2022-01-07 05:33:33 +01:00
Přemysl Eric Janouch e70bb20934
Improve toolbar hiding 2022-01-07 03:34:32 +01:00
Přemysl Eric Janouch bb67df716c
Mildly improve Ubuntu 20.04 compatibility 2022-01-06 08:39:33 +01:00
Přemysl Eric Janouch 4cd2978e21
Add a keyboard shortcut for filtering 2022-01-06 06:59:30 +01:00
Přemysl Eric Janouch 5abf6a719f
Add UI for sort order settings 2022-01-05 10:54:36 +01:00
Přemysl Eric Janouch 6142bf9c53
Automount from location input 2022-01-05 06:40:39 +01:00
Přemysl Eric Janouch 244779bd8c
Factor out make_browser_sidebar()
It's a very mild improvement, but an improvement nonetheless.
2022-01-05 05:17:18 +01:00
Přemysl Eric Janouch 685defa684
Rename the whole project shorter
There is no point in claiming speed, it turns out to be a strange focus
to have, considering the amount of available innovations to make.

The new name does not appear to be taken by anything important.
2022-01-05 04:45:46 +01:00