summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-15 22:33:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-15 22:33:29 +0300
commit131573060e8ddc945c671ed312b9480ce59d2e9f (patch)
tree82c8adbe411a57ec1081dc73a4db30307f7cf636 /plugins
parent885176b56fddde5e2be107b595b5bf3625e3c1be (diff)
fix for status bar in tabSRMM
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp2
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp4
-rw-r--r--plugins/TabSRMM/src/msgs.cpp4
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)