Work-around libSoup not setting a proper directory title
Fixes: https://bugs.launchpad.net/midori/+bug/872123
This commit is contained in:
parent
2bb7fe3c2d
commit
30f4225cd9
1 changed files with 3 additions and 0 deletions
|
@ -626,6 +626,9 @@ midori_view_set_title (MidoriView* view, const gchar* title)
|
|||
|
||||
if (!title)
|
||||
title = view->uri;
|
||||
/* Work-around libSoup not setting a proper directory title */
|
||||
else if (!strcmp (title, "OMG!") && g_str_has_prefix (view->uri, "file://"))
|
||||
title = view->uri;
|
||||
|
||||
katze_assign (view->title, g_strdup (title));
|
||||
|
||||
|
|
Loading…
Reference in a new issue