Let hovering completion suggestions select rows
This commit is contained in:
parent
0145cb3171
commit
4110b64ae8
1 changed files with 1 additions and 1 deletions
|
@ -378,8 +378,8 @@ midori_location_action_popup_timeout_cb (gpointer data)
|
||||||
gtk_container_add (GTK_CONTAINER (popup), scrolled);
|
gtk_container_add (GTK_CONTAINER (popup), scrolled);
|
||||||
treeview = gtk_tree_view_new_with_model (model);
|
treeview = gtk_tree_view_new_with_model (model);
|
||||||
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview), FALSE);
|
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);
|
gtk_container_add (GTK_CONTAINER (scrolled), treeview);
|
||||||
/* FIXME: Handle hovering rows */
|
|
||||||
g_signal_connect (treeview, "button-press-event",
|
g_signal_connect (treeview, "button-press-event",
|
||||||
G_CALLBACK (midori_location_action_treeview_button_press_cb), action);
|
G_CALLBACK (midori_location_action_treeview_button_press_cb), action);
|
||||||
action->treeview = treeview;
|
action->treeview = treeview;
|
||||||
|
|
Loading…
Reference in a new issue