From 0f78b557b534dee60e2825f3b0f55349edfd6f78 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Wed, 13 Nov 2019 01:42:27 -0800 Subject: [PATCH] Alternative actions now require a double click --- src/wofi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wofi.c b/src/wofi.c index 22d2226..944a9a1 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -224,6 +224,7 @@ static gboolean _insert_widget(gpointer data) { GtkWidget* box = create_label(node->mode, node->text[0], node->search_text, node->actions[0]); gtk_expander_set_label_widget(GTK_EXPANDER(parent), box); GtkWidget* exp_box = gtk_list_box_new(); + gtk_list_box_set_activate_on_single_click(GTK_LIST_BOX(exp_box), FALSE); g_signal_connect(exp_box, "row-activated", G_CALLBACK(activate_item), NULL); gtk_container_add(GTK_CONTAINER(parent), exp_box); for(size_t count = 1; count < node->action_count; ++count) {