Popdown completion when location text is changed explicitly
Programmatic changes are done when adding, closing or switching the current tab, and that should popdown completion.
This commit is contained in:
parent
8aba77a0e9
commit
0442113b94
1 changed files with 2 additions and 0 deletions
|
@ -1582,6 +1582,8 @@ midori_location_action_set_text (MidoriLocationAction* location_action,
|
||||||
g_return_if_fail (MIDORI_IS_LOCATION_ACTION (location_action));
|
g_return_if_fail (MIDORI_IS_LOCATION_ACTION (location_action));
|
||||||
g_return_if_fail (text != NULL);
|
g_return_if_fail (text != NULL);
|
||||||
|
|
||||||
|
midori_location_action_popdown_completion (location_action);
|
||||||
|
|
||||||
katze_assign (location_action->text, g_strdup (text));
|
katze_assign (location_action->text, g_strdup (text));
|
||||||
|
|
||||||
if (!(proxies = gtk_action_get_proxies (GTK_ACTION (location_action))))
|
if (!(proxies = gtk_action_get_proxies (GTK_ACTION (location_action))))
|
||||||
|
|
Loading…
Reference in a new issue