diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
commit | cf9de21af3073e29cb7b149fbd8427241de70729 (patch) | |
tree | 2a0b17f49d14d4a51bc942f15bf3747509f0c3cf /protocols/GTalkExt | |
parent | 3de431cc811a1fbf9cd0d520fe33b6163c73e919 (diff) |
- old useless helpers removed from the Options module;
- mir_app functions introduced instead of them;
- OPENOPTIONSDIALOG structure removed from m_options.h
Diffstat (limited to 'protocols/GTalkExt')
-rw-r--r-- | protocols/GTalkExt/src/options.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/GTalkExt/src/options.cpp b/protocols/GTalkExt/src/options.cpp index 378f83404c..5e2a8858f0 100644 --- a/protocols/GTalkExt/src/options.cpp +++ b/protocols/GTalkExt/src/options.cpp @@ -223,11 +223,11 @@ int OptionsInitialization(WPARAM wParam, LPARAM) {
if (ServiceExists(MS_POPUP_ADDPOPUPT)) {
OPTIONSDIALOGPAGE odp = { 0 };
- odp.pwszTitle = MAIL_NOTIFICATIONS;
+ odp.szTitle.w = MAIL_NOTIFICATIONS;
odp.pfnDlgProc = PopupsOptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPSETTINGS);
odp.hInstance = g_hInst;
- odp.pwszGroup = POPUPS_OPTIONS_GROUP;
+ odp.szGroup.w = POPUPS_OPTIONS_GROUP;
odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB;
Options_AddPage(wParam, &odp);
}
@@ -237,13 +237,13 @@ int OptionsInitialization(WPARAM wParam, LPARAM) PROTOACCOUNT *pa = Proto_GetAccount(szProto);
if (pa != NULL) {
OPTIONSDIALOGPAGE odp = { 0 };
- odp.pwszTitle = pa->tszAccountName;
+ odp.szTitle.w = pa->tszAccountName;
odp.pfnDlgProc = AccOptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_MAILSETTINGS);
odp.hInstance = g_hInst;
- odp.pwszGroup = NETWORK_OPTIONS_GROUP;
+ odp.szGroup.w = NETWORK_OPTIONS_GROUP;
odp.flags = ODPF_UNICODE | ODPF_USERINFOTAB | ODPF_DONTTRANSLATE;
- odp.pwszTab = MAIL_NOTIFICATIONS;
+ odp.szTab.w = MAIL_NOTIFICATIONS;
odp.dwInitParam = (LPARAM)szProto;
Options_AddPage(wParam, &odp);
}
|