summaryrefslogtreecommitdiff
path: root/src/homepage.cpp
diff options
context:
space:
mode:
authorPanagiotis Papadopoulos <pano_90@gmx.net>2009-10-07 16:34:03 +0200
committerPanagiotis Papadopoulos <pano_90@gmx.net>2009-10-07 16:34:03 +0200
commit65267ebd28c7b0268eff39092b45cf1831c2cfad (patch)
treeef063cb0e6c3a4bb8551cb6344105c624f077069 /src/homepage.cpp
parentFixing merge operation (diff)
downloadrekonq-65267ebd28c7b0268eff39092b45cf1831c2cfad.tar.xz
Re-ordered the entries in the navigation bar a bit
Diffstat (limited to 'src/homepage.cpp')
-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;
}