summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-13 02:53:09 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-13 02:53:09 +0200
commitc3ea9c72d826d2aee7c44fc7d7014beb0324cc00 (patch)
tree7c3096eae5e2994df046bd9d3d4e6e4e660dfded /src/tabbar.cpp
parentMerge commit 'refs/merge-requests/1757' of git://gitorious.org/rekonq/mainline (diff)
downloadrekonq-c3ea9c72d826d2aee7c44fc7d7014beb0324cc00.tar.xz
Actions reorganization. Now we can configure all them :)
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 569a59c5..94f2c274 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -165,18 +165,18 @@ void TabBar::contextMenuRequested(const QPoint &position)
{
m_actualIndex = index;
- menu.addAction(KIcon("tab-duplicate"), i18n("Clone Tab"), this, SLOT(cloneTab()));
+ menu.addAction( mainWindow->actionByName("clone_tab") );
menu.addSeparator();
- menu.addAction(KIcon("tab-close"), i18n("&Close Tab"), this, SLOT(closeTab()));
- menu.addAction(KIcon("tab-close-other"), i18n("Close &Other Tabs"), this, SLOT(closeOtherTabs()));
+ menu.addAction( mainWindow->actionByName("close_tab") );
+ menu.addAction( mainWindow->actionByName("close_other_tabs") );
menu.addSeparator();
- menu.addAction(KIcon("view-refresh"), i18n("Reload Tab"), this, SLOT(reloadTab()));
+ menu.addAction( mainWindow->actionByName("reload_tab") );
}
else
{
menu.addSeparator();
}
- menu.addAction(i18n("Reload All Tabs"), this, SIGNAL(reloadAllTabs()));
+ menu.addAction( mainWindow->actionByName("reload_all_tabs") );
menu.exec(QCursor::pos());
}