Disable 'inline' completion, it causes a huge extra matching overhead
This commit is contained in:
parent
8039785073
commit
3aff0a34d0
1 changed files with 0 additions and 2 deletions
|
@ -1018,7 +1018,6 @@ midori_location_action_completion_init (MidoriLocationAction* location_action,
|
||||||
? NULL : location_action->model);
|
? NULL : location_action->model);
|
||||||
|
|
||||||
gtk_entry_completion_set_text_column (completion, URI_COL);
|
gtk_entry_completion_set_text_column (completion, URI_COL);
|
||||||
gtk_entry_completion_set_inline_completion (completion, TRUE);
|
|
||||||
#if GTK_CHECK_VERSION (2, 12, 0)
|
#if GTK_CHECK_VERSION (2, 12, 0)
|
||||||
gtk_entry_completion_set_inline_selection (completion, TRUE);
|
gtk_entry_completion_set_inline_selection (completion, TRUE);
|
||||||
#endif
|
#endif
|
||||||
|
@ -1040,7 +1039,6 @@ midori_location_action_completion_init (MidoriLocationAction* location_action,
|
||||||
gtk_entry_completion_set_match_func (completion,
|
gtk_entry_completion_set_match_func (completion,
|
||||||
midori_location_entry_completion_match_cb, NULL, NULL);
|
midori_location_entry_completion_match_cb, NULL, NULL);
|
||||||
|
|
||||||
|
|
||||||
g_signal_connect (completion, "match-selected",
|
g_signal_connect (completion, "match-selected",
|
||||||
G_CALLBACK (midori_location_entry_match_selected_cb), location_action);
|
G_CALLBACK (midori_location_entry_match_selected_cb), location_action);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue