Only display "Guayadeque" *.version in title when not playin
Posted: Sun Oct 14, 2012 8:35 pm
I was hoping I could do something simple like this to only show Guayadeque and the version in the title when theres no song playing, but it doesn't update if you stop the song. So I thought I'd make a feature request.
open */guayadeque/src/MainFrame.cpp & find and modify around line 1770 to look like so:
// -------------------------------------------------------------------------------- //
void guMainFrame::OnUpdateTrack( wxCommandEvent &event )
{
guTrack * Track = ( guTrack * ) event.GetClientData();
if( Track )
{
SetTitle( Track->m_SongName + wxT( " / " ) + Track->m_ArtistName +
wxT( " " ) );
if( m_TaskBarIcon )
{
m_TaskBarIcon->SetIcon( m_AppIcon, wxT( " " "\r" ) +
Track->m_ArtistName + wxT( "\n" ) +
Track->m_SongName );
}
}
else
open */guayadeque/src/MainFrame.cpp & find and modify around line 1770 to look like so:
// -------------------------------------------------------------------------------- //
void guMainFrame::OnUpdateTrack( wxCommandEvent &event )
{
guTrack * Track = ( guTrack * ) event.GetClientData();
if( Track )
{
SetTitle( Track->m_SongName + wxT( " / " ) + Track->m_ArtistName +
wxT( " " ) );
if( m_TaskBarIcon )
{
m_TaskBarIcon->SetIcon( m_AppIcon, wxT( " " "\r" ) +
Track->m_ArtistName + wxT( "\n" ) +
Track->m_SongName );
}
}
else