• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28323 (tree)
Time2018-07-28 21:27:19
Authorstefankueng

Log Message

save the project monitor splitter positions separately from the log dialog splitter positions.

Change Summary

Incremental Difference

--- trunk/src/Changelog.txt (revision 28322)
+++ trunk/src/Changelog.txt (revision 28323)
@@ -1,6 +1,8 @@
11 Version 1.10.2
22 - BUG: Display issues in the log dialog when
33 resizing the dialog. (Stefan)
4+- CHG: splitter positions saved separately
5+ for log dialog and project monitor. (Stefan)
46
57 Version 1.10.1
68 - BUG: Wrong texts in conflict resolving
--- trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28322)
+++ trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28323)
@@ -633,9 +633,9 @@
633633
634634 void CLogDlg::RestoreLogDlgWindowAndSplitters()
635635 {
636- DWORD yPos1 = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1");
637- DWORD yPos2 = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2");
638- DWORD xPos = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3");
636+ DWORD yPos1 = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1" + m_bMonitoringMode ? L"M" : L"");
637+ DWORD yPos2 = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2" + m_bMonitoringMode ? L"M" : L"");
638+ DWORD xPos = CRegDWORD(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3" + m_bMonitoringMode ? L"M" : L"");
639639 RECT rcDlg, rcLogList, rcChgMsg, rcProjTree;
640640 GetClientRect(&rcDlg);
641641 m_LogList.GetWindowRect(&rcLogList);
@@ -1339,9 +1339,9 @@
13391339 {
13401340 if (!IsIconic())
13411341 {
1342- CRegDWORD regPos1(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1");
1343- CRegDWORD regPos2(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2");
1344- CRegDWORD regPos3(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3");
1342+ CRegDWORD regPos1(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer1" + m_bMonitoringMode ? L"M" : L"");
1343+ CRegDWORD regPos2(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer2" + m_bMonitoringMode ? L"M" : L"");
1344+ CRegDWORD regPos3(L"Software\\TortoiseSVN\\TortoiseProc\\ResizableState\\LogDlgSizer3" + m_bMonitoringMode ? L"M" : L"");
13451345 RECT rectSplitter;
13461346 m_wndSplitter1.GetWindowRect(&rectSplitter);
13471347 ScreenToClient(&rectSplitter);
Show on old repository browser