From 827a95372228c6b00fe72306a3190099fe1583d6 Mon Sep 17 00:00:00 2001 From: Ioannis G Date: Wed, 15 Jul 2020 00:34:09 +0300 Subject: [PATCH 1/4] add PropertyChanged.Fody to Infrastructure project fixes various settings changes requiring a restart to take effect --- .../Flow.Launcher.Infrastructure.csproj | 2 ++ Flow.Launcher.Infrastructure/FodyWeavers.xml | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 Flow.Launcher.Infrastructure/FodyWeavers.xml diff --git a/Flow.Launcher.Infrastructure/Flow.Launcher.Infrastructure.csproj b/Flow.Launcher.Infrastructure/Flow.Launcher.Infrastructure.csproj index 3a756cd26eb..410d11536de 100644 --- a/Flow.Launcher.Infrastructure/Flow.Launcher.Infrastructure.csproj +++ b/Flow.Launcher.Infrastructure/Flow.Launcher.Infrastructure.csproj @@ -38,6 +38,7 @@ + @@ -55,6 +56,7 @@ + diff --git a/Flow.Launcher.Infrastructure/FodyWeavers.xml b/Flow.Launcher.Infrastructure/FodyWeavers.xml new file mode 100644 index 00000000000..4e68ed1a8b6 --- /dev/null +++ b/Flow.Launcher.Infrastructure/FodyWeavers.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file From 62a245f04936ec38e40414d8ca20ec814fa98593 Mon Sep 17 00:00:00 2001 From: Ioannis G Date: Thu, 16 Jul 2020 22:38:09 +0300 Subject: [PATCH 2/4] remove success message boxes --- Flow.Launcher/CustomQueryHotkeySetting.xaml.cs | 2 -- .../SearchSourceSetting.xaml.cs | 4 ---- 2 files changed, 6 deletions(-) diff --git a/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs b/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs index bf5c7d7691c..d036c008c58 100644 --- a/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs +++ b/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs @@ -57,7 +57,6 @@ private void btnAdd_OnClick(object sender, RoutedEventArgs e) App.API.ChangeQuery(pluginHotkey.ActionKeyword); Application.Current.MainWindow.Visibility = Visibility.Visible; }); - MessageBox.Show(InternationalizationManager.Instance.GetTranslation("success")); } else { @@ -76,7 +75,6 @@ private void btnAdd_OnClick(object sender, RoutedEventArgs e) App.API.ChangeQuery(updateCustomHotkey.ActionKeyword); Application.Current.MainWindow.Visibility = Visibility.Visible; }); - MessageBox.Show(InternationalizationManager.Instance.GetTranslation("success")); } Close(); diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml.cs b/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml.cs index c82fe97c039..9ecdda23f00 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SearchSourceSetting.xaml.cs @@ -83,8 +83,6 @@ private void AddSearchSource() _searchSources.Add(_searchSource); - var info = _api.GetTranslation("success"); - MessageBox.Show(info); Close(); } else @@ -106,8 +104,6 @@ private void EditSearchSource() var index = _searchSources.IndexOf(_oldSearchSource); _searchSources[index] = _searchSource; - var info = _api.GetTranslation("success"); - MessageBox.Show(info); Close(); } else From b505a32693296cd922df9ad0f6958ec1ed65bb63 Mon Sep 17 00:00:00 2001 From: Ioannis G Date: Thu, 16 Jul 2020 23:12:54 +0300 Subject: [PATCH 3/4] UI: use NoWrap for browser-path text boxes --- .../Views/SettingsControl.xaml | 2 +- Plugins/Flow.Launcher.Plugin.Url/SettingsControl.xaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml index 0aea8f04e37..a87841b1631 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/SettingsControl.xaml @@ -31,7 +31,7 @@