From 927277a6cdb8ae3dad0448e5ef398271bc0de8f7 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sun, 21 Feb 2016 14:40:10 +0000 Subject: [PATCH] ActionPanel -> ContextMenu part of refactoring for PR #494 --- Wox/MainWindow.xaml | 2 +- Wox/PublicAPIInstance.cs | 2 +- Wox/ResultListBox.xaml | 4 +- Wox/ViewModel/MainViewModel.cs | 83 +++++++++++++--------------- Wox/ViewModel/ResultItemViewModel.cs | 21 +++---- 5 files changed, 49 insertions(+), 63 deletions(-) diff --git a/Wox/MainWindow.xaml b/Wox/MainWindow.xaml index d6a6dc5a38..7ce73b08ec 100644 --- a/Wox/MainWindow.xaml +++ b/Wox/MainWindow.xaml @@ -39,7 +39,7 @@ - + diff --git a/Wox/PublicAPIInstance.cs b/Wox/PublicAPIInstance.cs index 7cb7f296f4..2374d46e19 100644 --- a/Wox/PublicAPIInstance.cs +++ b/Wox/PublicAPIInstance.cs @@ -181,7 +181,7 @@ namespace Wox o.PluginID = plugin.ID; }); - this.MainVM.ShowActionPanel(results, plugin.ID); + this.MainVM.ShowContextMenu(results, plugin.ID); } } diff --git a/Wox/ResultListBox.xaml b/Wox/ResultListBox.xaml index 0962b7df25..9f4894f9d4 100644 --- a/Wox/ResultListBox.xaml +++ b/Wox/ResultListBox.xaml @@ -17,9 +17,9 @@ -