Add system plugin descriptions.

This commit is contained in:
qianlifeng
2014-06-30 21:31:13 +08:00
parent 4ee0731472
commit fad6a406a1
24 changed files with 111 additions and 119 deletions

View File

@@ -62,12 +62,6 @@ namespace Wox.Infrastructure.Storage.UserSettings
[JsonProperty]
public bool StartWoxOnSystemStartup { get; set; }
[JsonProperty]
public bool EnablePythonPlugins { get; set; }
[JsonProperty]
public bool EnableBookmarkPlugin { get; set; }
[JsonProperty]
public double Opacity { get; set; }
@@ -105,6 +99,16 @@ namespace Wox.Infrastructure.Storage.UserSettings
};
webSearches.Add(wikiWebSearch);
WebSearch findIcon = new WebSearch()
{
Title = "FindIcon",
ActionWord = "findicon",
IconPath = Path.GetDirectoryName(Application.ExecutablePath) + @"\Images\websearch\pictures.png",
Url = "http://findicons.com/search/{q}",
Enabled = true
};
webSearches.Add(findIcon);
return webSearches;
}
@@ -139,8 +143,6 @@ namespace Wox.Infrastructure.Storage.UserSettings
protected override void LoadDefaultConfig()
{
EnablePythonPlugins = true;
EnableBookmarkPlugin = true;
Theme = "Dark";
ReplaceWinR = true;
WebSearches = LoadDefaultWebSearches();