summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-20 11:23:51 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-20 11:23:51 +0200
commit5bacded29a5e33c027a39a537bf2b0f3e9c6243d (patch)
tree5d754f4cf2555c9e1ce0ab6864c3588a1843e4d6 /src/tabbar.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
parentChange the behavior of Ctrl+Maj+T to open only the last closed tab (diff)
downloadrekonq-5bacded29a5e33c027a39a537bf2b0f3e9c6243d.tar.xz
Merge commit 'refs/merge-requests/216' of git://gitorious.org/rekonq/mainline into m216
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index d403a39c..1756c20e 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -293,7 +293,7 @@ void TabBar::contextMenu(int tab, const QPoint &pos)
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("open_last_closed_tab") ));
menu.addAction(mainWindow->actionByName( QL1S("closed_tab_menu") ));
menu.addSeparator();
menu.addAction(mainWindow->actionByName( QL1S("close_tab") ));
@@ -314,7 +314,7 @@ 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("open_last_closed_tab") ));
menu.addAction(mainWindow->actionByName( QL1S("closed_tab_menu") ));
menu.addSeparator();
menu.addAction(mainWindow->actionByName( QL1S("reload_all_tabs") ));
@@ -357,8 +357,8 @@ void TabBar::setupHistoryActions()
MainWindow *w = Application::instance()->mainWindow();
MainView *mv = qobject_cast<MainView *>(parent());
- QAction *openClosedTabsAction = w->actionByName( QL1S("open_closed_tabs") );
- openClosedTabsAction->setEnabled( mv->recentlyClosedTabs().size() > 0 );
+ QAction *openLastClosedTabAction = w->actionByName( QL1S("open_last_closed_tab") );
+ openLastClosedTabAction->setEnabled( mv->recentlyClosedTabs().size() > 0 );
// update closed tabs menu
KActionMenu *am = qobject_cast<KActionMenu *>( w->actionByName( QL1S("closed_tab_menu") ));