mirror of https://github.com/BOINC/boinc.git
- manager: in tooltips for Project/Task buttons,
don't prepend "button name: "; add a tooltip for Home Page button. svn path=/trunk/boinc/; revision=25163
This commit is contained in:
parent
b0e3fadef1
commit
6441ddf4d0
|
@ -1096,3 +1096,12 @@ David 27 Jan 2012
|
|||
ViewResources.cpp
|
||||
html/inc/
|
||||
prefs.inc
|
||||
|
||||
David 27 Jan 2012
|
||||
- manager: in tooltips for Project/Task buttons,
|
||||
don't prepend "button name: ";
|
||||
add a tooltip for Home Page button.
|
||||
|
||||
clientgui/
|
||||
BOINCBaseView.cpp
|
||||
BOINCTaskCtrl.cpp
|
||||
|
|
|
@ -777,7 +777,7 @@ void CBOINCBaseView::UpdateWebsiteSelection(long lControlGroup, PROJECT* project
|
|||
// Default project url
|
||||
pItem = new CTaskItem(
|
||||
wxString("Home page", wxConvUTF8),
|
||||
wxT(""),
|
||||
wxString(project->project_name.c_str(), wxConvUTF8) + wxT(" web site"),
|
||||
wxString(project->master_url, wxConvUTF8),
|
||||
ID_TASK_PROJECT_WEB_PROJDEF_MIN
|
||||
);
|
||||
|
|
|
@ -144,7 +144,7 @@ wxInt32 CBOINCTaskCtrl::UpdateTask( CTaskItem* pItem, wxString strName, wxString
|
|||
pItem->m_pButton->SetLabel( pItem->m_strNameEllipsed );
|
||||
pItem->m_pButton->SetHelpText( strDescription );
|
||||
#if wxUSE_TOOLTIPS
|
||||
pItem->m_pButton->SetToolTip(pItem->m_strName + wxT(": ") + pItem->m_strDescription);
|
||||
pItem->m_pButton->SetToolTip(pItem->m_strDescription);
|
||||
#endif
|
||||
}
|
||||
return 0;
|
||||
|
@ -192,7 +192,7 @@ wxInt32 CBOINCTaskCtrl::UpdateControls() {
|
|||
pItem->m_pButton->Create(this, pItem->m_iEventID, pItem->m_strNameEllipsed, wxDefaultPosition, wxSize(TASKBUTTONWIDTH, -1), 0);
|
||||
pItem->m_pButton->SetHelpText(pItem->m_strDescription);
|
||||
#if wxUSE_TOOLTIPS
|
||||
pItem->m_pButton->SetToolTip(pItem->m_strName + wxT(": ") + pItem->m_strDescription);
|
||||
pItem->m_pButton->SetToolTip(pItem->m_strDescription);
|
||||
#endif
|
||||
pGroup->m_pStaticBoxSizer->Add(pItem->m_pButton, 0, wxEXPAND|wxALL, 5);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue