From edce7d348b2f44094b05d81ae91e8e64b9cae527 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 24 Feb 2009 23:56:28 +0100 Subject: [PATCH] Reflect completion selection directly in the entry --- midori/midori-locationaction.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 3f6c8af9..c4c8f818 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -762,6 +762,9 @@ midori_location_action_completion_init (MidoriLocationAction* location_action, gtk_entry_completion_set_model (completion, location_action->sort_model); gtk_entry_completion_set_text_column (completion, URI_COL); + #if GTK_CHECK_VERSION (2, 12, 0) + gtk_entry_completion_set_inline_selection (completion, TRUE); + #endif gtk_cell_layout_clear (GTK_CELL_LAYOUT (completion)); renderer = gtk_cell_renderer_pixbuf_new (); -- 2.39.5