From 9611569db6664b4c6f451bbb6f368d49029bfa39 Mon Sep 17 00:00:00 2001 From: zvon Date: Sun, 9 Jul 2023 00:41:44 +0200 Subject: [PATCH] Add `#expander` selector so expanded actions can be themed --- src/wofi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wofi.c b/src/wofi.c index fd38261..29889a8 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -592,6 +592,7 @@ static gboolean _insert_widget(gpointer data) { gtk_expander_set_label_widget(GTK_EXPANDER(parent), box); GtkWidget* exp_box = gtk_list_box_new(); + gtk_widget_set_name(exp_box, "expander"); gtk_list_box_set_activate_on_single_click(GTK_LIST_BOX(exp_box), single_click); g_signal_connect(exp_box, "row-activated", G_CALLBACK(activate_item), NULL); gtk_container_add(GTK_CONTAINER(parent), exp_box);