aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2013-01-11 16:15:46 +0800
committerCarlos Garcia Campos <cgarcia@igalia.com>2013-01-11 16:15:46 +0800
commitc4c0f51735760c465b4c7273681800d97f861885 (patch)
treebf1262690c9b0dcfeed5f6b5bc22e2a6aaf502a8
parent3d5f2529cb79344cce1ab87eaf3ec99bd0d31196 (diff)
downloadgsoc2013-epiphany-c4c0f51735760c465b4c7273681800d97f861885.tar
gsoc2013-epiphany-c4c0f51735760c465b4c7273681800d97f861885.tar.gz
gsoc2013-epiphany-c4c0f51735760c465b4c7273681800d97f861885.tar.bz2
gsoc2013-epiphany-c4c0f51735760c465b4c7273681800d97f861885.tar.lz
gsoc2013-epiphany-c4c0f51735760c465b4c7273681800d97f861885.tar.xz
gsoc2013-epiphany-c4c0f51735760c465b4c7273681800d97f861885.tar.zst
gsoc2013-epiphany-c4c0f51735760c465b4c7273681800d97f861885.zip
ephy-web-view: Remove special case for plugins in get_title_from_address()
The title is already set by the plugins HTML in the about handler.
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 51f3493fe..229a14bb3 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1180,8 +1180,6 @@ get_title_from_address (const char *address)
{
if (g_str_has_prefix (address, "file://"))
return g_strdup (address + 7);
- else if (!strcmp (address, EPHY_ABOUT_SCHEME":plugins"))
- return g_strdup (_("Plugins"));
else if (!strcmp (address, EPHY_ABOUT_SCHEME":overview") ||
!strcmp (address, "about:overview"))
return g_strdup (EPHY_OVERVIEW_TITLE);