Commit Graph

47 Commits

Author SHA1 Message Date
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
405f975899
Use a checkerboard pattern on item background 2021-11-10 21:06:43 +01:00
fc4eb97218
Improve browser item rendition, use CSS
It's not fully hardcoded anymore, and the border is better adjustable.

Item spacing and the fade constant can't be /meaningfully/ put in CSS.
2021-11-10 21:06:43 +01:00
e9d0325c62
Add images to the list of recent files 2021-11-10 03:20:41 +01:00
0cda41732f
Add C-n to open a new instance in the directory
Also, improve error messages when opening a file fails.
2021-11-10 03:20:40 +01:00
ed39a9b434
Add elementary scrolling support to the view 2021-11-09 06:57:02 +01:00
a135d6f332
Enable opening images from the browser
Also, make it possible to go back, in a roughly implemented manner.
2021-11-09 06:03:02 +01:00
527a081f54
Add glowing borders around browser items
The styling is mostly hardcoded for now, need to figure it out.
2021-11-09 02:48:40 +01:00
7d640651cb
Set a default window size 2021-11-08 08:00:48 +01:00
d2ef5c9c95
Pre-layout the browser
Now the widget is scrollable.
2021-11-06 23:56:44 +01:00
a346ff8d02
Don't needlessly call setlocale()
gtk_init_with_args() does it for us.
2021-11-04 20:19:30 +01:00
ce0500ef5c
Clean up and fix key handling
Arrow keys now work.
2021-11-01 07:20:25 +01:00
c8df325c70
Split out xdg.{c,h} 2021-11-01 05:17:26 +01:00
6eecee6b91
Incorporate most clang-format changes 2021-11-01 05:17:26 +01:00
ab283d3988
Split out fastiv-io.h, move media types list 2021-11-01 05:17:26 +01:00
befa7df481
Add file type filters to the file open dialog
FWIW, since I've had to do this in another project already.
2021-10-23 23:57:43 +02:00
de9e91e9a5
Add a prototype of a directory view widget 2021-10-20 18:56:18 +02:00
dff4e316bb
Don't try to open directories 2021-10-19 09:07:51 +02:00
e3dc2fecfa
Make a FIXME about bindings more precise 2021-10-18 14:50:31 +02:00
a6972e4c6e
Don't hardcode the background colour
It can be now overriden in the user's gtk.css.
2021-10-17 12:48:15 +02:00
f24885db54
Add a thumbnail loader
So far not used, we'll need another widget to make use of it.
2021-10-04 23:17:34 +02:00
58bbe1e2ff
Enable directory browsing
Extracting the appropriate globs from the MIME database.
2021-10-04 23:17:34 +02:00
be6f3dfe99
Invoke a file open dialog on C-o/o 2021-09-17 20:08:56 +02:00
a6982bcc3b
Make <q> and <Escape> quit, update README 2021-09-16 19:43:36 +02:00
440a9a9840
Add an icon and a desktop file 2021-09-16 18:01:01 +02:00
97781f6af4
Initial commit 2021-09-15 17:30:16 +02:00