Commit Graph

75 Commits

Author SHA1 Message Date
56d623fe52 Make C-r also reload the current directory 2021-12-19 12:21:14 +01:00
2c46ca262b Add directory history
Not fully polished yet (see FIXME), but it's a start.
2021-12-19 10:59:11 +01:00
39cd52905b Control TOOLBAR_FILE_{PREVIOUS,NEXT} sensitivity 2021-12-19 10:14:08 +01:00
9feb53a792 Use the same iteration order in view/browser 2021-12-19 09:12:06 +01:00
4427da5343 Store the full path of the loaded image
Fixes a minor inconsistency with the window title.
2021-12-19 09:12:06 +01:00
92c6ca6c35 Give the zoom label a minimum width
This also hides a GTK+ bug.
2021-12-19 07:32:21 +01:00
ae57c45c2a Insensivitize inappropriate toolbar actions 2021-12-19 07:04:34 +01:00
6e903f6f5c Add a playback toggle button 2021-12-19 05:37:11 +01:00
e23ed245db Add toolbar toggle buttons for scale-to-fit/filter 2021-12-19 04:43:47 +01:00
b78010ccb1 Adopt shorter identifiers
Also, slightly reformat the source code according to clang-format.
2021-12-18 07:04:01 +01:00
1c2a441cb5 Add a simple toolbar to the view
There is still considerable work to be done.
2021-12-17 07:01:37 +01:00
0b6b3d8290 Improve light theme compatibility
@content_view_bg has been there since ever.

Many colours remain hardcoded, but it's a major improvement.
2021-12-16 04:39:38 +01:00
1db233648f Add more key bindings 2021-11-29 22:45:36 +01:00
085f2d7eef Use GFile a bit more 2021-11-27 02:34:24 +01:00
b97ac26cfb Allow opening in a new window from the sidebar 2021-11-26 23:02:00 +01:00
1c40fa8adb Add an "Open With" context menu to browser items 2021-11-23 20:50:01 +01:00
fee901a590 Improve memory management 2021-11-23 17:13:21 +01:00
047e49051b Register for opening directories 2021-11-22 20:37:16 +01:00
8fed3f5a36 Add a better key binding for switching 2021-11-22 16:46:04 +01:00
0bec06b55d Fix further focus issues 2021-11-22 13:01:43 +01:00
97109b1e58 Fix browsing right after opening a file directly 2021-11-22 12:42:26 +01:00
a719147bf3 Another focus-related fix 2021-11-22 12:07:03 +01:00
cd72ea902f Fix two issues with browser scrolling 2021-11-22 01:44:57 +01:00
a8796512d2 Improve the window title situation 2021-11-21 21:53:07 +01:00
8b1a14decb Bind double click to full screen toggle 2021-11-21 21:22:14 +01:00
5fea2245f1 Remove insanity 2021-11-21 20:47:07 +01:00
2b17ed838a Add ability to use different thumbnail sizes 2021-11-21 20:19:25 +01:00
c77bccccb8 Implement filtering by supported extensions 2021-11-21 11:01:30 +01:00
8376ae9c4a Add some custom action buttons to the sidebar
So far they're inactive, and do not do anything.

Change the icon for the current directory to stand out.
2021-11-20 22:02:02 +01:00
803f841463 Fix key handling and Meson 2021-11-20 14:28:32 +01:00
2b8350eceb Fix some issues with browser/view switching 2021-11-20 13:04:26 +01:00
75994cd85a Make a middle click open items in a new instance 2021-11-20 12:45:33 +01:00
3e9a388537 Load symbolic icons as a fallback
Now there are no missing items in the browsers.
2021-11-20 12:35:28 +01:00
216767d7ee Add a customized sidebar widget
Slowly eliminating all potential uses of GTK+'s standalone
file open dialog, which is highly duplicitous.
2021-11-19 20:03:43 +01:00
3bc07e00d9 Enable opening from sidebar in a new window 2021-11-18 22:08:45 +01:00
9e45ba249e Bind fullscreen switching
Also, move Tab/Enter bindings to the view's key press handler.
2021-11-18 22:08:45 +01:00
b23198f675 Try to use more screen real estate by default 2021-11-18 22:08:36 +01:00
411f0b3e91 Bind F5 and r to refreshing the directory 2021-11-18 13:58:46 +01:00
06af1a3cc9 Add a command line option to list supported types
Make it work without a display connection.
2021-11-18 12:46:05 +01:00
47293cfc10 Make the forward mouse button go back to the view
For symmetry.
2021-11-18 12:46:04 +01:00
d7a25ad894 Make the Open dialog useful
In the meantime.
2021-11-18 11:21:21 +01:00
0433c1a027 Add a sidebar with places
It happens to fix an issue with scroll offset resets in the browser.

Otherwise, it's very much WIP.
2021-11-18 10:37:47 +01:00
61225574d3 Actually fix adding to the list of recent files 2021-11-18 10:37:47 +01:00
6eec8e7360 Fix adding images to the list of recent files 2021-11-16 14:57:02 +01:00
c4d58cb9ad Prefer the dark theme variant 2021-11-16 14:57:02 +01:00
9bebb0a3fe Make this work at all in macOS/Homebrew 2021-11-16 08:51:29 +01:00
b8cc43eb91 Bind the mouse back button on the view 2021-11-13 10:05:05 +01:00
73dd5bf1a0 Improve key handling
Iteration should be limited to the view.

g_signal_connect_after() did not work as I hoped it would.
2021-11-13 09:41:37 +01:00
afc08df234 Fix GtkWidget::key-press-event callback prototype 2021-11-12 11:45:34 +01:00
192698b7bd Add support for defaulting to gdk-pixbuf 2021-11-10 21:34:15 +01:00