From 498634fd136d4c337e0d040684791199600636bf Mon Sep 17 00:00:00 2001 From: Aaron Campf Date: Thu, 8 May 2014 17:51:05 -0700 Subject: [PATCH] Uncommented and removed junk code --- Wox/MainWindow.xaml.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Wox/MainWindow.xaml.cs b/Wox/MainWindow.xaml.cs index 2c64e8704d..bcc644a4e1 100644 --- a/Wox/MainWindow.xaml.cs +++ b/Wox/MainWindow.xaml.cs @@ -442,7 +442,7 @@ namespace Wox { if (hideWindow) { HideWox(); } - //UserSelectedRecordStorage.Instance.Add(result); + UserSelectedRecordStorage.Instance.Add(result); } } } @@ -470,12 +470,6 @@ namespace Wox { } public void SetTheme(string themeName) { - //Uri uri = new Uri("Themes/Default.xaml", UriKind.Relative); - //System.Windows.Resources.StreamResourceInfo info = Application.GetResourceStream(uri); - //System.Windows.Markup.XamlReader reader = new System.Windows.Markup.XamlReader(); - - - var dict = new ResourceDictionary { Source = new Uri(Path.Combine(Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath), "Themes\\" + themeName + ".xaml"), UriKind.Absolute) };