Replace all obsoleted method

This commit is contained in:
qianlifeng
2014-07-21 19:48:17 +08:00
parent 88208285a4
commit 4e87211d39
5 changed files with 11 additions and 11 deletions

View File

@@ -53,8 +53,8 @@ namespace Wox.Plugin.BrowserBookmark
Score = 5,
Action = (e) =>
{
context.HideApp();
context.ShellRun(c.Url);
context.API.HideApp();
context.API.ShellRun(c.Url);
return true;
}
}).ToList();

View File

@@ -45,7 +45,7 @@ namespace Wox.Plugin.PluginManagement
{
Action = e =>
{
context.ChangeQuery("wpm install ");
context.API.ChangeQuery("wpm install ");
return false;
}
});
@@ -53,7 +53,7 @@ namespace Wox.Plugin.PluginManagement
{
Action = e =>
{
context.ChangeQuery("wpm uninstall ");
context.API.ChangeQuery("wpm uninstall ");
return false;
}
});
@@ -61,7 +61,7 @@ namespace Wox.Plugin.PluginManagement
{
Action = e =>
{
context.ChangeQuery("wpm list");
context.API.ChangeQuery("wpm list");
return false;
}
});
@@ -179,7 +179,7 @@ namespace Wox.Plugin.PluginManagement
}
finally
{
context.StopLoadingBar();
context.API.StopLoadingBar();
}
}
});