From: Christian Dywan Date: Tue, 24 Feb 2009 22:56:28 +0000 (+0100) Subject: Reflect completion selection directly in the entry X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edce7d348b2f44094b05d81ae91e8e64b9cae527;p=midori Reflect completion selection directly in the entry --- 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 ();