[Xfce4-commits] <midori:master> Don't ignore unset title but fallback to the URI

Christian Dywan noreply at xfce.org
Fri Apr 29 03:54:01 CEST 2011


Updating branch refs/heads/master
         to 4b272c0459edbc9f9bf204d0f5f44c77cb8e9981 (commit)
       from 82e6fa380872b0633ee8c0e663c4a8f111451267 (commit)

commit 4b272c0459edbc9f9bf204d0f5f44c77cb8e9981
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Apr 29 02:58:45 2011 +0200

    Don't ignore unset title but fallback to the URI

 midori/midori-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 087d493..3ccfce0 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -626,7 +626,7 @@ midori_view_set_title (MidoriView* view, const gchar* title)
     const gchar* display_title;
 
     if (!title)
-        return;
+        title = view->uri;
 
     katze_assign (view->title, g_strdup (title));
 



More information about the Xfce4-commits mailing list