MidoriLocationAction* location_action = MIDORI_LOCATION_ACTION (action);
if (text && *text)
{
- midori_location_action_set_uri (location_action, text);
+ midori_location_action_set_uri (location_action, browser->statusbar_text);
midori_location_action_set_icon (location_action, NULL);
midori_location_action_set_secondary_icon (location_action, NULL);
}
midori_location_action_set_uri (MidoriLocationAction* location_action,
const gchar* uri)
{
- gchar* escaped_uri;
-
g_return_if_fail (MIDORI_IS_LOCATION_ACTION (location_action));
g_return_if_fail (uri != NULL);
- escaped_uri = g_uri_unescape_string (uri, "");
- midori_location_action_set_text (location_action, escaped_uri);
- g_free (escaped_uri);
+ midori_location_action_set_text (location_action, uri);
}
/**