]> spindle.queued.net Git - midori/commitdiff
Popdown completion when location text is changed explicitly
authorChristian Dywan <christian@twotoasts.de>
Wed, 20 Jan 2010 22:20:28 +0000 (23:20 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 20 Jan 2010 22:20:28 +0000 (23:20 +0100)
Programmatic changes are done when adding, closing or switching
the current tab, and that should popdown completion.

midori/midori-locationaction.c

index 274e513884555b4de9fa490cb888985fbc3a4e7a..f4fccee758bcb2deb300e5f0bda17751a598aee7 100644 (file)
@@ -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))))