diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-11 11:20:24 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-11 11:20:24 +0200 |
commit | a32b1a830acaaeda5caa070d046e5676fa8e9734 (patch) | |
tree | 417efb2d3e8976a72d52a0a8bd18b87a40318d8d /src/tabbar.cpp | |
parent | Add "days" word to better explain the adblock update interval (diff) | |
download | rekonq-a32b1a830acaaeda5caa070d046e5676fa8e9734.tar.xz |
(Re)-open closed tabs
tabbar actions & CTRL + SHIFT + T shortcut for the last
Johannes Zellner's patch. Thanks :)
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r-- | src/tabbar.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 27835892..1274d813 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -279,9 +279,10 @@ void TabBar::contextMenu(int tab, const QPoint &pos) menu.addAction(mainWindow->actionByName( QL1S("new_tab") )); menu.addAction(mainWindow->actionByName( QL1S("clone_tab") )); - if (count() > 1) menu.addAction(mainWindow->actionByName( QL1S("detach_tab") )); + menu.addAction(mainWindow->actionByName( QL1S("open_closed_tabs") )); + menu.addAction(mainWindow->actionByName( QL1S("closed_tab_menu") )); menu.addSeparator(); menu.addAction(mainWindow->actionByName( QL1S("close_tab") )); menu.addAction(mainWindow->actionByName( QL1S("close_other_tabs") )); @@ -299,6 +300,8 @@ void TabBar::emptyAreaContextMenu(const QPoint &pos) MainWindow *mainWindow = Application::instance()->mainWindow(); menu.addAction(mainWindow->actionByName( QL1S("new_tab") )); + menu.addAction(mainWindow->actionByName( QL1S("open_closed_tabs") )); + menu.addAction(mainWindow->actionByName( QL1S("closed_tab_menu") )); menu.addSeparator(); menu.addAction(mainWindow->actionByName( QL1S("reload_all_tabs") )); |