Quick fix: Open URIs again.

This commit is contained in:
Christian Dywan 2008-03-30 17:07:56 +02:00
parent ccba177ecb
commit a482dc36a8

View file

@ -669,13 +669,15 @@ midori_web_view_set_property (GObject* object,
priv->icon); priv->icon);
break; break;
case PROP_URI: case PROP_URI:
if (priv->uri && *priv->uri) {
const gchar* uri = g_value_get_string (value);
if (uri && *uri)
{ {
// FIXME: Autocomplete the uri // FIXME: Autocomplete the uri
webkit_web_view_open (WEBKIT_WEB_VIEW (web_view), webkit_web_view_open (WEBKIT_WEB_VIEW (web_view), uri);
g_value_get_string (value));
} }
break; break;
}
case PROP_TITLE: case PROP_TITLE:
katze_assign (priv->title, g_value_dup_string (value)); katze_assign (priv->title, g_value_dup_string (value));
const gchar* title = midori_web_view_get_display_title (web_view); const gchar* title = midori_web_view_get_display_title (web_view);