Use an empty URI if Load on Startup is Blank page.

This commit is contained in:
Christian Dywan 2008-04-05 15:33:54 +02:00
parent 793b030d3a
commit f261464c90
2 changed files with 3 additions and 3 deletions

View file

@ -296,7 +296,7 @@ int main(int argc, char** argv)
{ {
KatzeXbelItem* item = katze_xbel_bookmark_new(); KatzeXbelItem* item = katze_xbel_bookmark_new();
if(config->startup == CONFIG_STARTUP_BLANK) if(config->startup == CONFIG_STARTUP_BLANK)
katze_xbel_bookmark_set_href(item, "about:blank"); katze_xbel_bookmark_set_href(item, "");
else else
katze_xbel_bookmark_set_href(item, config->homepage); katze_xbel_bookmark_set_href(item, config->homepage);
katze_xbel_folder_prepend_item(_session, item); katze_xbel_folder_prepend_item(_session, item);

View file

@ -2536,7 +2536,7 @@ midori_browser_init (MidoriBrowser* browser)
// Transfers // Transfers
priv->panel_pageholder = g_object_new (MIDORI_TYPE_WEB_VIEW, priv->panel_pageholder = g_object_new (MIDORI_TYPE_WEB_VIEW,
"uri", "about:blank", "uri", "",
NULL); NULL);
gtk_widget_show (priv->panel_pageholder); gtk_widget_show (priv->panel_pageholder);
midori_panel_append_page (MIDORI_PANEL (priv->panel), midori_panel_append_page (MIDORI_PANEL (priv->panel),
@ -2552,7 +2552,7 @@ midori_browser_init (MidoriBrowser* browser)
// History // History
priv->panel_pageholder = g_object_new (MIDORI_TYPE_WEB_VIEW, priv->panel_pageholder = g_object_new (MIDORI_TYPE_WEB_VIEW,
"uri", "about:blank", "uri", "",
NULL); NULL);
gtk_widget_show (priv->panel_pageholder); gtk_widget_show (priv->panel_pageholder);
midori_panel_append_page (MIDORI_PANEL (priv->panel), midori_panel_append_page (MIDORI_PANEL (priv->panel),