diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-07-03 19:45:53 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-07-03 19:45:53 +0000 |
commit | aa312e59cd0065e20ffdf78cd49811ba0520c0bd (patch) | |
tree | 2a098fa7c69c2868a801d1acb8f2842c4e37dcfe /protocols/Skype/src/skype_menus.cpp | |
parent | 8ec882fcf4a57256daa439d85d29fcbf3a1d06af (diff) |
Skype:
- fixed files(contacts) sending in conference (issue #397)
- fixes in contacts blocking
- some small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5223 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_menus.cpp')
-rw-r--r-- | protocols/Skype/src/skype_menus.cpp | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/protocols/Skype/src/skype_menus.cpp b/protocols/Skype/src/skype_menus.cpp index 0a348a9013..d1ca420913 100644 --- a/protocols/Skype/src/skype_menus.cpp +++ b/protocols/Skype/src/skype_menus.cpp @@ -50,6 +50,12 @@ int CSkypeProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) clmi.icolibItem = CSkypeProto::GetSkinIconHandle("contact");
clmi.ptszName = LPGENT("Unblock this person...");
}
+ else
+ {
+ clmi.flags |= CMIM_NAME | CMIM_ICON | CMIF_TCHAR;
+ clmi.icolibItem = CSkypeProto::GetSkinIconHandle("block");
+ clmi.ptszName = LPGENT("Block this person...");
+ }
::CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)CSkypeProto::contactMenuItems[CMI_BLOCK], (LPARAM)&clmi);
}
}
@@ -167,49 +173,49 @@ void CSkypeProto::InitMenus() mi.flags &= ~CMIF_ROOTPOPUP;
mi.pszService = MODULE"/SyncHistoryDay";
- mi.ptszName = LPGENT("...by last day");
+ mi.ptszName = LPGENT("for last day");
mi.flags |= CMIF_CHILDPOPUP;
- mi.position = -200001000 + CMI_HISTORY + 1;
+ mi.position = -200001000 + CMI_HISTORY + 100;
mi.hParentMenu = CSkypeProto::contactMenuItems[CMI_HISTORY];
::Menu_AddContactMenuItem(&mi);
::CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SyncLastDayHistoryCommand>);
mi.pszService = MODULE"/SyncHistoryWeek";
- mi.ptszName = LPGENT("...by last week");
+ mi.ptszName = LPGENT("for last week");
mi.flags |= CMIF_CHILDPOPUP;
- mi.position = -200001000 + CMI_HISTORY + 2;
+ mi.position = -200001000 + CMI_HISTORY + 1001;
mi.hParentMenu = CSkypeProto::contactMenuItems[CMI_HISTORY];
::Menu_AddContactMenuItem(&mi);
::CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SyncLastWeekHistoryCommand>);
mi.pszService = MODULE"/SyncHistoryMonth";
- mi.ptszName = LPGENT("...by last month");
+ mi.ptszName = LPGENT("for last month");
mi.flags |= CMIF_CHILDPOPUP;
- mi.position = -200001000 + CMI_HISTORY + 3;
+ mi.position = -200001000 + CMI_HISTORY + 102;
mi.hParentMenu = CSkypeProto::contactMenuItems[CMI_HISTORY];
::Menu_AddContactMenuItem(&mi);
::CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SyncLastMonthHistoryCommand>);
mi.pszService = MODULE"/SyncHistory3Month";
- mi.ptszName = LPGENT("...by last 3 month");
+ mi.ptszName = LPGENT("for last 3 month");
mi.flags |= CMIF_CHILDPOPUP;
- mi.position = -200001000 + CMI_HISTORY + 4;
+ mi.position = -200001000 + CMI_HISTORY + 103;
mi.hParentMenu = CSkypeProto::contactMenuItems[CMI_HISTORY];
::Menu_AddContactMenuItem(&mi);
::CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SyncLast3MonthHistoryCommand>);
mi.pszService = MODULE"/SyncHistoryYear";
- mi.ptszName = LPGENT("...by last year");
+ mi.ptszName = LPGENT("for last year");
mi.flags |= CMIF_CHILDPOPUP;
- mi.position = -200001000 + CMI_HISTORY + 5;
+ mi.position = -200001000 + CMI_HISTORY + 104;
mi.hParentMenu = CSkypeProto::contactMenuItems[CMI_HISTORY];
::Menu_AddContactMenuItem(&mi);
::CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SyncLastYearHistoryCommand>);
mi.pszService = MODULE"/SyncHistoryAllTime";
- mi.ptszName = LPGENT("...by all time");
+ mi.ptszName = LPGENT("for all time");
mi.flags |= CMIF_CHILDPOPUP;
- mi.position = -200001000 + CMI_HISTORY + 6;
+ mi.position = -200001000 + CMI_HISTORY + 105;
mi.hParentMenu = CSkypeProto::contactMenuItems[CMI_HISTORY];
::Menu_AddContactMenuItem(&mi);
::CreateServiceFunction(mi.pszService, GlobalService<&CSkypeProto::SyncAllTimeHistoryCommand>);
|