From a8224cfb6df7d0a1f60c3ca603171a152179e71d Mon Sep 17 00:00:00 2001
From: Andrea Diamantini <adjam7@gmail.com>
Date: Tue, 8 May 2012 11:16:50 +0200
Subject: about:downloads grey links

---
 src/data/home.html | 4 ++++
 src/newtabpage.cpp | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/src/data/home.html b/src/data/home.html
index c46904dd..c7480810 100644
--- a/src/data/home.html
+++ b/src/data/home.html
@@ -199,6 +199,10 @@ float: left;
 margin-right: 5px;
 }
 
+.download a.greylink{
+color:grey;
+}
+
 /* -------------------------------------------------------- */
 /* Empty pages : in the end : need to overwrite */
 #content.empty {
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp
index aadaf930..87d2ca5a 100644
--- a/src/newtabpage.cpp
+++ b/src/newtabpage.cpp
@@ -511,11 +511,14 @@ void NewTabPage::downloadsPage()
         if (QFile::exists(file))
         {
             div.appendInside(markup(QL1S("a")));
+            div.lastChild().setAttribute(QL1S("class"), QL1S("greylink"));
             div.lastChild().setAttribute(QL1S("href"), QL1S("file://") + dir);
             div.lastChild().setPlainText(i18n("Open directory"));
 
             div.appendInside(QL1S(" - "));
+            
             div.appendInside(markup(QL1S("a")));
+            div.lastChild().setAttribute(QL1S("class"), QL1S("greylink"));
             div.lastChild().setAttribute(QL1S("href"), QL1S("file://") + file);
             div.lastChild().setPlainText(i18n("Open file"));
         }
-- 
cgit v1.2.1