mirror of https://github.com/BOINC/boinc.git
MGR: Fixes to new Simple GUI for Linux
svn path=/trunk/boinc/; revision=23522
This commit is contained in:
parent
2ea990b9a1
commit
d1ae7a2fcc
|
@ -2879,3 +2879,10 @@ David 10 May 2011
|
|||
samples/vboxwrapper/
|
||||
vbox.cpp
|
||||
vm.cpp,h
|
||||
|
||||
Charlie 10 May 2011
|
||||
- MGR: Fixes to new Simple GUI for Linux.
|
||||
|
||||
clientgui/
|
||||
sg_BoincSimpleFrame.cpp
|
||||
sg_ProjectPanel.cpp
|
||||
|
|
|
@ -730,6 +730,8 @@ void CSimpleGUIPanel::OnFrameRender() {
|
|||
} else if (m_oldWorkCount == 0) {
|
||||
m_projPanel->Show();
|
||||
}
|
||||
this->Layout();
|
||||
ReskinInterface();
|
||||
}
|
||||
|
||||
if (IsShown()) {
|
||||
|
|
|
@ -204,15 +204,16 @@ void CSimpleProjectPanel::UpdateInterface() {
|
|||
m_TaskAddProjectButton->SetLabel(m_sSynchronizeString);
|
||||
m_TaskAddProjectButton->Enable();
|
||||
m_TaskAddProjectButton->Show();
|
||||
m_TaskAddProjectButton->SetToolTip(m_sAddProjectToolTip);
|
||||
m_TaskAddProjectButton->SetToolTip(m_sSynchronizeToolTip);
|
||||
} else {
|
||||
m_TaskAddProjectButton->SetLabel(m_sAddProjectString);
|
||||
if (!status.disallow_attach) {
|
||||
m_TaskAddProjectButton->Enable();
|
||||
m_TaskAddProjectButton->Show();
|
||||
m_TaskAddProjectButton->SetToolTip(m_sSynchronizeToolTip);
|
||||
m_TaskAddProjectButton->SetToolTip(m_sAddProjectToolTip);
|
||||
}
|
||||
}
|
||||
this->Layout();
|
||||
}
|
||||
} else {
|
||||
m_TaskAddProjectButton->Hide();
|
||||
|
|
Loading…
Reference in New Issue