diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-13 00:31:05 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-13 00:31:05 +0100 |
commit | 76f0719394a0e0d74338375b24061feb1ad1386f (patch) | |
tree | 90987efe0bdea054ffbf130b99b99d5bf86cf7ad /src/rekonqpage/newtabpage.cpp | |
parent | rekonq 0.3.90 (0.4 beta) (diff) | |
parent | workaround too big bottom border (diff) | |
download | rekonq-76f0719394a0e0d74338375b24061feb1ad1386f.tar.xz |
Merge commit 'refs/merge-requests/87' of git://gitorious.org/rekonq/mainline into mr87
Diffstat (limited to 'src/rekonqpage/newtabpage.cpp')
-rw-r--r-- | src/rekonqpage/newtabpage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rekonqpage/newtabpage.cpp b/src/rekonqpage/newtabpage.cpp index 3fd9fcc6..ca8ed35e 100644 --- a/src/rekonqpage/newtabpage.cpp +++ b/src/rekonqpage/newtabpage.cpp @@ -171,7 +171,7 @@ QWebElement NewTabPage::emptyPreview(int index) prev.findFirst(".preview img").setAttribute("src" , QString("file:///") + KIconLoader::global()->iconPath("insert-image", KIconLoader::Desktop)); - prev.findFirst("span").appendInside(i18n("Set a Preview...")); + prev.findFirst("span a").setPlainText(i18n("Set a Preview...")); prev.findFirst("a").setAttribute("href", QString("about:preview/modify/" + QVariant(index).toString())); setupPreview(prev, index); @@ -187,7 +187,7 @@ QWebElement NewTabPage::loadingPreview(int index, KUrl url) prev.findFirst(".preview img").setAttribute("src" , QString("file:///") + KStandardDirs::locate("appdata", "pics/busywidget.gif")); - prev.findFirst("span").appendInside(i18n("Loading Preview...")); + prev.findFirst("span a").setPlainText(i18n("Loading Preview...")); prev.findFirst("a").setAttribute("href", url.toMimeDataString()); setupPreview(prev, index); @@ -208,7 +208,7 @@ QWebElement NewTabPage::validPreview(int index, KUrl url, QString title) prev.findFirst(".preview img").setAttribute("src" , previewPath.toMimeDataString()); prev.findFirst("a").setAttribute("href", url.toMimeDataString()); prev.findFirst("span a").setAttribute("href", url.toMimeDataString()); - prev.findFirst("span").setPlainText(checkTitle(title)); + prev.findFirst("span a").setPlainText(checkTitle(title)); setupPreview(prev, index); showControls(prev); |