From 6e422260d5f5ffe10daf5e6d16aae451590a25e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 14 Jun 2013 15:27:15 +0000 Subject: MenuItemEx: Used core auth icons. git-svn-id: http://svn.miranda-ng.org/main/trunk@4937 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 12 +++++------- plugins/MenuItemEx/src/resource.h | 2 -- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'plugins/MenuItemEx/src') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 9ced29f044..7021bdabc9 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -47,9 +47,7 @@ static IconItem iconList[] = { { LPGEN("Show in list"), "miex_showil", IDI_ICON8 }, { LPGEN("Always visible"), "miex_vis", IDI_ICON1 }, { LPGEN("Never visible"), "miex_invis", IDI_ICON2 }, - { LPGEN("Send 'You were added'"), "miex_added", IDI_ICON4 }, - { LPGEN("Request authorization"), "miex_authorization", IDI_ICON5 }, - { LPGEN("Copy to Account"), "miex_protocol", IDI_ICON6 }, + { LPGEN("Copy to Account"), "miex_protocol", IDI_ICON6 }, { LPGEN("Ignore"), "miex_ignore", IDI_ICON7 }, { LPGEN("Browse Received Files"), "miex_recfiles", IDI_ICON12 }, { LPGEN("Copy MirVer"), "miex_copymver", IDI_ICON13 } @@ -73,8 +71,8 @@ static const ii[] = { { LPGENT("URL"), IGNOREEVENT_URL, SKINICON_EVENT_URL }, { LPGENT("Files"), IGNOREEVENT_FILE, SKINICON_EVENT_FILE }, { LPGENT("User Online"), IGNOREEVENT_USERONLINE, SKINICON_OTHER_USERONLINE }, - { LPGENT("Authorization"), IGNOREEVENT_AUTHORIZATION, SKINICON_OTHER_MIRANDA }, - { LPGENT("You Were Added"), IGNOREEVENT_YOUWEREADDED, SKINICON_OTHER_ADDCONTACT }, + { LPGENT("Authorization"), IGNOREEVENT_AUTHORIZATION, SKINICON_AUTH_REQUEST }, + { LPGENT("You Were Added"), IGNOREEVENT_YOUWEREADDED, SKINICON_AUTH_ADD }, { LPGENT("Typing Notify"), IGNOREEVENT_TYPINGNOTIFY, SKINICON_OTHER_TYPING } }; @@ -1134,13 +1132,13 @@ static int PluginInit(WPARAM wparam,LPARAM lparam) mi.position++; mi.ptszName = LPGENT("Send 'You were added'"); mi.pszService = MS_ADDED; - mi.hIcon = Skin_GetIcon("miex_added"); + mi.hIcon = LoadSkinnedIcon(SKINICON_AUTH_ADD); hmenuAdded = Menu_AddContactMenuItem(&mi); mi.position++; mi.ptszName = LPGENT("Request authorization"); mi.pszService = MS_AUTHREQ; - mi.hIcon = Skin_GetIcon("miex_authorization"); + mi.hIcon = LoadSkinnedIcon(SKINICON_AUTH_REQUEST); hmenuAuthReq = Menu_AddContactMenuItem(&mi); mi.position++; diff --git a/plugins/MenuItemEx/src/resource.h b/plugins/MenuItemEx/src/resource.h index 18b7de34cd..d94600c900 100644 --- a/plugins/MenuItemEx/src/resource.h +++ b/plugins/MenuItemEx/src/resource.h @@ -8,8 +8,6 @@ #define IDI_ICON1 111 #define IDI_ICON2 112 #define IDI_ICON3 113 -#define IDI_ICON4 114 -#define IDI_ICON5 115 #define IDI_ICON6 116 #define IDI_ICON7 117 #define IDI_ICON8 118 -- cgit v1.2.3