summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/EmLanProto/res/amdproto.rc1
-rw-r--r--protocols/EmLanProto/res/icon_main.icobin0 -> 5430 bytes
-rw-r--r--protocols/EmLanProto/src/amdproto.cpp2
-rw-r--r--protocols/EmLanProto/src/resource.h3
4 files changed, 4 insertions, 2 deletions
diff --git a/protocols/EmLanProto/res/amdproto.rc b/protocols/EmLanProto/res/amdproto.rc
index 4ef095178a..97c3b4715d 100644
--- a/protocols/EmLanProto/res/amdproto.rc
+++ b/protocols/EmLanProto/res/amdproto.rc
@@ -28,6 +28,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
+IDI_ICON_MAIN ICON "icon_main.ico"
IDI_ICON_ONLINE ICON "icon_onl.ico"
IDI_ICON_OFFLINE ICON "icon_off.ico"
diff --git a/protocols/EmLanProto/res/icon_main.ico b/protocols/EmLanProto/res/icon_main.ico
new file mode 100644
index 0000000000..afb4190081
--- /dev/null
+++ b/protocols/EmLanProto/res/icon_main.ico
Binary files differ
diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp
index 04e7197645..241f83c6fd 100644
--- a/protocols/EmLanProto/src/amdproto.cpp
+++ b/protocols/EmLanProto/src/amdproto.cpp
@@ -81,7 +81,7 @@ static INT_PTR __cdecl EMPLoadIcon(WPARAM wParam, LPARAM)
if ((wParam & 0xFFFF) != PLI_PROTOCOL)
return 0;
- return (INT_PTR)LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(IDI_ICON_ONLINE));
+ return (INT_PTR)LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(IDI_ICON_MAIN));
}
static INT_PTR __cdecl EMPGetStatus(WPARAM, LPARAM)
diff --git a/protocols/EmLanProto/src/resource.h b/protocols/EmLanProto/src/resource.h
index 472138e5f5..f57809f5fc 100644
--- a/protocols/EmLanProto/src/resource.h
+++ b/protocols/EmLanProto/src/resource.h
@@ -3,7 +3,8 @@
// Used by amdproto.rc
//
#define IDI_ICON_ONLINE 101
-#define IDI_ICON_OFFLINE 103
+#define IDI_ICON_OFFLINE 102
+#define IDI_ICON_MAIN 103
#define IDD_EMP_FORM_OPT 104
#define IDC_LIST_IP 1001
#define IDC_RADIO_USECOMPNAME 1004