summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-27 11:09:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-27 11:09:19 +0000
commitab4abbb7a60f941acab8f0566c6b619f68f1b489 (patch)
treea67f4d3bde6bb59d3c49195a8c6e9085e01124eb /plugins/WhenWasIt
parent9d65ee38c92c7a0656ddc6c4c26017b7226fc44b (diff)
- CLISTMENUITEM::pszContactOwner removed, because it's supported only by contact's menu;
- Menu_AddContactMenuItem now receives parameter szProto; - Menu_Add* helpers are converted into real functions; git-svn-id: http://svn.miranda-ng.org/main/trunk@14409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt')
-rw-r--r--plugins/WhenWasIt/src/WhenWasIt.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp
index b47593aaeb..d2c224f0c8 100644
--- a/plugins/WhenWasIt/src/WhenWasIt.cpp
+++ b/plugins/WhenWasIt/src/WhenWasIt.cpp
@@ -78,28 +78,28 @@ extern "C" int __declspec(dllexport) Load(void)
mi.pszService = MS_WWI_CHECK_BIRTHDAYS;
mi.icolibItem = hCheckMenu;
- mi.pszName = LPGEN("Check for birthdays");
+ mi.name.a = LPGEN("Check for birthdays");
Menu_AddMainMenuItem(&mi);
mi.pszService = MS_WWI_LIST_SHOW;
- mi.pszName = LPGEN("Birthday list");
+ mi.name.a = LPGEN("Birthday list");
mi.icolibItem = hListMenu;
Menu_AddMainMenuItem(&mi);
mi.pszService = MS_WWI_REFRESH_USERDETAILS;
mi.position = 10100000;
- mi.pszName = LPGEN("Refresh user details");
+ mi.name.a = LPGEN("Refresh user details");
mi.icolibItem = hRefreshUserDetails;
Menu_AddMainMenuItem(&mi);
mi.pszService = MS_WWI_IMPORT_BIRTHDAYS;
mi.position = 10200000;
- mi.pszName = LPGEN("Import birthdays");
+ mi.name.a = LPGEN("Import birthdays");
mi.icolibItem = hImportBirthdays;
Menu_AddMainMenuItem(&mi);
mi.pszService = MS_WWI_EXPORT_BIRTHDAYS;
- mi.pszName = LPGEN("Export birthdays");
+ mi.name.a = LPGEN("Export birthdays");
mi.icolibItem = hExportBirthdays;
Menu_AddMainMenuItem(&mi);
@@ -107,7 +107,7 @@ extern "C" int __declspec(dllexport) Load(void)
mi.pszService = MS_WWI_ADD_BIRTHDAY;
mi.position = 10000000;
mi.icolibItem = hAddBirthdayContact;
- mi.pszName = LPGEN("Add/change user &birthday");
+ mi.name.a = LPGEN("Add/change user &birthday");
Menu_AddContactMenuItem(&mi);
// Register hotkeys