diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-11 16:47:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-11 16:47:12 +0000 |
commit | 52fe3f7be13509bd336c5efa28b8310a23211034 (patch) | |
tree | 70e0948e92b71cd09367545f9655dc343c5cc862 /plugins/Scriver/src/msgs.cpp | |
parent | fa837bfbc2a705947b14f1ce8ba36d996bb11104 (diff) |
- Srmm_ModifyIcon helper applied instead of CallService(MS_MSG_MODIFYICON)
- various fixes related to SRMM icons;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4426 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 7b58fba856..a3d99babb8 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -383,15 +383,11 @@ void ChangeStatusIcons() {
StatusIconData sid = { sizeof(sid) };
sid.szModule = SRMMMOD;
- sid.hIcon = CopyIcon(GetCachedIcon("scriver_UNICODEON"));
- sid.hIconDisabled = CopyIcon(GetCachedIcon("scriver_UNICODEOFF"));
- CallService(MS_MSG_MODIFYICON, 0, (LPARAM)&sid);
-
sid.dwId = 1;
sid.hIcon = CopyIcon(GetCachedIcon("scriver_TYPING"));
sid.hIconDisabled = CopyIcon(GetCachedIcon("scriver_TYPINGOFF"));
sid.flags = MBF_HIDDEN;
- CallService(MS_MSG_MODIFYICON, 0, (LPARAM)&sid);
+ Srmm_ModifyIcon(NULL, &sid);
}
int StatusIconPressed(WPARAM wParam, LPARAM lParam)
|