[Xfce4-commits] <midori:master> Attempted fix for search form with no title
Christian Dywan
noreply at xfce.org
Fri Nov 16 20:08:04 CET 2012
Updating branch refs/heads/master
to ff609e8f73b3b05368f5c1a807c4951b3dc317b6 (commit)
from c434803e18ba976c9979af5a521627bda2f303f1 (commit)
commit ff609e8f73b3b05368f5c1a807c4951b3dc317b6
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Nov 16 20:06:51 2012 +0100
Attempted fix for search form with no title
midori/midori-searchaction.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/midori/midori-searchaction.c b/midori/midori-searchaction.c
index c5d2961..0def72b 100644
--- a/midori/midori-searchaction.c
+++ b/midori/midori-searchaction.c
@@ -1012,7 +1012,8 @@ midori_search_action_get_engine_for_form (WebKitWebView* web_view,
}
}
- title = webkit_web_view_get_title (web_view);
+ if (!(title = webkit_web_view_get_title (web_view)))
+ title = webkit_web_view_get_uri (web_view);
item = katze_item_new ();
item->uri = g_string_free (uri_str, FALSE);
More information about the Xfce4-commits
mailing list