summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-10-28 16:18:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-10-28 16:18:50 +0300
commitcf9de21af3073e29cb7b149fbd8427241de70729 (patch)
tree2a0b17f49d14d4a51bc942f15bf3747509f0c3cf /plugins/NewXstatusNotify/src
parent3de431cc811a1fbf9cd0d520fe33b6163c73e919 (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 'plugins/NewXstatusNotify/src')
-rw-r--r--plugins/NewXstatusNotify/src/indsnd.cpp2
-rw-r--r--plugins/NewXstatusNotify/src/options.cpp22
2 files changed, 12 insertions, 12 deletions
diff --git a/plugins/NewXstatusNotify/src/indsnd.cpp b/plugins/NewXstatusNotify/src/indsnd.cpp
index 504d63ddc3..78034ff7f4 100644
--- a/plugins/NewXstatusNotify/src/indsnd.cpp
+++ b/plugins/NewXstatusNotify/src/indsnd.cpp
@@ -599,7 +599,7 @@ int UserInfoInitialise(WPARAM wParam, LPARAM lParam)
odp.position = 100000000;
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_SOUNDS);
- odp.pszTitle = LPGEN("Status Notify");
+ odp.szTitle.a = LPGEN("Status Notify");
odp.pfnDlgProc = DlgProcSoundUIPage;
UserInfo_AddPage(wParam, &odp);
}
diff --git a/plugins/NewXstatusNotify/src/options.cpp b/plugins/NewXstatusNotify/src/options.cpp
index 3d2de9a971..23e8dc1f8c 100644
--- a/plugins/NewXstatusNotify/src/options.cpp
+++ b/plugins/NewXstatusNotify/src/options.cpp
@@ -1226,42 +1226,42 @@ int OptionsInitialize(WPARAM wParam, LPARAM)
odp.position = -100000000;
odp.hInstance = hInst;
odp.flags = ODPF_BOLDGROUPS;
- odp.pszTitle = LPGEN("Status Notify");
- odp.pszGroup = LPGEN("Status");
- odp.pszTab = LPGEN("General");
+ odp.szTitle.a = LPGEN("Status Notify");
+ odp.szGroup.a = LPGEN("Status");
+ odp.szTab.a = LPGEN("General");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_GENERAL);
odp.pfnDlgProc = DlgProcGeneralOpts;
Options_AddPage(wParam, &odp);
- odp.pszTab = LPGEN("Status logging");
+ odp.szTab.a = LPGEN("Status logging");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_LOG);
odp.pfnDlgProc = DlgProcLogOpts;
Options_AddPage(wParam, &odp);
- odp.pszTab = LPGEN("Extra status logging");
+ odp.szTab.a = LPGEN("Extra status logging");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_XLOG);
odp.pfnDlgProc = DlgProcXLogOpts;
Options_AddPage(wParam, &odp);
- odp.pszTab = LPGEN("Filtering");
+ odp.szTab.a = LPGEN("Filtering");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_FILTERS);
odp.pfnDlgProc = DlgProcFiltering;
Options_AddPage(wParam, &odp);
if (ServiceExists(MS_POPUP_ADDPOPUPT)) {
- odp.pszTitle = LPGEN("Status Notify");
- odp.pszGroup = LPGEN("Popups");
- odp.pszTab = LPGEN("General");
+ odp.szTitle.a = LPGEN("Status Notify");
+ odp.szGroup.a = LPGEN("Popups");
+ odp.szTab.a = LPGEN("General");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP);
odp.pfnDlgProc = DlgProcPopupOpts;
Options_AddPage(wParam, &odp);
- odp.pszTab = LPGEN("Extra status");
+ odp.szTab.a = LPGEN("Extra status");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_XPOPUP);
odp.pfnDlgProc = DlgProcXPopupOpts;
Options_AddPage(wParam, &odp);
- odp.pszTab = LPGEN("Status message");
+ odp.szTab.a = LPGEN("Status message");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SMPOPUP);
odp.pfnDlgProc = DlgProcSMPopupOpts;
Options_AddPage(wParam, &odp);