summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/application.cpp b/src/application.cpp
index fbe5ef43..69acf2f2 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -245,12 +245,18 @@ KIcon Application::icon(const KUrl &url)
{
if(!Application::instance()->mainWindowList().isEmpty()) // avoid infinite loop at startup
{
- if(url.scheme() == "rekonq")
- return KIcon("go-home");
-
// means it is the urlbar
if(url.isEmpty() && Application::instance()->mainWindow()->currentTab()->url().scheme() == "rekonq")
return KIcon("arrow-right");
+
+ if(url == KUrl("rekonq:allTabs"))
+ return KIcon("tab-duplicate");
+ if(url == KUrl("rekonq:history"))
+ return KIcon("view-history");
+ if(url == KUrl("rekonq:bookmarks"))
+ return KIcon("bookmarks");
+ if(url == KUrl("rekonq:home") || url == KUrl("rekonq:favorites"))
+ return KIcon("emblem-favorite");
}
if(url.isEmpty())