ListView mangas now works with single click activate.

This commit is contained in:
sergiotarxz 2021-11-01 13:43:17 +01:00
parent fa9b3d5f20
commit b3e5558ed5

View File

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