From 131573060e8ddc945c671ed312b9480ce59d2e9f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Mar 2017 22:33:20 +0300 Subject: fix for status bar in tabSRMM --- plugins/TabSRMM/src/generic_msghandlers.cpp | 2 +- plugins/TabSRMM/src/msgdialog.cpp | 4 ++-- plugins/TabSRMM/src/msgs.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 0c90ee7a48..13e6d5eab4 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -1089,7 +1089,7 @@ void CTabBaseDlg::DM_Typing(bool fForceOff) m_wszStatusBar[0] = 0; m_bShowTyping = 0; } - UpdateStatusBar(); + tabUpdateStatusBar(); } else if (m_nTypeSecs > 0) { mir_snwprintf(m_wszStatusBar, TranslateT("%s is typing a message"), m_cache->getNick()); diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index d609e39ddd..6d38ee53d1 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -312,7 +312,7 @@ void CSrmmWindow::MsgWindowUpdateState(UINT msg) m_pContainer->hIconTaskbarOverlay = 0; m_pContainer->UpdateTitle(m_hContact); - UpdateStatusBar(); + tabUpdateStatusBar(); m_dwLastActivity = GetTickCount(); m_pContainer->dwLastActivity = m_dwLastActivity; @@ -2915,7 +2915,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) if (m_pPanel.isActive()) m_pPanel.Invalidate(); if (m_pContainer->dwFlags & CNT_UINSTATUSBAR) - UpdateStatusBar(); + tabUpdateStatusBar(); return 0; case EM_THEMECHANGED: diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index b082285657..067b9a5290 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -270,7 +270,7 @@ INT_PTR CTabBaseDlg::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) return 0; case DM_STATUSBARCHANGED: - UpdateStatusBar(); + tabUpdateStatusBar(); break; case DM_CHECKAUTOHIDE: @@ -335,7 +335,7 @@ static void SetStatusTextWorker(CTabBaseDlg *dat, StatusTextData *st) if (st != nullptr && st->cbSize == sizeof(StatusTextData)) dat->m_sbCustom = new StatusTextData(*st); - dat->UpdateStatusBar(); + dat->tabUpdateStatusBar(); } static INT_PTR SetStatusText(WPARAM hContact, LPARAM lParam) -- cgit v1.2.3