diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-19 08:19:40 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-07-19 08:19:40 +0000 |
commit | 1b7d011bfcf847645b989824eff11aeb6257600d (patch) | |
tree | bb77b7a2c6b35efd70bea7a760e44447adeb69c5 /plugins/NewsAggregator/Src/Options.cpp | |
parent | 3508597f08441ecd846c74f732849e831614f608 (diff) |
export/import from options page broken now
git-svn-id: http://svn.miranda-ng.org/main/trunk@5415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator/Src/Options.cpp')
-rw-r--r-- | plugins/NewsAggregator/Src/Options.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/NewsAggregator/Src/Options.cpp b/plugins/NewsAggregator/Src/Options.cpp index 8fe44be7d9..fa47ec2afb 100644 --- a/plugins/NewsAggregator/Src/Options.cpp +++ b/plugins/NewsAggregator/Src/Options.cpp @@ -31,7 +31,7 @@ INT_PTR CALLBACK DlgProcAddFeedOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA SendDlgItemMessage(hwndDlg, IDC_CHECKTIME, EM_LIMITTEXT, 3, 0);
SetDlgItemInt(hwndDlg, IDC_CHECKTIME, DEFAULT_UPDATE_TIME, TRUE);
SendDlgItemMessage(hwndDlg, IDC_TIMEOUT_VALUE_SPIN, UDM_SETRANGE32, 0, 999);
- Utils_RestoreWindowPositionNoSize(hwndDlg,NULL,MODULE,"AddDlg");
+ Utils_RestoreWindowPositionNoSize(hwndDlg, NULL, MODULE, "AddDlg");
return TRUE;
case WM_COMMAND:
@@ -529,14 +529,11 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA return FALSE;
case IDC_IMPORT:
- if ( !ImportFeedsDialog()) {
- DeleteAllItems(hwndList);
- UpdateList(hwndList);
- }
+ CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_FEEDIMPORT), hwndDlg, DlgProcImportOpts, (LPARAM)hwndList);
return FALSE;
case IDC_EXPORT:
- ExportFeedsDialog();
+ CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_FEEDEXPORT), hwndDlg, DlgProcExportOpts, (LPARAM)hwndList);
return FALSE;
case IDC_STARTUPRETRIEVE:
|