Add images to the list of recent files

This commit is contained in:
Přemysl Eric Janouch 2021-11-10 03:15:42 +01:00
parent 0cda41732f
commit e9d0325c62
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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);