mirror of https://github.com/BOINC/boinc.git
MGR: Fix position of progress bars when scrolled horizontally; eliminate unnecessary clearing of web site selection buttons in Projects tab
svn path=/trunk/boinc/; revision=16119
This commit is contained in:
parent
7019bb3192
commit
b9bbd5fae7
|
@ -7986,3 +7986,14 @@ David 2 Oct 2008
|
|||
Makefile.am
|
||||
samples/wrapper/
|
||||
wrapper.cpp
|
||||
|
||||
Charlie 2 Oct 2008
|
||||
- MGR: Fix position of progress bars in Projects and Tasks tabs when
|
||||
scrolled horizontally.
|
||||
- MGR: Eliminate unnecessary clearing of web site selection buttons
|
||||
in Projects tab, hoping to fix an occasional drawing problem.
|
||||
|
||||
clientgui/
|
||||
BOINCListCtrl.cpp
|
||||
ViewProjects.cpp
|
||||
|
||||
|
|
|
@ -298,6 +298,13 @@ void CBOINCListCtrl::DrawBarGraphs()
|
|||
}
|
||||
w = GetColumnWidth(progressColumn);
|
||||
|
||||
#if USE_NATIVE_LISTCONTROL
|
||||
x -= GetScrollPos(wxHORIZONTAL);
|
||||
#else
|
||||
int yy;
|
||||
GetMainWin()->CalcScrolledPosition(x, 0, &x, &yy);
|
||||
#endif
|
||||
|
||||
for (int i=0; i<n; ++i) {
|
||||
row = m_iRowsNeedingProgressBars[i];
|
||||
if (row < topItem) continue;
|
||||
|
|
|
@ -645,13 +645,8 @@ void CViewProjects::UpdateSelection() {
|
|||
enableNoNewTasks = true;
|
||||
enableReset = true;
|
||||
enableDetach = true;
|
||||
} else {
|
||||
UpdateWebsiteSelection(GRP_WEBSITES, NULL);
|
||||
if(m_TaskGroups.size() > 1) {
|
||||
m_pTaskPane->DisableTaskGroupTasks(m_TaskGroups[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
row = -1;
|
||||
for (i=0; i<n; i++) {
|
||||
// Step through all selected items
|
||||
|
|
Loading…
Reference in New Issue