diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-11 19:28:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-11 19:28:21 +0300 |
commit | 57c5323947808f0d71da342b9950d2632f7c851a (patch) | |
tree | c9369bc5d8628877903dde2ae48e4023c94e186c /plugins/CloudFile | |
parent | 6321704b88ff10efd651addd428ea53af3793007 (diff) |
fixes #1185 (Add icon to CloudFile accounts)
Diffstat (limited to 'plugins/CloudFile')
4 files changed, 6 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp index 52cb094986..a18ba4f32c 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.cpp +++ b/plugins/CloudFile/src/Services/dropbox_service.cpp @@ -4,6 +4,7 @@ CDropboxService::CDropboxService(const char *protoName, const wchar_t *userName) : CCloudService(protoName, userName) { + m_hProtoIcon = GetIconHandle(IDI_DROPBOX); } CDropboxService* CDropboxService::Init(const char *moduleName, const wchar_t *userName) diff --git a/plugins/CloudFile/src/Services/google_service.cpp b/plugins/CloudFile/src/Services/google_service.cpp index 5298945e7a..dcf4e0725d 100644 --- a/plugins/CloudFile/src/Services/google_service.cpp +++ b/plugins/CloudFile/src/Services/google_service.cpp @@ -3,7 +3,9 @@ CGDriveService::CGDriveService(const char *protoName, const wchar_t *userName) : CCloudService(protoName, userName) -{} +{ + m_hProtoIcon = GetIconHandle(IDI_GDRIVE); +} CGDriveService* CGDriveService::Init(const char *moduleName, const wchar_t *userName) { diff --git a/plugins/CloudFile/src/Services/microsoft_service.cpp b/plugins/CloudFile/src/Services/microsoft_service.cpp index 0a272a4e80..53b3a8574e 100644 --- a/plugins/CloudFile/src/Services/microsoft_service.cpp +++ b/plugins/CloudFile/src/Services/microsoft_service.cpp @@ -4,6 +4,7 @@ COneDriveService::COneDriveService(const char *protoName, const wchar_t *userName) : CCloudService(protoName, userName) { + m_hProtoIcon = GetIconHandle(IDI_ONEDRIVE); } COneDriveService* COneDriveService::Init(const char *moduleName, const wchar_t *userName) diff --git a/plugins/CloudFile/src/Services/yandex_service.cpp b/plugins/CloudFile/src/Services/yandex_service.cpp index b87cfaff5c..a40dd0d862 100644 --- a/plugins/CloudFile/src/Services/yandex_service.cpp +++ b/plugins/CloudFile/src/Services/yandex_service.cpp @@ -4,6 +4,7 @@ CYandexService::CYandexService(const char *protoName, const wchar_t *userName) : CCloudService(protoName, userName) { + m_hProtoIcon = GetIconHandle(IDI_YADISK); } CYandexService* CYandexService::Init(const char *moduleName, const wchar_t *userName) |