diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-07-23 21:43:29 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-24 01:22:57 +0200 |
commit | fb966c28c45b7391d3034dd56464604d88fdaffa (patch) | |
tree | 3715b39ee660276782e2e9d4385a2091a7f7573d /src | |
parent | Add icons for "history panel" and "page source" items (diff) | |
download | rekonq-fb966c28c45b7391d3034dd56464604d88fdaffa.tar.xz |
Add icons for "history panel" and "page source" items
Diffstat (limited to 'src')
-rw-r--r-- | src/historymenu.cpp | 3 | ||||
-rw-r--r-- | src/mainwindow.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/historymenu.cpp b/src/historymenu.cpp index 4f11d82c..cdf8d4d7 100644 --- a/src/historymenu.cpp +++ b/src/historymenu.cpp @@ -76,8 +76,9 @@ void HistoryMenu::postPopulated() addSeparator(); QAction *showAllAction = Application::instance()->mainWindow()->actionByName("show_history_panel"); + showAllAction->setIcon(KIcon("view-history")); addAction(showAllAction); - + KAction *clearAction = new KAction(i18n("Clear History"), this); connect(clearAction, SIGNAL(triggered()), this, SLOT(clearHistory())); addAction(clearAction); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1ac65913..471a469a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -276,6 +276,7 @@ void MainWindow::setupActions() connect(a, SIGNAL(triggered(bool)), this, SLOT(slotViewTextSmaller())); a = new KAction(i18n("Page S&ource"), this); + a->setIcon(KIcon("application-xhtml+xml")); actionCollection()->addAction(QLatin1String("page_source"), a); connect(a, SIGNAL(triggered(bool)), this, SLOT(slotViewPageSource())); @@ -298,7 +299,7 @@ void MainWindow::setupActions() m_historyForwardAction = new KAction(KIcon("go-next"), i18n("Forward"), this); connect(m_historyForwardAction, SIGNAL(triggered(bool)), this, SLOT(slotOpenNext())); actionCollection()->addAction(QLatin1String("history_forward"), m_historyForwardAction); - + // =================== Tab Actions a = new KAction(KIcon("tab-new"), i18n("New &Tab"), this); a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_T, Qt::CTRL + Qt::Key_N)); |