summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-04 17:32:09 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-04 17:32:09 +0000
commit0eebc9b8a6eef4094adfa844b312083135c2971c (patch)
treef460968a8de6fff8f8f2e03edac86dd79730a457 /protocols/SkypeWeb/src
parentc50f6ac60044734c71b6056379fce0c4cbdd52a8 (diff)
SkypeWeb: Notification icon (thx dracosha).
git-svn-id: http://svn.miranda-ng.org/main/trunk@13430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r--protocols/SkypeWeb/src/resource.h3
-rw-r--r--protocols/SkypeWeb/src/skype_icons.cpp3
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp2
3 files changed, 5 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/resource.h b/protocols/SkypeWeb/src/resource.h
index 58149ea76f..d997ad392a 100644
--- a/protocols/SkypeWeb/src/resource.h
+++ b/protocols/SkypeWeb/src/resource.h
@@ -17,6 +17,7 @@
#define IDI_BLOCKUSER 118
#define IDI_UNBLOCKUSER 119
#define IDI_CALL 120
+#define IDI_NOTIFY 121
#define IDC_AUTOSYNC 1028
#define IDC_LOCALTIME 1029
#define IDC_RADIO1 1030
@@ -33,7 +34,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 121
+#define _APS_NEXT_RESOURCE_VALUE 122
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1042
#define _APS_NEXT_SYMED_VALUE 101
diff --git a/protocols/SkypeWeb/src/skype_icons.cpp b/protocols/SkypeWeb/src/skype_icons.cpp
index 0a01349389..7733f454bb 100644
--- a/protocols/SkypeWeb/src/skype_icons.cpp
+++ b/protocols/SkypeWeb/src/skype_icons.cpp
@@ -24,7 +24,8 @@ IconInfo CSkypeProto::Icons[] =
{ LPGENT("Sync history icon"), "synchistory", IDI_SYNCHISTORY },
{ LPGENT("Block user icon"), "user_block", IDI_BLOCKUSER },
{ LPGENT("Unblock user icon"), "user_unblock", IDI_UNBLOCKUSER },
- { LPGENT("Incoming call icon"), "inc_call", IDI_CALL }
+ { LPGENT("Incoming call icon"), "inc_call", IDI_CALL },
+ { LPGENT("Notification icon"), "notify", IDI_NOTIFY }
};
void CSkypeProto::InitIcons()
{
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index f21e2e9e3e..ffda491a32 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -326,7 +326,7 @@ void CSkypeProto::InitPopups()
mir_snprintf(name, SIZEOF(name), "%s_%s", m_szModuleName, "Notification");
ppc.ptszDescription = desc;
ppc.pszName = name;
- ppc.hIcon = Skin_GetIconByHandle(GetIconHandle("main"));
+ ppc.hIcon = Skin_GetIconByHandle(GetIconHandle("notify"));
ppc.colorBack = RGB(255, 255, 255);
ppc.colorText = RGB(0, 0, 0);
ppc.iSeconds = 5;