Update Control Panel

The Control Panel now also includes third party panel items.
This commit is contained in:
Coenraad Stijne
2014-07-18 20:15:35 +02:00
parent 2a86b06e0c
commit 102d5fdd7f
4 changed files with 221 additions and 157 deletions

View File

@@ -51,9 +51,9 @@ namespace Wox.Plugin.SystemPlugins.ControlPanel
foreach (ControlPanelItem item in controlPanelItems)
{
if (!File.Exists(iconFolder + item.ApplicationName + fileType))
if (!File.Exists(iconFolder + item.LocalizedString + fileType))
{
item.Icon.ToBitmap().Save(iconFolder + item.ApplicationName + fileType);
item.Icon.ToBitmap().Save(iconFolder + item.LocalizedString + fileType);
}
}
}
@@ -75,7 +75,7 @@ namespace Wox.Plugin.SystemPlugins.ControlPanel
Title = item.LocalizedString,
SubTitle = item.InfoTip,
Score = item.Score,
IcoPath = "Images\\ControlPanelIcons\\" + item.ApplicationName + fileType,
IcoPath = "Images\\ControlPanelIcons\\" + item.LocalizedString + fileType,
Action = e =>
{
try