Rename #expander to #expander-box

This commit is contained in:
zvon 2023-07-09 11:02:19 +02:00
parent 9611569db6
commit c46d3ffdda

View File

@ -592,7 +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_widget_set_name(exp_box, "expander-box");
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);