[libhandy] preferences-window: Make search rows activatable



commit df30dfda3dcc85db619c4d102c8d4be17e0c76eb
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Jun 3 21:48:34 2020 +0200

    preferences-window: Make search rows activatable
    
    We made HdyActionRow non-activatable by default, but forgot to make
    HdyPreferencesWindow's search rows activatable. This makes search work
    again.
    
    Fixes https://gitlab.gnome.org/GNOME/libhandy/issues/283.

 src/hdy-preferences-window.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/hdy-preferences-window.c b/src/hdy-preferences-window.c
index 34521ddf..84e4068a 100644
--- a/src/hdy-preferences-window.c
+++ b/src/hdy-preferences-window.c
@@ -109,6 +109,7 @@ new_search_row_for_preference (HdyPreferencesRow    *row,
   g_assert (HDY_IS_PREFERENCES_ROW (row));
 
   widget = HDY_ACTION_ROW (hdy_action_row_new ());
+  gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (widget), TRUE);
   g_object_bind_property (row, "title", widget, "title", G_BINDING_SYNC_CREATE);
   g_object_bind_property (row, "use-underline", widget, "use-underline", G_BINDING_SYNC_CREATE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]