mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add new setting to enable favorite icons
This commit is contained in:
parent
524fb6a07e
commit
2f8e5b91b0
3 changed files with 12 additions and 0 deletions
|
|
@ -27,4 +27,6 @@
|
|||
<system:String x:Key="flowlauncher_plugin_browserbookmark_browserEngine">Browser Engine</system:String>
|
||||
<system:String x:Key="flowlauncher_plugin_browserbookmark_guideMessage01">If you are not using Chrome, Firefox or Edge, or you are using their portable version, you need to add bookmarks data directory and select correct browser engine to make this plugin work.</system:String>
|
||||
<system:String x:Key="flowlauncher_plugin_browserbookmark_guideMessage02">For example: Brave's engine is Chromium; and its default bookmarks data location is: "%LOCALAPPDATA%\BraveSoftware\Brave-Browser\UserData". For Firefox engine, the bookmarks directory is the userdata folder contains the places.sqlite file.</system:String>
|
||||
<system:String x:Key="flowlauncher_plugin_browserbookmark_enable_favorite_icons">Load favorite icons (It may cost much time)</system:String>
|
||||
|
||||
</ResourceDictionary>
|
||||
|
|
@ -8,6 +8,8 @@ public class Settings : BaseModel
|
|||
|
||||
public string BrowserPath { get; set; }
|
||||
|
||||
public bool EnableFavoriteIcons { get; set; } = false;
|
||||
|
||||
public bool LoadChromeBookmark { get; set; } = true;
|
||||
public bool LoadFirefoxBookmark { get; set; } = true;
|
||||
public bool LoadEdgeBookmark { get; set; } = true;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel
|
||||
Grid.Row="0"
|
||||
|
|
@ -91,5 +92,12 @@
|
|||
Content="{DynamicResource flowlauncher_plugin_browserbookmark_removeBrowserBookmark}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<CheckBox
|
||||
Grid.Row="2"
|
||||
Margin="{StaticResource SettingPanelItemTopBottomMargin}"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Content="{DynamicResource flowlauncher_plugin_browserbookmark_enable_favorite_icons}"
|
||||
IsChecked="{Binding Settings.EnableFavoriteIcons}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Loading…
Reference in a new issue