diff options
author | matgic78 <matgic78@gmail.com> | 2009-10-16 18:19:10 +0200 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2009-10-16 18:19:10 +0200 |
commit | fdcf95bcd6417a8812b74b87efa7672bfd78d2b1 (patch) | |
tree | 7e1be76bbc43ae4da47f37f12ce1f27ec45afc72 /src | |
parent | i18n fixes (diff) | |
download | rekonq-fdcf95bcd6417a8812b74b87efa7672bfd78d2b1.tar.xz |
Show homepages titles on tabs ("favorites", "history"...)
Diffstat (limited to 'src')
-rw-r--r-- | src/homepage.cpp | 6 |
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) |