Additional fixes (2)
This commit is contained in:
parent
f0bac29ced
commit
104fdb07aa
|
@ -1192,11 +1192,16 @@ void CAppPage::UpdateWebTemplates(CBox &box)
|
||||||
// replace with: Template=Opera_Bookmarks_DirectAccess
|
// replace with: Template=Opera_Bookmarks_DirectAccess
|
||||||
//
|
//
|
||||||
|
|
||||||
|
const CString &OperaBookmarksTemplate(L"Opera_Bookmarks_DirectAccess");
|
||||||
|
const CString &OperaBookmarks1(L"%AppData%\\Opera Software\\Opera Stable\\Bookmarks");
|
||||||
|
const CString &OperaBookmarks2(L"%AppData%\\Opera Software\\Opera Stable\\Bookmarks.bak");
|
||||||
|
const CString &OperaBookmarks3(L"%AppData%\\Opera Software\\Opera Stable\\BookmarksExtras");
|
||||||
|
|
||||||
UpdateTemplates2(
|
UpdateTemplates2(
|
||||||
box, L"opera.exe", L"Opera_Bookmarks_DirectAccess",
|
box, L"opera.exe", OperaBookmarksTemplate, OperaBookmarks1, OperaBookmarks2);
|
||||||
L"%AppData%\\Opera Software\\Opera Stable\\Bookmarks",
|
|
||||||
L"%AppData%\\Opera Software\\Opera Stable\\Bookmarks.bak",
|
UpdateTemplates2(
|
||||||
L"%AppData%\\Opera Software\\Opera Stable\\BookmarksExtras");
|
box, L"opera.exe", OperaBookmarksTemplate, OperaBookmarks3, OperaBookmarks3);
|
||||||
|
|
||||||
//
|
//
|
||||||
// find and remove invalid OpenFilePath reference:
|
// find and remove invalid OpenFilePath reference:
|
||||||
|
@ -1204,7 +1209,7 @@ void CAppPage::UpdateWebTemplates(CBox &box)
|
||||||
//
|
//
|
||||||
|
|
||||||
UpdateTemplates2(
|
UpdateTemplates2(
|
||||||
box, L"bookmarks.exe", L"",
|
box, L"bookmarks.exe", L"\0",
|
||||||
L"bookmarks*");
|
L"bookmarks*");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1385,10 +1390,10 @@ void CAppPage::UpdateEmailTemplates(CBox &box)
|
||||||
// replace with: Template=Opera_Mail
|
// replace with: Template=Opera_Mail
|
||||||
//
|
//
|
||||||
|
|
||||||
CString _OperaPath1(L"%AppData%\\Opera\\Opera\\mail");
|
CString _OperaMailPath1(L"%AppData%\\Opera\\Opera\\mail");
|
||||||
|
|
||||||
UpdateTemplates2(
|
UpdateTemplates2(
|
||||||
box, L"opera.exe", L"Opera_Mail", _OperaPath1, _OperaPath1);
|
box, L"opera.exe", L"Opera_Mail", _OperaMailPath1, _OperaMailPath1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue