From c240f1e2e03fcb1eedc5ae6d8a7266184b21d40d Mon Sep 17 00:00:00 2001 From: DB p Date: Sat, 11 Feb 2023 07:37:18 +0900 Subject: [PATCH] - Added Guide Texts in CustomBrowsePopup - Added 'Edit' Button, It will be disable when non-select situation - Added Browse Button in Path Select Textbox --- ...low.Launcher.Plugin.BrowserBookmark.csproj | 14 ++- .../Languages/en.xaml | 5 + .../Views/CustomBrowserSetting.xaml | 73 +++++++++--- .../Views/CustomBrowserSetting.xaml.cs | 15 ++- .../Views/SettingsControl.xaml | 108 ++++++++++-------- .../Views/SettingsControl.xaml.cs | 9 ++ 6 files changed, 153 insertions(+), 71 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Flow.Launcher.Plugin.BrowserBookmark.csproj b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Flow.Launcher.Plugin.BrowserBookmark.csproj index c42378a9a..253a53f1e 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Flow.Launcher.Plugin.BrowserBookmark.csproj +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Flow.Launcher.Plugin.BrowserBookmark.csproj @@ -64,14 +64,16 @@ + + + ..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Windows.Forms.dll + + + - - + + diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/en.xaml index 5dbe925c1..427b538ff 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Languages/en.xaml @@ -20,7 +20,12 @@ Browser Name Data Directory Path Add + Edit Delete + Browse Others Browser Engine + If you are using a special browser such as Brave or Librewolf, or a portable version, you must add the bookmarks data directory (not file) and engine type in order for this plugin to work. + For example: Brave's engine is Chromium; and its default bookmark data location is: "C:\Users\username\AppData\Local\BraveSoftware\Brave-Browser\UserData". + After changing these values, close all setting windows and press F5 when Flow Launcher is open to reload the plug-in. \ No newline at end of file diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml index 499d22834..a8ecb54f9 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views/CustomBrowserSetting.xaml @@ -7,7 +7,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="clr-namespace:Flow.Launcher.Infrastructure.UI;assembly=Flow.Launcher.Infrastructure" Title="{DynamicResource flowlauncher_plugin_browserbookmark_bookmarkDataSetting}" - Width="520" + Width="550" Background="{DynamicResource PopuBGColor}" Foreground="{DynamicResource PopupTextColor}" KeyDown="WindowKeyDown" @@ -71,8 +71,8 @@ TextAlignment="Left" /> - - + + @@ -81,17 +81,45 @@ + - + + + + + - + SelectedItem="{Binding BrowserType}" /> - + LastChildFill="True"> + +