diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/PluginUpdater/res/PlgList.ico | bin | 0 -> 5430 bytes | |||
-rw-r--r-- | plugins/PluginUpdater/res/Resource.rc | 1 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 4 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 1 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/resource.h | 1 |
6 files changed, 6 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/res/PlgList.ico b/plugins/PluginUpdater/res/PlgList.ico Binary files differnew file mode 100644 index 0000000000..4b81409f81 --- /dev/null +++ b/plugins/PluginUpdater/res/PlgList.ico diff --git a/plugins/PluginUpdater/res/Resource.rc b/plugins/PluginUpdater/res/Resource.rc index 51b4726bfc..df25b189e0 100644 --- a/plugins/PluginUpdater/res/Resource.rc +++ b/plugins/PluginUpdater/res/Resource.rc @@ -30,6 +30,7 @@ IDI_MENU ICON "menu.ico" IDI_OK ICON "btnOk.ico"
IDI_CANCEL ICON "btnClose.ico"
IDI_INFO ICON "info.ico"
+IDI_PLGLIST ICON "PlgList.ico"
/////////////////////////////////////////////////////////////////////////////
//
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 4b6b93e1b2..762cfb0170 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -697,8 +697,8 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) TranslateDialogDefault( hDlg );
mir_subclassWindow(hwndList, PluginListWndProc);
- SendMessage(hDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadSkinnedIconBig(SKINICON_OTHER_OPTIONS));
- SendMessage(hDlg, WM_SETICON, ICON_SMALL, (LPARAM)LoadSkinnedIcon(SKINICON_OTHER_OPTIONS));
+ SendMessage(hDlg, WM_SETICON, ICON_BIG, (LPARAM)Skin_GetIcon("plg_list", 1));
+ SendMessage(hDlg, WM_SETICON, ICON_SMALL, (LPARAM)Skin_GetIcon("plg_list"));
{
HIMAGELIST hIml = ImageList_Create(16, 16, ILC_MASK | ILC_COLOR32, 4, 0);
ImageList_AddIconFromIconLib(hIml, "info");
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index bf914fb48b..090e9f5b5b 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -112,7 +112,7 @@ extern "C" __declspec(dllexport) int Load(void) Menu_AddMainMenuItem(&mi);
mi.position++;
- mi.icolibItem = LoadSkinnedIconHandle(SKINICON_OTHER_OPTIONS);
+ mi.icolibItem = Skin_GetIconHandle("plg_list");
mi.pszName = LPGEN("Show full plugin list");
mi.pszService = MODNAME"/ShowList";
Menu_AddMainMenuItem(&mi);
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 43f27180de..83d85f7a7a 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -42,6 +42,7 @@ static iconList[] = { "btn_ok", LPGEN("'Yes' Button"), IDI_OK },
{ "btn_cancel", LPGEN("'No' Button"), IDI_CANCEL },
{ "info", LPGEN("Plugin info"), IDI_INFO },
+ { "plg_list", LPGEN("Plugin list"), IDI_PLGLIST },
};
void IcoLibInit()
diff --git a/plugins/PluginUpdater/src/resource.h b/plugins/PluginUpdater/src/resource.h index 57416edb3e..df0fb846fe 100644 --- a/plugins/PluginUpdater/src/resource.h +++ b/plugins/PluginUpdater/src/resource.h @@ -17,6 +17,7 @@ #define IDI_DOWN_OK 115
#define IDI_ICON5 116
#define IDI_DOWN_SKIP 116
+#define IDI_PLGLIST 117
#define IDC_UPDATETEXT 1001
#define IDC_CURVER 1002
#define IDC_NEWVER 1003
|