summaryrefslogtreecommitdiff
path: root/plugins/Popup
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-19 14:52:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-19 14:52:53 +0000
commit54dec7a74c313ee61437386bd667f9a7653351fd (patch)
tree81aaf9bf469838735392a81ed3edfc3b3bd7481f /plugins/Popup
parent03dd87df0b288fd0f0f512fb0bbff29e8c00f366 (diff)
fixes for the options page translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/main.cpp84
1 files changed, 38 insertions, 46 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index f24b89f7e5..73920652fb 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -133,52 +133,44 @@ static struct {
static int OptionsInitialize(WPARAM wParam,LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = { 0 };
-
- odp.cbSize = sizeof(odp);
- odp.hInstance = hInst;
- odp.position = 100000000;
- odp.groupPosition = 910000000;
- odp.flags = ODPF_TCHAR | ODPF_BOLDGROUPS;
- odp.ptszTitle = LPGENT(MODULNAME_PLU);
-
- odp.ptszTab = LPGENT("General");
- odp.pfnDlgProc = DlgProcPopUpGeneral;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP_GENERAL);
- Options_AddPage(wParam,&odp);
-
- odp.ptszTab = LPGENT("Classes");
- odp.pfnDlgProc = DlgProcOptsClasses;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_NOTIFICATIONS);
- Options_AddPage(wParam,&odp);
-
- odp.ptszTab = LPGENT("Actions");
- odp.pfnDlgProc = DlgProcPopupActions;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ACTIONS);
- Options_AddPage(wParam,&odp);
-
- odp.ptszTab = LPGENT("Contacts");
- odp.pfnDlgProc = DlgProcContactOpts;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CONTACTS);
- Options_AddPage(wParam,&odp);
-
- odp.ptszTab = LPGENT("Advanced");
- odp.pfnDlgProc = DlgProcPopUpAdvOpts;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP_ADVANCED);
- odp.flags |= ODPF_EXPERTONLY;
- Options_AddPage(wParam,&odp);
-
- odp.ptszGroup = LPGENT("Skins");
- odp.ptszTab = LPGENT(MODULNAME_PLU);
- odp.pfnDlgProc = DlgProcPopSkinsOpts;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKIN2);
- Options_AddPage(wParam,&odp);
-
- //Test page
- //odp.ptszTab = LPGEN("General (old)");
- //odp.pfnDlgProc = DlgProcPopUpOpts;
- //odp.pszTemplate = MAKEINTRESOURCE(IDD_OPT_POPUP);
- //Options_AddPage(wParam,&odp);
-
+ odp.cbSize = sizeof(odp);
+ odp.position = 100000000;
+ odp.groupPosition = 910000000;
+ odp.hInstance = hInst;
+ odp.flags = ODPF_BOLDGROUPS;
+ odp.pszTitle = MODULNAME_PLU;
+
+ odp.pszTab = LPGEN("General");
+ odp.pfnDlgProc = DlgProcPopUpGeneral;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP_GENERAL);
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Classes");
+ odp.pfnDlgProc = DlgProcOptsClasses;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_NOTIFICATIONS);
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Actions");
+ odp.pfnDlgProc = DlgProcPopupActions;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ACTIONS);
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Contacts");
+ odp.pfnDlgProc = DlgProcContactOpts;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CONTACTS);
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Advanced");
+ odp.pfnDlgProc = DlgProcPopUpAdvOpts;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP_ADVANCED);
+ odp.flags |= ODPF_EXPERTONLY;
+ Options_AddPage(wParam, &odp);
+
+ odp.pszGroup = LPGEN("Skins");
+ odp.pszTab = LPGEN(MODULNAME_PLU);
+ odp.pfnDlgProc = DlgProcPopSkinsOpts;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKIN2);
+ Options_AddPage(wParam, &odp);
return 0;
}