summaryrefslogtreecommitdiff
path: root/src/mir_app
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 /src/mir_app
parent2610fee647614e9e13daef898b99315c26fa987c (diff)
all icons with keys replaced with skin password icon SKINICON_OTHER_KEYS
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/res/icon_password.icobin0 -> 1150 bytes
-rw-r--r--src/mir_app/res/resource.rc1
-rw-r--r--src/mir_app/src/resource.h1
-rw-r--r--src/mir_app/src/skinicons.cpp2
4 files changed, 3 insertions, 1 deletions
diff --git a/src/mir_app/res/icon_password.ico b/src/mir_app/res/icon_password.ico
new file mode 100644
index 0000000000..c19e671abe
--- /dev/null
+++ b/src/mir_app/res/icon_password.ico
Binary files differ
diff --git a/src/mir_app/res/resource.rc b/src/mir_app/res/resource.rc
index a6931e5905..3483969f3e 100644
--- a/src/mir_app/res/resource.rc
+++ b/src/mir_app/res/resource.rc
@@ -1178,6 +1178,7 @@ IDI_MCSETDEFAULT ICON "meta_set_as_default.ico"
IDI_ADDGROUP ICON "addgroup.ico"
IDI_POPUP ICON "icon_popup.ico"
IDI_NOPOPUP ICON "icon_popup_no.ico"
+IDI_PASSWORD ICON "icon_password.ico"
/////////////////////////////////////////////////////////////////////////////
//
diff --git a/src/mir_app/src/resource.h b/src/mir_app/src/resource.h
index 98cd007f9e..38b3ed8ebe 100644
--- a/src/mir_app/src/resource.h
+++ b/src/mir_app/src/resource.h
@@ -18,6 +18,7 @@
#define IDD_OPT_PROTOCOLORDER 109
#define IDD_OPT_ICOLIB 110
#define IDD_ICOLIB_IMPORT 111
+#define IDI_PASSWORD 112
#define IDI_LOADED_GRAY 113
#define IDI_NOTLOADED_GRAY 114
#define IDD_ADDED 115
diff --git a/src/mir_app/src/skinicons.cpp b/src/mir_app/src/skinicons.cpp
index ce1d786010..f583de9562 100644
--- a/src/mir_app/src/skinicons.cpp
+++ b/src/mir_app/src/skinicons.cpp
@@ -82,7 +82,7 @@ static struct StandardIconDescription mainIcons[] =
{ SKINICON_OTHER_GROUP, LPGEN("Move to group"), -IDI_MOVETOGROUP, 0, nullptr }, // 41
{ SKINICON_OTHER_ON, LPGEN("On"), -IDI_ON, 0, nullptr }, // 42
{ SKINICON_OTHER_OFF, LPGEN("Off"), -IDI_OFF, 0, nullptr }, // 43
- { -1, LPGEN("Unused"), 0, 0, nullptr }, // 44
+ { SKINICON_OTHER_KEYS, LPGEN("Password"), -IDI_PASSWORD, 0, nullptr }, // 44
{ -1, LPGEN("Unused"), 0, 0, nullptr }, // 45
{ SKINICON_OTHER_FRAME, LPGEN("Frames"), -IDI_FRAME, 0, nullptr }, // 46
{ SKINICON_OTHER_GROUPADD, LPGEN("Add group"), -IDI_ADDGROUP, 0, nullptr }, // 47