diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-12-13 18:04:49 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-12-13 18:04:49 +0100 |
commit | bb4381cb242827eb59ce4a502b9d76ea1218f713 (patch) | |
tree | a5b5edaa48ab3d22df2c9c16b6cb49b78b7eed4c /src | |
parent | Some changes by me: Find action after open link items (diff) | |
download | rekonq-bb4381cb242827eb59ce4a502b9d76ea1218f713.tar.xz |
Change text of page source action && add a CTRL + U shortcut.
Courtesy patch by Felix Rohrbach. Thanks :)
CCMAIL: fxrh@gmx.de
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c9863f07..447885d0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -406,8 +406,9 @@ void MainWindow::setupActions() m_zoomBar->setupActions(this); // =============================== Tools Actions ================================= - a = new KAction(i18n("Page S&ource"), this); + a = new KAction(i18n("View Page S&ource"), this); a->setIcon(KIcon("application-xhtml+xml")); + a->setShortcut(KShortcut(Qt::CTRL + Qt::Key_U)); actionCollection()->addAction(QL1S("page_source"), a); connect(a, SIGNAL(triggered(bool)), this, SLOT(viewPageSource())); |