'Use current' should set 'about:blank' for a blank page
This commit is contained in:
parent
d1694c6d5f
commit
01f568b8ab
1 changed files with 4 additions and 1 deletions
|
@ -176,7 +176,10 @@ midori_preferences_homepage_current_clicked_cb (GtkWidget* button,
|
|||
if (GTK_IS_WINDOW (browser))
|
||||
{
|
||||
gchar* uri = katze_object_get_string (browser, "uri");
|
||||
if (uri && *uri)
|
||||
g_object_set (settings, "homepage", uri, NULL);
|
||||
else
|
||||
g_object_set (settings, "homepage", "about:blank", NULL);
|
||||
g_free (uri);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue