Add #expander selector so expanded actions can be themed

This commit is contained in:
zvon 2023-07-09 00:41:44 +02:00
parent 81ea8042a7
commit 9611569db6

View File

@ -592,6 +592,7 @@ static gboolean _insert_widget(gpointer data) {
gtk_expander_set_label_widget(GTK_EXPANDER(parent), box); gtk_expander_set_label_widget(GTK_EXPANDER(parent), box);
GtkWidget* exp_box = gtk_list_box_new(); 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); 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); g_signal_connect(exp_box, "row-activated", G_CALLBACK(activate_item), NULL);
gtk_container_add(GTK_CONTAINER(parent), exp_box); gtk_container_add(GTK_CONTAINER(parent), exp_box);