mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
Put up hourglasses while making people wait.
This commit is contained in:
parent
50f24f23b4
commit
721b7d4e27
@ -32,6 +32,8 @@ LRESULT CAboutPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lPar
|
||||
|
||||
void CAboutPage::FillVersionList()
|
||||
{
|
||||
CWaitCursor wait;
|
||||
|
||||
m_versions.Empty();
|
||||
|
||||
// Initialise the list control
|
||||
|
@ -21,6 +21,8 @@
|
||||
|
||||
LRESULT CAdvancedPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
|
||||
{
|
||||
CWaitCursor wait;
|
||||
|
||||
IniFile ini(GetApplication()->GetConfigPath());
|
||||
m_server_port = ini.GetInteger(_T("general"), _T("port"), 9999);
|
||||
|
||||
@ -108,6 +110,8 @@ void CAdvancedPage::UpdateControls(Service::Status status)
|
||||
|
||||
int CAdvancedPage::OnApply()
|
||||
{
|
||||
CWaitCursor wait;
|
||||
|
||||
ATLTRACE("CAdvancedPage::OnApply\n");
|
||||
|
||||
if (!DoDataExchange(true))
|
||||
@ -149,6 +153,8 @@ LRESULT CAdvancedPage::OnStopService(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*
|
||||
|
||||
LRESULT CAdvancedPage::OnWebAdmin(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
|
||||
{
|
||||
CWaitCursor wait;
|
||||
|
||||
// Go to the config file because we might not have committed a change yet.
|
||||
IniFile ini(GetApplication()->GetConfigPath());
|
||||
unsigned int port = ini.GetInteger(_T("general"), _T("port"), 9999);
|
||||
|
@ -21,6 +21,8 @@
|
||||
|
||||
LRESULT CConfigPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
|
||||
{
|
||||
CWaitCursor wait;
|
||||
|
||||
IniFile ini(GetApplication()->GetConfigPath());
|
||||
|
||||
m_server_name = ini.GetString(_T("general"), _T("servername"), _T("Firefly media server"));
|
||||
@ -52,6 +54,8 @@ void CConfigPage::EnableControls()
|
||||
|
||||
int CConfigPage::OnApply()
|
||||
{
|
||||
CWaitCursor wait;
|
||||
|
||||
ATLTRACE("CConfigPage::OnApply\n");
|
||||
if (!DoDataExchange(true))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user