aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-10 03:15:42 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-10 03:20:41 +0100
commite9d0325c62a59b47d9df06c7c709f0287ecf67b7 (patch)
tree0b2e4db7ca670f71abf625a4d967803145379765 /fastiv.c
parent0cda41732fb58aaf18e8743a3f832b137b32412a (diff)
downloadfiv-e9d0325c62a59b47d9df06c7c709f0287ecf67b7.tar.gz
fiv-e9d0325c62a59b47d9df06c7c709f0287ecf67b7.tar.xz
fiv-e9d0325c62a59b47d9df06c7c709f0287ecf67b7.zip
Add images to the list of recent files
Diffstat (limited to 'fastiv.c')
-rw-r--r--fastiv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fastiv.c b/fastiv.c
index a8af8dd..a485f6f 100644
--- a/fastiv.c
+++ b/fastiv.c
@@ -152,6 +152,7 @@ open(const gchar *path)
return;
}
+ gtk_recent_manager_add_item(gtk_recent_manager_get_default(), path);
gtk_window_set_title(GTK_WINDOW(g.window), path);
gtk_stack_set_visible_child(GTK_STACK(g.stack), g.view_scroller);