summaryrefslogtreecommitdiff
path: root/plugins/ChangeKeyboardLayout/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-07 13:00:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-07 13:00:51 +0300
commit00f5e35c664bd8b2b1b00de3353aa0c3e70f5423 (patch)
tree5766fc5e1bb1886b664e280b65d503a594838883 /plugins/ChangeKeyboardLayout/src
parente855b0922f15871e8deb07562f3d5c8ba675bf93 (diff)
duplicate popup icons moved into global skin
Diffstat (limited to 'plugins/ChangeKeyboardLayout/src')
-rw-r--r--plugins/ChangeKeyboardLayout/src/hook_events.cpp2
-rw-r--r--plugins/ChangeKeyboardLayout/src/main.cpp1
-rw-r--r--plugins/ChangeKeyboardLayout/src/resource.h1
3 files changed, 1 insertions, 3 deletions
diff --git a/plugins/ChangeKeyboardLayout/src/hook_events.cpp b/plugins/ChangeKeyboardLayout/src/hook_events.cpp
index 884182159e..acb11976be 100644
--- a/plugins/ChangeKeyboardLayout/src/hook_events.cpp
+++ b/plugins/ChangeKeyboardLayout/src/hook_events.cpp
@@ -85,7 +85,7 @@ void RegPopupActions()
int OnIconsChanged(WPARAM, LPARAM)
{
- hPopupIcon = IcoLib_GetIcon("ckl_popup_icon");
+ hPopupIcon = Skin_LoadIcon(SKINICON_OTHER_POPUP);
hCopyIcon = IcoLib_GetIcon("ckl_copy_icon");
RegPopupActions();
return 0;
diff --git a/plugins/ChangeKeyboardLayout/src/main.cpp b/plugins/ChangeKeyboardLayout/src/main.cpp
index ca660047ae..51b09a88a8 100644
--- a/plugins/ChangeKeyboardLayout/src/main.cpp
+++ b/plugins/ChangeKeyboardLayout/src/main.cpp
@@ -19,7 +19,6 @@ HANDLE hOptionsInitialize;
static IconItem iconList[] =
{
- { LPGEN("Popup"), "ckl_popup_icon", IDI_POPUPICON },
{ LPGEN("Copy to clipboard"), "ckl_copy_icon", IDI_COPYICON }
};
diff --git a/plugins/ChangeKeyboardLayout/src/resource.h b/plugins/ChangeKeyboardLayout/src/resource.h
index 8ca2e0e8be..737754fc59 100644
--- a/plugins/ChangeKeyboardLayout/src/resource.h
+++ b/plugins/ChangeKeyboardLayout/src/resource.h
@@ -4,7 +4,6 @@
//
#define IDD_MAIN_OPTION_FORM 101
#define IDD_POPUP_OPTION_FORM 102
-#define IDI_POPUPICON 103
#define IDI_COPYICON 104
#define IDB_BITMAP_WIN 110
#define IDB_BITMAP_ALT 111