From fb966c28c45b7391d3034dd56464604d88fdaffa Mon Sep 17 00:00:00 2001 From: megabigbug Date: Thu, 23 Jul 2009 21:43:29 +0200 Subject: Add icons for "history panel" and "page source" items --- src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') 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)); -- cgit v1.2.1