forked from sergiotarxz/mangareader
ListView mangas now works with single click activate.
This commit is contained in:
parent
fa9b3d5f20
commit
b3e5558ed5
@ -98,6 +98,8 @@ create_list_view_mangas (GListStore *mangas, AdwLeaflet *views_leaflet) {
|
||||
|
||||
list_view_manga = GTK_LIST_VIEW (gtk_list_view_new (GTK_SELECTION_MODEL (selection),
|
||||
factory));
|
||||
g_object_set_property_int (G_OBJECT (list_view_manga),
|
||||
"single-click-activate", 1);
|
||||
|
||||
g_signal_connect (G_OBJECT (list_view_manga), "activate",
|
||||
G_CALLBACK (manga_selected), manga_pressed_values);
|
||||
|
Loading…
Reference in New Issue
Block a user