From: Christian Dywan Date: Wed, 20 Jan 2010 20:28:44 +0000 (+0100) Subject: Let hovering completion suggestions select rows X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4110b64ae8ba39ee35f89f707c00154f52272456;p=midori Let hovering completion suggestions select rows --- diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index fd0d33c6..1c990526 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -378,8 +378,8 @@ midori_location_action_popup_timeout_cb (gpointer data) gtk_container_add (GTK_CONTAINER (popup), scrolled); treeview = gtk_tree_view_new_with_model (model); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE); + gtk_tree_view_set_hover_selection (GTK_TREE_VIEW (treeview), TRUE); gtk_container_add (GTK_CONTAINER (scrolled), treeview); - /* FIXME: Handle hovering rows */ g_signal_connect (treeview, "button-press-event", G_CALLBACK (midori_location_action_treeview_button_press_cb), action); action->treeview = treeview;