Set the name for the entry boxes

This commit is contained in:
Scoopta 2019-09-01 20:04:36 -07:00
parent 5afa0de598
commit 4e145de42d

View File

@ -142,6 +142,7 @@ static GtkWidget* create_label(char* text, char* action) {
static gboolean _insert_widget(gpointer data) { static gboolean _insert_widget(gpointer data) {
struct node* node = data; struct node* node = data;
GtkWidget* box = create_label(node->text, node->action); GtkWidget* box = create_label(node->text, node->action);
gtk_widget_set_name(box, "entry");
gtk_container_add(node->container, box); gtk_container_add(node->container, box);
gtk_widget_show_all(box); gtk_widget_show_all(box);