summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/homepage.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index 98060bed..385df183 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -180,6 +180,13 @@ QString HomePage::homePageMenu(KUrl currentUrl)
KIconLoader *loader = KIconLoader::global();
menu += "<div class=\"link";
+ if(currentUrl == "rekonq:favorites" || currentUrl == "rekonq:home")
+ menu += " current";
+ menu += "\"><a href=\"rekonq:favorites\">";
+ menu += "<img src=\"file:///" + loader->iconPath("rating", KIconLoader::Desktop) + "\" />";
+ menu += "Favorites</a></div>";
+
+ menu += "<div class=\"link";
if(currentUrl == "rekonq:lastSites")
menu += " current";
menu += "\"><a href=\"rekonq:lastSites\">";
@@ -187,13 +194,6 @@ QString HomePage::homePageMenu(KUrl currentUrl)
menu += "Last Visited</a></div>";
menu += "<div class=\"link";
- if(currentUrl == "rekonq:history")
- menu += " current";
- menu += "\"><a href=\"rekonq:history\">";
- menu += "<img src=\"file:///" + loader->iconPath("view-history", KIconLoader::Desktop) + "\" />";
- menu += "History</a></div>";
-
- menu += "<div class=\"link";
if(currentUrl == "rekonq:bookmarks")
menu += " current";
menu += "\"><a href=\"rekonq:bookmarks\">";
@@ -201,11 +201,11 @@ QString HomePage::homePageMenu(KUrl currentUrl)
menu += "Bookmarks</a></div>";
menu += "<div class=\"link";
- if(currentUrl == "rekonq:favorites" || currentUrl == "rekonq:home")
+ if(currentUrl == "rekonq:history")
menu += " current";
- menu += "\"><a href=\"rekonq:favorites\">";
- menu += "<img src=\"file:///" + loader->iconPath("rating", KIconLoader::Desktop) + "\" />";
- menu += "Favorites</a></div>";
+ menu += "\"><a href=\"rekonq:history\">";
+ menu += "<img src=\"file:///" + loader->iconPath("view-history", KIconLoader::Desktop) + "\" />";
+ menu += "History</a></div>";
return menu;
}