diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-28 21:48:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-28 21:48:19 +0000 |
commit | 7636121591882dafe8f181aa857ae7041f9cc364 (patch) | |
tree | a824c49838c71ae1cd1f121f2137019ec8de619b /plugins/TabSRMM/src/generic_msghandlers.cpp | |
parent | 79b8ebded1a82dd8480bfb4d9cbe077b5319f84e (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.cpp | 4 |
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;
}
}
|