mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
Fix typo Widow -> Window
This commit is contained in:
@@ -17,12 +17,12 @@ namespace Wox
|
||||
{
|
||||
public partial class CustomPluginHotkeySetting : Window
|
||||
{
|
||||
private SettingWidow settingWidow;
|
||||
private SettingWindow settingWidow;
|
||||
private bool update;
|
||||
private CustomPluginHotkey updateCustomHotkey;
|
||||
|
||||
|
||||
public CustomPluginHotkeySetting(SettingWidow settingWidow)
|
||||
public CustomPluginHotkeySetting(SettingWindow settingWidow)
|
||||
{
|
||||
this.settingWidow = settingWidow;
|
||||
InitializeComponent();
|
||||
|
||||
@@ -467,7 +467,7 @@ namespace Wox
|
||||
|
||||
public void OpenSettingDialog()
|
||||
{
|
||||
new SettingWidow(this).Show();
|
||||
new SettingWindow(this).Show();
|
||||
}
|
||||
|
||||
public void ShowCurrentResultItemTooltip(string text)
|
||||
|
||||
@@ -20,13 +20,13 @@ namespace Wox
|
||||
{
|
||||
public partial class ProgramSourceSetting : Window
|
||||
{
|
||||
private SettingWidow settingWidow;
|
||||
private SettingWindow settingWindow;
|
||||
private bool update;
|
||||
private ProgramSource updateProgramSource;
|
||||
|
||||
public ProgramSourceSetting(SettingWidow settingWidow)
|
||||
public ProgramSourceSetting(SettingWindow settingWidow)
|
||||
{
|
||||
this.settingWidow = settingWidow;
|
||||
this.settingWindow = settingWidow;
|
||||
InitializeComponent();
|
||||
|
||||
this.cbType.ItemsSource = Wox.Plugin.System.Programs.SourceTypes.Select(o => o.Key).ToList();
|
||||
@@ -106,7 +106,7 @@ namespace Wox
|
||||
MessageBox.Show(string.Format("Update {0} program source successfully!", updateProgramSource.ToString()));
|
||||
}
|
||||
CommonStorage.Instance.Save();
|
||||
settingWidow.ReloadProgramSourceView();
|
||||
settingWindow.ReloadProgramSourceView();
|
||||
Close();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<Window x:Class="Wox.SettingWidow"
|
||||
<Window x:Class="Wox.SettingWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:wox="clr-namespace:Wox"
|
||||
|
||||
@@ -16,17 +16,17 @@ using MessageBox = System.Windows.MessageBox;
|
||||
|
||||
namespace Wox
|
||||
{
|
||||
public partial class SettingWidow : Window
|
||||
public partial class SettingWindow : Window
|
||||
{
|
||||
string woxLinkPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Startup), "wox.lnk");
|
||||
public MainWindow MainWindow;
|
||||
|
||||
public SettingWidow()
|
||||
public SettingWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public SettingWidow(MainWindow mainWindow)
|
||||
public SettingWindow(MainWindow mainWindow)
|
||||
{
|
||||
this.MainWindow = mainWindow;
|
||||
InitializeComponent();
|
||||
|
||||
@@ -20,13 +20,13 @@ namespace Wox
|
||||
{
|
||||
public partial class WebSearchSetting : Window
|
||||
{
|
||||
private SettingWidow settingWidow;
|
||||
private SettingWindow settingWindow;
|
||||
private bool update;
|
||||
private WebSearch updateWebSearch;
|
||||
|
||||
public WebSearchSetting(SettingWidow settingWidow)
|
||||
public WebSearchSetting(SettingWindow settingWidow)
|
||||
{
|
||||
this.settingWidow = settingWidow;
|
||||
this.settingWindow = settingWidow;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace Wox
|
||||
MessageBox.Show(string.Format("Update {0} web search successfully!", title));
|
||||
}
|
||||
CommonStorage.Instance.Save();
|
||||
settingWidow.ReloadWebSearchView();
|
||||
settingWindow.ReloadWebSearchView();
|
||||
Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user