Bug 798135 - GtkEntry text with search list: shows selected entry again for no reason

Because setting the GtkEntry to inline completion gtk_entry_completion_set_inline_completion (completion, TRUE)
This commit is contained in:
Christopher Lam 2021-02-24 20:25:30 +08:00
parent 422c151a03
commit 686f842c3d
2 changed files with 0 additions and 2 deletions

View File

@ -398,7 +398,6 @@ create_children (GNCGeneralSearch *gsl,
completion = gtk_entry_completion_new();
gtk_entry_completion_set_model(completion, GTK_TREE_MODEL(list_store));
gtk_entry_completion_set_text_column(completion, 0);
gtk_entry_completion_set_inline_completion(completion, TRUE);
gtk_entry_set_completion(GTK_ENTRY(gsl->entry), completion);
g_signal_connect (G_OBJECT (completion), "match_selected",

View File

@ -178,7 +178,6 @@ gnc_cbwe_add_completion (GtkComboBox *cbwe)
model = gtk_combo_box_get_model(GTK_COMBO_BOX(cbwe));
gtk_entry_completion_set_model(completion, model);
gtk_entry_completion_set_text_column(completion, 0);
gtk_entry_completion_set_inline_completion(completion, TRUE);
gtk_entry_set_completion(entry, completion);
g_object_unref(completion);
}