Use an empty URI if Load on Startup is Blank page.
This commit is contained in:
parent
793b030d3a
commit
f261464c90
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue