From 49faf17ac19b0ff351f7c7812e8d1f85d7cf82fc Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 9 Apr 2010 01:09:17 +0200 Subject: Using oxygen icons, removing the other ones and adding some tooltips there :) --- src/data/CMakeLists.txt | 2 +- src/data/kget-icon.png | Bin 743 -> 0 bytes src/data/rss-icon.png | Bin 794 -> 0 bytes src/data/ssl-icon.png | Bin 780 -> 0 bytes src/urlbar/lineedit.cpp | 9 ++++++--- 5 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 src/data/kget-icon.png delete mode 100644 src/data/rss-icon.png delete mode 100644 src/data/ssl-icon.png diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt index 481f8cda..6ff3fefd 100644 --- a/src/data/CMakeLists.txt +++ b/src/data/CMakeLists.txt @@ -2,7 +2,7 @@ INSTALL( FILES bg2.png bg.png tile.gif category.png button.png busywidget.gif loading.mng - webkit-icon.png rss-icon.png kget-icon.png ssl-icon.png + webkit-icon.png DESTINATION ${DATA_INSTALL_DIR}/rekonq/pics ) diff --git a/src/data/kget-icon.png b/src/data/kget-icon.png deleted file mode 100644 index 367d2bca..00000000 Binary files a/src/data/kget-icon.png and /dev/null differ diff --git a/src/data/rss-icon.png b/src/data/rss-icon.png deleted file mode 100644 index 46fe641b..00000000 Binary files a/src/data/rss-icon.png and /dev/null differ diff --git a/src/data/ssl-icon.png b/src/data/ssl-icon.png deleted file mode 100644 index 2c71397b..00000000 Binary files a/src/data/ssl-icon.png and /dev/null differ diff --git a/src/urlbar/lineedit.cpp b/src/urlbar/lineedit.cpp index 8e689a46..059a0178 100644 --- a/src/urlbar/lineedit.cpp +++ b/src/urlbar/lineedit.cpp @@ -143,13 +143,16 @@ IconButton *LineEdit::addRightIcon(LineEdit::icon ic) switch(ic) { case LineEdit::KGet: - rightIcon->setIcon( QIcon(KStandardDirs::locate("data", "rekonq/pics/kget-icon.png")) ); + rightIcon->setIcon( KIcon("download") ); + rightIcon->setToolTip( i18n("List all links with KGet") ); break; case LineEdit::RSS: - rightIcon->setIcon( QIcon(KStandardDirs::locate("data", "rekonq/pics/rss-icon.png")) ); + rightIcon->setIcon( KIcon("application-rss+xml") ); + rightIcon->setToolTip( i18n("List all available RSS feeds") ); break; case LineEdit::SSL: - rightIcon->setIcon( QIcon(KStandardDirs::locate("data", "rekonq/pics/ssl-icon.png")) ); + rightIcon->setIcon( KIcon("object-locked") ); + rightIcon->setToolTip( i18n("Show SSL Infos") ); break; default: kDebug() << "ERROR.. default non extant case!!"; -- cgit v1.2.1