really fix completion this time

This commit is contained in:
Daniel Micay 2012-06-05 19:28:55 -04:00
parent 2fb67a3f5a
commit 44d883e04d
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,6 @@ static gboolean entry_key_press_cb(GtkEntry *entry, GdkEventKey *event, search_p
search(VTE_TERMINAL(info->vte), text, true); search(VTE_TERMINAL(info->vte), text, true);
break; break;
case OVERLAY_COMPLETION: case OVERLAY_COMPLETION:
gtk_entry_completion_insert_prefix(gtk_entry_get_completion(entry));
vte_terminal_feed_child(VTE_TERMINAL(info->vte), text, -1); vte_terminal_feed_child(VTE_TERMINAL(info->vte), text, -1);
break; break;
case OVERLAY_HIDDEN: case OVERLAY_HIDDEN:
@ -133,6 +132,7 @@ static void overlay_show(search_panel_info *info, enum overlay_mode mode, bool c
gtk_entry_completion_set_model(completion, completion_model); gtk_entry_completion_set_model(completion, completion_model);
g_object_unref(completion_model); g_object_unref(completion_model);
gtk_entry_completion_set_inline_selection(completion, TRUE);
gtk_entry_completion_set_text_column(completion, 0); gtk_entry_completion_set_text_column(completion, 0);
} }