]> spindle.queued.net Git - midori/commitdiff
Reflect completion selection directly in the entry
authorChristian Dywan <christian@twotoasts.de>
Tue, 24 Feb 2009 22:56:28 +0000 (23:56 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 24 Feb 2009 22:56:28 +0000 (23:56 +0100)
midori/midori-locationaction.c

index 3f6c8af9baa6f2f705005e37322687189d32a862..c4c8f818e3fbfa1e8c349b54998e7c1df2a41f63 100644 (file)
@@ -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 ();