]> spindle.queued.net Git - midori/commitdiff
Title the speed dial as Speed dial instead of Blank page
authorChristian Dywan <christian@twotoasts.de>
Fri, 15 May 2009 16:51:54 +0000 (18:51 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 15 May 2009 16:56:14 +0000 (18:56 +0200)
midori/midori-view.c

index 4bb25035bbdd6e18a18efd92d09cf413b047ab5b..4a44632e5a182f4fef8135fee585c777ce87b6d6 100644 (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);
 }