From f261464c90bfd72699d86aeac57c4c08134f8e2e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 5 Apr 2008 15:33:54 +0200 Subject: [PATCH] Use an empty URI if Load on Startup is Blank page. --- src/main.c | 2 +- src/midori-browser.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 2ff07401..f0df9060 100644 --- a/src/main.c +++ b/src/main.c @@ -296,7 +296,7 @@ int main(int argc, char** argv) { KatzeXbelItem* item = katze_xbel_bookmark_new(); if(config->startup == CONFIG_STARTUP_BLANK) - katze_xbel_bookmark_set_href(item, "about:blank"); + katze_xbel_bookmark_set_href(item, ""); else katze_xbel_bookmark_set_href(item, config->homepage); katze_xbel_folder_prepend_item(_session, item); diff --git a/src/midori-browser.c b/src/midori-browser.c index 9395a531..fb084494 100644 --- a/src/midori-browser.c +++ b/src/midori-browser.c @@ -2536,7 +2536,7 @@ midori_browser_init (MidoriBrowser* browser) // Transfers priv->panel_pageholder = g_object_new (MIDORI_TYPE_WEB_VIEW, - "uri", "about:blank", + "uri", "", NULL); gtk_widget_show (priv->panel_pageholder); midori_panel_append_page (MIDORI_PANEL (priv->panel), @@ -2552,7 +2552,7 @@ midori_browser_init (MidoriBrowser* browser) // History priv->panel_pageholder = g_object_new (MIDORI_TYPE_WEB_VIEW, - "uri", "about:blank", + "uri", "", NULL); gtk_widget_show (priv->panel_pageholder); midori_panel_append_page (MIDORI_PANEL (priv->panel),