This commit is contained in:
bao-qian 2016-05-20 19:23:57 +01:00
parent 9e105a362f
commit 7490cb81b8

View File

@ -54,7 +54,7 @@ namespace Wox.Plugin.Folder
item => new Result() item => new Result()
{ {
Title = item.Nickname, Title = item.Nickname,
IcoPath = "Images/folder.png", IcoPath = item.Path,
SubTitle = "Ctrl + Enter to open the directory", SubTitle = "Ctrl + Enter to open the directory",
Action = c => Action = c =>
{ {
@ -142,7 +142,7 @@ namespace Wox.Plugin.Folder
results.Add(new Result results.Add(new Result
{ {
Title = firstResult, Title = firstResult,
IcoPath = "Images/folder.png", IcoPath = search,
Score = 10000, Score = 10000,
Action = c => Action = c =>
{ {
@ -163,7 +163,7 @@ namespace Wox.Plugin.Folder
var result = new Result var result = new Result
{ {
Title = dir.Name, Title = dir.Name,
IcoPath = "Images/folder.png", IcoPath = dir.FullName,
SubTitle = "Ctrl + Enter to open the directory", SubTitle = "Ctrl + Enter to open the directory",
Action = c => Action = c =>
{ {
@ -199,7 +199,7 @@ namespace Wox.Plugin.Folder
var result = new Result var result = new Result
{ {
Title = Path.GetFileName(filePath), Title = Path.GetFileName(filePath),
IcoPath = "Images/file.png", IcoPath = filePath,
Action = c => Action = c =>
{ {
try try