summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-05-29 14:12:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-05-29 14:12:44 +0300
commit56bdae442699a6defb1b783ed4d8e81824acf8de (patch)
treee07a7467d75b3d7c2bb247bbff791ab2e47fbb45 /protocols/VKontakte
parent2610fee647614e9e13daef898b99315c26fa987c (diff)
all icons with keys replaced with skin password icon SKINICON_OTHER_KEYS
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/res/key.icobin1150 -> 0 bytes
-rw-r--r--protocols/VKontakte/res/resource.rc2
-rw-r--r--protocols/VKontakte/src/misc.cpp1
-rw-r--r--protocols/VKontakte/src/resource.h1
-rw-r--r--protocols/VKontakte/src/vk_dialogs.cpp2
5 files changed, 1 insertions, 5 deletions
diff --git a/protocols/VKontakte/res/key.ico b/protocols/VKontakte/res/key.ico
deleted file mode 100644
index 44df000c12..0000000000
--- a/protocols/VKontakte/res/key.ico
+++ /dev/null
Binary files differ
diff --git a/protocols/VKontakte/res/resource.rc b/protocols/VKontakte/res/resource.rc
index 52f849a8b7..096a4649f0 100644
--- a/protocols/VKontakte/res/resource.rc
+++ b/protocols/VKontakte/res/resource.rc
@@ -41,8 +41,6 @@ IDI_VISITPROFILE ICON "home.ico"
IDI_HISTORY ICON "history.ico"
-IDI_KEYS ICON "key.ico"
-
IDI_BROADCAST ICON "broadcast.ico"
IDI_STATUS ICON "status.ico"
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 1c61b92f4d..d0b75e0e6f 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -62,7 +62,6 @@ bool wlstrstr(wchar_t *_s1, wchar_t *_s2)
static IconItem iconList[] =
{
- { LPGEN("Captcha form icon"), "key", IDI_KEYS },
{ LPGEN("Notification icon"), "notification", IDI_NOTIFICATION },
{ LPGEN("Read message icon"), "read", IDI_READMSG },
{ LPGEN("Visit profile icon"), "profile", IDI_VISITPROFILE },
diff --git a/protocols/VKontakte/src/resource.h b/protocols/VKontakte/src/resource.h
index fbe4aadc7d..a125e5184a 100644
--- a/protocols/VKontakte/src/resource.h
+++ b/protocols/VKontakte/src/resource.h
@@ -26,7 +26,6 @@
#define IDI_MARKMESSAGESASREAD 122
#define IDD_OPT_MENU 122
#define IDD_CONTACTDELETE 123
-#define IDI_KEYS 203
#define IDC_LOGIN 1001
#define IDC_PASSWORD 1002
#define IDC_URL 1003
diff --git a/protocols/VKontakte/src/vk_dialogs.cpp b/protocols/VKontakte/src/vk_dialogs.cpp
index 8616098d7f..3d37a066b5 100644
--- a/protocols/VKontakte/src/vk_dialogs.cpp
+++ b/protocols/VKontakte/src/vk_dialogs.cpp
@@ -34,7 +34,7 @@ CVkCaptchaForm::CVkCaptchaForm(CVkProto *proto, CAPTCHA_FORM_PARAMS *param) :
bool CVkCaptchaForm::OnInitDialog()
{
- Window_SetIcon_IcoLib(m_hwnd, g_plugin.getIconHandle(IDI_KEYS));
+ Window_SetIcon_IcoLib(m_hwnd, Skin_GetIconHandle(SKINICON_OTHER_KEYS));
m_btnOk.Disable();
m_btnOpenInBrowser.Enable((m_param->bmp != nullptr));