From c217609403e8822ce3b22a1a9c2410c5fc824420 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 15 May 2009 18:51:54 +0200 Subject: [PATCH] Title the speed dial as Speed dial instead of Blank page --- midori/midori-view.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); } -- 2.39.5