diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-03 19:18:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-03 19:18:41 +0000 |
commit | cfcaccf4e2c11a2fe5e3a1f90d0230c05aa7f0d5 (patch) | |
tree | 030c13345dc0e025cbf63fa35387ad875d645be7 /plugins/TabSRMM/src/generic_msghandlers.cpp | |
parent | 0e8ae7d4ab5ffd57185500f65ef171e4a37ba117 (diff) |
more correct version of big typing icon's patch
git-svn-id: http://svn.miranda-ng.org/main/trunk@2936 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 614960613d..53e3374061 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -1653,20 +1653,20 @@ void TSAPI DM_Typing(TWindowData *dat, bool fForceOff) if (!(dat->pContainer->dwFlags & CNT_NOFLASH) && PluginConfig.m_FlashOnMTN)
ReflashContainer(dat->pContainer);
}
+
if (dat->pContainer->hwndActive != hwndDlg) {
if (dat->mayFlashTab)
dat->iFlashIcon = PluginConfig.g_IconTypingEvent;
HandleIconFeedback(dat, PluginConfig.g_IconTypingEvent);
- } else { // active tab may show icon if status bar is disabled
+ }
+ else { // active tab may show icon if status bar is disabled
if (!hwndStatus) {
- if (TabCtrl_GetItemCount(GetParent(hwndDlg)) > 1 || !(dat->pContainer->dwFlags & CNT_HIDETABS)) {
+ if (TabCtrl_GetItemCount(GetParent(hwndDlg)) > 1 || !(dat->pContainer->dwFlags & CNT_HIDETABS))
HandleIconFeedback(dat, PluginConfig.g_IconTypingEvent);
- }
}
}
if ((GetForegroundWindow() != hwndContainer) || (dat->pContainer->hwndStatus == 0) || (dat->pContainer->hwndActive != hwndDlg))
- SendMessage(hwndContainer, DM_SETICON, (WPARAM)dat, (LPARAM)
- ((PluginConfig.g_IconTypingEventBig != NULL) ? PluginConfig.g_IconTypingEventBig : PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING]));
+ SendMessage(hwndContainer, DM_SETICON, (WPARAM)dat, (LPARAM)PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING]);
dat->showTyping = 1;
}
|