From: Christian Dywan Date: Fri, 15 May 2009 16:51:54 +0000 (+0200) Subject: Title the speed dial as Speed dial instead of Blank page X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c217609403e8822ce3b22a1a9c2410c5fc824420;p=midori Title the speed dial as Speed dial instead of Blank page --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 4bb25035..4a44632e 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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); }