Add ability to not display the "Connected to ..." message at startup
This commit is contained in:
@@ -169,7 +169,10 @@ void initialize_status()
|
||||
|
||||
m_status_initialized = true;
|
||||
wFooter->addFDCallback(Mpd.GetFD(), Statusbar::Helpers::mpd);
|
||||
Statusbar::printf("Connected to %1%", Mpd.GetHostname());
|
||||
if (Config.connected_message_on_startup)
|
||||
{
|
||||
Statusbar::printf("Connected to %1%", Mpd.GetHostname());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user