diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-16 22:59:25 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-16 22:59:25 +0200 | 
| commit | 65cfdcab8fb383f1e80ba99f152772c6555f5008 (patch) | |
| tree | bed82f435009db4ef6d1f5045f85094086f9d39f /src | |
| parent | Fixed pano issue about urlbar copy selection (diff) | |
| parent | Show homepages titles on tabs ("favorites", "history"...) (diff) | |
| download | rekonq-65cfdcab8fb383f1e80ba99f152772c6555f5008.tar.xz | |
Merge commit 'refs/merge-requests/1825' of git://gitorious.org/rekonq/mainline into MagicNoon2
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)  | 
