summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-01-31 15:53:29 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:22:47 +0100
commitdd2b45b7592bdefd14665c13cec2b7db6728d800 (patch)
tree10d37ba124ccfeaa066d2754f3c6ae2951afc71a
parentLast bugs : layout fixes and empty urlbar when going back to homepage (diff)
downloadrekonq-dd2b45b7592bdefd14665c13cec2b7db6728d800.tar.xz
Add tooltips to buttons
-rw-r--r--src/rekonqpage/newtabpage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rekonqpage/newtabpage.cpp b/src/rekonqpage/newtabpage.cpp
index f2609c19..8a1ca89f 100644
--- a/src/rekonqpage/newtabpage.cpp
+++ b/src/rekonqpage/newtabpage.cpp
@@ -224,8 +224,10 @@ void NewTabPage::setupPreview(QWebElement e, int index)
{
e.findFirst(".remove img").setAttribute("src", QString("file:///") +
KIconLoader::global()->iconPath("edit-delete", KIconLoader::DefaultState));
+ e.findFirst(".remove").setAttribute("title", "Remove favorite");
e.findFirst(".modify img").setAttribute("src", QString("file:///") +
KIconLoader::global()->iconPath("insert-image", KIconLoader::DefaultState));
+ e.findFirst(".modify").setAttribute("title", "Set new favorite");
e.findFirst(".modify").setAttribute("href", QString("about:preview/modify/" + QVariant(index).toString()));
e.findFirst(".remove").setAttribute("href", QString("about:preview/remove/" + QVariant(index).toString()));