summaryrefslogtreecommitdiff
path: root/src/homepage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-16 22:59:25 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-16 22:59:25 +0200
commit65cfdcab8fb383f1e80ba99f152772c6555f5008 (patch)
treebed82f435009db4ef6d1f5045f85094086f9d39f /src/homepage.cpp
parentFixed pano issue about urlbar copy selection (diff)
parentShow homepages titles on tabs ("favorites", "history"...) (diff)
downloadrekonq-65cfdcab8fb383f1e80ba99f152772c6555f5008.tar.xz
Merge commit 'refs/merge-requests/1825' of git://gitorious.org/rekonq/mainline into MagicNoon2
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)