Adjust score weight for programs.

This commit is contained in:
qianlifeng
2014-08-10 16:50:35 +08:00
parent 3fea8eb820
commit 0e812b911e
4 changed files with 5 additions and 32 deletions

View File

@@ -51,14 +51,11 @@ namespace Wox.Plugin.SystemPlugins.Sys
#endregion
public System.Windows.Controls.Control CreateSettingPanel()
{
return new SysSettings(availableResults);
}
protected override List<Result> QueryInternal(Query query)
{
if (query.RawQuery.EndsWith(" ") || query.RawQuery.Length <= 1) return new List<Result>();
@@ -96,7 +93,7 @@ namespace Wox.Plugin.SystemPlugins.Sys
{
Title = "Log off",
SubTitle = "Log off current user",
Score = 20,
Score = 100,
IcoPath = "Images\\logoff.png",
Action = (c) => ExitWindowsEx(EWX_LOGOFF, 0)
},
@@ -104,7 +101,7 @@ namespace Wox.Plugin.SystemPlugins.Sys
{
Title = "Lock",
SubTitle = "Lock this computer",
Score = 20,
Score = 100,
IcoPath = "Images\\lock.png",
Action = (c) =>
{
@@ -146,7 +143,7 @@ namespace Wox.Plugin.SystemPlugins.Sys
{
Title = "Settings",
SubTitle = "Tweak this app",
Score = 40,
Score = 100,
IcoPath = "Images\\app.png",
Action = (c) =>
{