From 0442113b94e337d89f2aa0d5a56b21cf06cd0e24 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 20 Jan 2010 23:20:28 +0100 Subject: [PATCH] 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. --- midori/midori-locationaction.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 274e5138..f4fccee7 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -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 (text != NULL); + midori_location_action_popdown_completion (location_action); + katze_assign (location_action->text, g_strdup (text)); if (!(proxies = gtk_action_get_proxies (GTK_ACTION (location_action))))