Add images to the list of recent files
This commit is contained in:
parent
0cda41732f
commit
e9d0325c62
1
fastiv.c
1
fastiv.c
@ -152,6 +152,7 @@ open(const gchar *path)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gtk_recent_manager_add_item(gtk_recent_manager_get_default(), path);
|
||||||
gtk_window_set_title(GTK_WINDOW(g.window), path);
|
gtk_window_set_title(GTK_WINDOW(g.window), path);
|
||||||
gtk_stack_set_visible_child(GTK_STACK(g.stack), g.view_scroller);
|
gtk_stack_set_visible_child(GTK_STACK(g.stack), g.view_scroller);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user