From a455e6fe10fb1f60bc37b0585b9a55fc25597931 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Apr 2019 22:40:29 +0300 Subject: UINfoEx: fix for email extra-icon (cherry picked from commit 087ace9a5839200528e15f8335e00ce99cc65140) --- plugins/UserInfoEx/IconPacks/ice/src/icons.h | 8 ++++---- plugins/UserInfoEx/src/svc_email.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/UserInfoEx/IconPacks/ice/src/icons.h b/plugins/UserInfoEx/IconPacks/ice/src/icons.h index 46871836bd..7c2dfa7971 100644 --- a/plugins/UserInfoEx/IconPacks/ice/src/icons.h +++ b/plugins/UserInfoEx/IconPacks/ice/src/icons.h @@ -10,10 +10,10 @@ #define IDI_DLG_EMAIL 103 // dialog infobar & buttons -#define IDI_ANNIVERSARY 104 -#define IDI_EXPORT 105 -#define IDI_IMPORT 106 -#define IDI_SEARCH 107 +#define IDI_ANNIVERSARY 104 +#define IDI_EXPORT 105 +#define IDI_IMPORT 106 +#define IDI_SEARCH 107 // common icons of details dialog pages #define IDI_MIRANDA 108 diff --git a/plugins/UserInfoEx/src/svc_email.cpp b/plugins/UserInfoEx/src/svc_email.cpp index 2195bf7064..f8ca9bc814 100644 --- a/plugins/UserInfoEx/src/svc_email.cpp +++ b/plugins/UserInfoEx/src/svc_email.cpp @@ -127,7 +127,7 @@ static INT_PTR MenuCommand(WPARAM wParam,LPARAM lParam) static int OnCListApplyIcons(WPARAM wParam, LPARAM) { LPSTR val = Get(wParam); - ExtraIcon_SetIcon(ghExtraIconSvc, wParam, (val) ? g_plugin.getIconHandle(IDI_DLG_EMAIL) : nullptr); + ExtraIcon_SetIcon(ghExtraIconSvc, wParam, (val) ? g_plugin.getIconHandle(IDI_BTN_EMAIL) : nullptr); mir_free(val); return 0; } -- cgit v1.2.3