summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-05 17:37:59 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-05 17:37:59 +0000
commit3478926e3d060e227b08381925ee9bd307fd63e3 (patch)
treed557dd8604037320dbc9da54483e689aa7ce3b95 /plugins/TabSRMM/src/generic_msghandlers.cpp
parent0233716a1aeab439b0195408a76285fd2ecbbe93 (diff)
added close other tabs menu item (thx $ergi0)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index 53e3374061..eadc6e55b4 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -200,6 +200,9 @@ LRESULT TSAPI DM_GenericHotkeysCheck(MSG *message, TWindowData *dat)
if (dat->pContainer->SideBar->isActive())
SendMessage(hwndDlg, WM_COMMAND, IDC_TOGGLESIDEBAR, 0);
return 1;
+ case TABSRMM_HK_CLOSE_OTHER:
+ CloseOtherTabs(GetDlgItem(dat->pContainer->hwnd, IDC_MSGTABS), *dat);
+ return 1;
default:
break;
}