aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-08-29 19:16:16 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-01 02:34:02 +0800
commit2418032b1618e0a2c142fe8ec8149f851d8eaae9 (patch)
tree54f1e9d9d727a16e8b35361335a780282036e998 /src
parentb3d879a1b505f9dec034b1ec4f5568c0226bb6f4 (diff)
downloadgsoc2013-epiphany-2418032b1618e0a2c142fe8ec8149f851d8eaae9.tar
gsoc2013-epiphany-2418032b1618e0a2c142fe8ec8149f851d8eaae9.tar.gz
gsoc2013-epiphany-2418032b1618e0a2c142fe8ec8149f851d8eaae9.tar.bz2
gsoc2013-epiphany-2418032b1618e0a2c142fe8ec8149f851d8eaae9.tar.lz
gsoc2013-epiphany-2418032b1618e0a2c142fe8ec8149f851d8eaae9.tar.xz
gsoc2013-epiphany-2418032b1618e0a2c142fe8ec8149f851d8eaae9.tar.zst
gsoc2013-epiphany-2418032b1618e0a2c142fe8ec8149f851d8eaae9.zip
ephy-overview: define the overview title string here
Instead of duplicating the string everywhere.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-navigation-history-action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-navigation-history-action.c b/src/ephy-navigation-history-action.c
index 6898001ee..9ad165a9e 100644
--- a/src/ephy-navigation-history-action.c
+++ b/src/ephy-navigation-history-action.c
@@ -33,6 +33,7 @@
#include "ephy-gui.h"
#include "ephy-history-service.h"
#include "ephy-link.h"
+#include "ephy-overview.h"
#include "ephy-shell.h"
#include "ephy-type-builtins.h"
#include "ephy-window.h"
@@ -544,7 +545,7 @@ build_dropdown_menu (EphyNavigationHistoryAction *action)
/* The overview is not actually a webpage, so we need to hardcode
* this here. */
if (g_strcmp0 (uri, "ephy-about:overview") == 0)
- title = g_strdup (_("Most Visited"));
+ title = g_strdup (EPHY_OVERVIEW_TITLE);
if (title == NULL || g_strstrip (title)[0] == '\0')
item = new_history_menu_item (EPHY_WEB_VIEW (web_view), uri, uri);