summaryrefslogtreecommitdiff
path: root/src/homepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/homepage.cpp')
-rw-r--r--src/homepage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index 98304877..078f2391 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -74,24 +74,30 @@ QString HomePage::rekonqHomePage(const KUrl &url)
QString menu = homePageMenu(url);
QString speed;
+ QString title;
if(url == KUrl("rekonq:allTabs"))
{
speed = fillAllTabs();
+ title = i18n("Open Tabs");
}
if(url == KUrl("rekonq:history"))
{
speed = fillHistory();
+ title = i18n("History");
}
if(url == KUrl("rekonq:bookmarks"))
{
speed = fillBookmarks();
+ title = i18n("Bookmarks");
}
if(url == KUrl("rekonq:home") || url == KUrl("rekonq:favorites"))
{
speed = fillFavorites();
+ title = i18n("Favorites");
}
QString html = QString(QLatin1String(file.readAll()))
+ .arg(title)
.arg(imagesPath)
.arg(menu)
.arg(speed)