diff options
Diffstat (limited to 'plugins/Dropbox/src/dropbox_icons.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_icons.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/dropbox_icons.cpp b/plugins/Dropbox/src/dropbox_icons.cpp index 5684fc9ed4..d3bded41f7 100644 --- a/plugins/Dropbox/src/dropbox_icons.cpp +++ b/plugins/Dropbox/src/dropbox_icons.cpp @@ -30,4 +30,11 @@ void CDropbox::InitializeIcons() sid.ptszDescription = LPGENT("Protocol icon");
sid.iDefaultIndex = -IDI_DROPBOX;
/*HANDLE hIcon = */Skin_AddIcon(&sid);
-}
\ No newline at end of file +}
+
+HICON CDropbox::LoadIconEx(const char *name, bool big)
+{
+ char szSettingName[100];
+ mir_snprintf(szSettingName, SIZEOF(szSettingName), "%s_%s", MODULE, name);
+ return Skin_GetIcon(szSettingName, big);
+}
|