[epiphany] ephy-web-view: Remove special case for plugins in get_title_from_address()



commit c4c0f51735760c465b4c7273681800d97f861885
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Fri Jan 11 09:15:46 2013 +0100

    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.

 embed/ephy-web-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 51f3493..229a14b 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]