From 765d552196d75c22792c1fe073baad64ebe46945 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 29 Sep 2009 13:24:29 +0200 Subject: a lot fo changes in the history/bookmarks page (restored initial method rewamped) --- data/home.html | 6 ++--- src/homepage.cpp | 74 +++++++++++++++++++++++++++++++++++++++++--------------- src/homepage.h | 8 +++--- 3 files changed, 62 insertions(+), 26 deletions(-) diff --git a/data/home.html b/data/home.html index e1cd8905..c0d71f21 100644 --- a/data/home.html +++ b/data/home.html @@ -48,9 +48,9 @@ background: #3F7AB7; margin: 2em 0; } -#thumbs { +#content { width: 100%; -text-align: center; +text-align: left; } /* -------------------------------------------------------- */ @@ -107,7 +107,7 @@ text-decoration:none;
-%3 +
%3
diff --git a/src/homepage.cpp b/src/homepage.cpp index f79a3446..c57661c4 100644 --- a/src/homepage.cpp +++ b/src/homepage.cpp @@ -76,11 +76,11 @@ QString HomePage::rekonqHomePage(const KUrl &url) QString speed; if(url == KUrl("about:lastSites")) - speed = fillRecentHistory(); + speed = lastVisitedSites(); if(url == KUrl("about:history")) - speed = history(); + speed = fillHistory(); if(url == KUrl("about:bookmarks")) - speed = bookmarks(); + speed = fillBookmarks(); if(url == KUrl("about:home") || url == KUrl("about:preferred")) speed = speedDial(); @@ -141,7 +141,7 @@ QString HomePage::recentlyClosedTabs() } -QString HomePage::fillRecentHistory() +QString HomePage::lastVisitedSites() { QString history = "

" + i18n("Last 20 visited sites") + "

"; history += "