summaryrefslogtreecommitdiff
path: root/plugins/Svc_dbepp/moduletree.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-22 06:36:30 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-22 06:36:30 +0000
commit9ec2ba379f413bc3817a49f374c5faa1ee23c01a (patch)
tree0bbbc982236c8cb91470559e450ef0b4b8d7e44f /plugins/Svc_dbepp/moduletree.cpp
parent819bd5be79b840dd8ed9cb1ddfb2a71840234eea (diff)
Svc_dbepp:
+ability to open options from menu *fixed translating menus with per-plugin langpacks git-svn-id: http://svn.miranda-ng.org/main/trunk@125 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Svc_dbepp/moduletree.cpp')
-rw-r--r--plugins/Svc_dbepp/moduletree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Svc_dbepp/moduletree.cpp b/plugins/Svc_dbepp/moduletree.cpp
index a3828b843e..231275c5c0 100644
--- a/plugins/Svc_dbepp/moduletree.cpp
+++ b/plugins/Svc_dbepp/moduletree.cpp
@@ -953,7 +953,7 @@ void moduleListRightClick(HWND hwnd, WPARAM wParam,LPARAM lParam) // hwnd here i
HANDLE hContact = mtis->hContact;
GetCursorPos(&(hti.pt));
hMenu = LoadMenu(hInst, MAKEINTRESOURCE(IDR_CONTEXTMENU));
- CallService(MS_LANGPACK_TRANSLATEMENU,(WPARAM)hMenu,0);
+ TranslateMenu(hMenu);
if (mtis->type == CONTACT && hContact) menuNumber = 2;
else if ((mtis->type == MODULE || mtis->type == UNKNOWN_MODULE) && !hContact) menuNumber = 1;
else if (mtis->type == CONTACT && !hContact) menuNumber = 3;
@@ -962,7 +962,7 @@ void moduleListRightClick(HWND hwnd, WPARAM wParam,LPARAM lParam) // hwnd here i
else return;
hSubMenu = GetSubMenu(hMenu, menuNumber);
- CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM) hSubMenu, 0);
+ TranslateMenu(hSubMenu);
switch (menuNumber)
{
case 1: // null module