mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
422c151a03
commit
686f842c3d
@ -398,7 +398,6 @@ create_children (GNCGeneralSearch *gsl,
|
|||||||
completion = gtk_entry_completion_new();
|
completion = gtk_entry_completion_new();
|
||||||
gtk_entry_completion_set_model(completion, GTK_TREE_MODEL(list_store));
|
gtk_entry_completion_set_model(completion, GTK_TREE_MODEL(list_store));
|
||||||
gtk_entry_completion_set_text_column(completion, 0);
|
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);
|
gtk_entry_set_completion(GTK_ENTRY(gsl->entry), completion);
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (completion), "match_selected",
|
g_signal_connect (G_OBJECT (completion), "match_selected",
|
||||||
|
@ -178,7 +178,6 @@ gnc_cbwe_add_completion (GtkComboBox *cbwe)
|
|||||||
model = gtk_combo_box_get_model(GTK_COMBO_BOX(cbwe));
|
model = gtk_combo_box_get_model(GTK_COMBO_BOX(cbwe));
|
||||||
gtk_entry_completion_set_model(completion, model);
|
gtk_entry_completion_set_model(completion, model);
|
||||||
gtk_entry_completion_set_text_column(completion, 0);
|
gtk_entry_completion_set_text_column(completion, 0);
|
||||||
gtk_entry_completion_set_inline_completion(completion, TRUE);
|
|
||||||
gtk_entry_set_completion(entry, completion);
|
gtk_entry_set_completion(entry, completion);
|
||||||
g_object_unref(completion);
|
g_object_unref(completion);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user