Title the speed dial as Speed dial instead of Blank page

This commit is contained in:
Christian Dywan 2009-05-15 18:51:54 +02:00
parent a6f2ca54e9
commit c217609403

View file

@ -2055,7 +2055,7 @@ midori_view_set_uri (MidoriView* view,
"{res}", res_root,
"{stock}", stock_root,
"{json_data}", speed_dial_body,
"{title}", _("Blank page"),
"{title}", _("Speed dial"),
"{search_uri}", location_entry_search,
"{search_title}", _("Search"),
"{search}", _("Search"),
@ -2230,11 +2230,10 @@ midori_view_get_display_title (MidoriView* view)
{
g_return_val_if_fail (MIDORI_IS_VIEW (view), "about:blank");
if (midori_view_is_blank (view))
return _("Blank page");
if (view->title && *view->title)
return view->title;
if (midori_view_is_blank (view))
return _("Blank page");
return midori_view_get_display_uri (view);
}