summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-28 21:48:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-28 21:48:19 +0000
commit7636121591882dafe8f181aa857ae7041f9cc364 (patch)
treea824c49838c71ae1cd1f121f2137019ec8de619b /plugins/TabSRMM/src/generic_msghandlers.cpp
parent79b8ebded1a82dd8480bfb4d9cbe077b5319f84e (diff)
fix to use big typing notification icon if it's present
git-svn-id: http://svn.miranda-ng.org/main/trunk@2877 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index bffd4951a7..614960613d 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -1665,7 +1665,9 @@ void TSAPI DM_Typing(TWindowData *dat, bool fForceOff)
}
}
if ((GetForegroundWindow() != hwndContainer) || (dat->pContainer->hwndStatus == 0) || (dat->pContainer->hwndActive != hwndDlg))
- SendMessage(hwndContainer, DM_SETICON, (WPARAM)dat, (LPARAM) PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING]);
+ SendMessage(hwndContainer, DM_SETICON, (WPARAM)dat, (LPARAM)
+ ((PluginConfig.g_IconTypingEventBig != NULL) ? PluginConfig.g_IconTypingEventBig : PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING]));
+
dat->showTyping = 1;
}
}