mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add "Enabled" Column in Customize Action Keyword Tab
This commit is contained in:
parent
70cb55ed07
commit
0fe8eb51f5
2 changed files with 28 additions and 7 deletions
|
|
@ -26,7 +26,7 @@
|
|||
<system:String x:Key="plugin_explorer_edit">Edit</system:String>
|
||||
<system:String x:Key="plugin_explorer_add">Add</system:String>
|
||||
<system:String x:Key="plugin_explorer_generalsetting_header">General Setting</system:String>
|
||||
<system:String x:Key="plugin_explorer_manageactionkeywords_header">Customise Action Keywords</system:String>
|
||||
<system:String x:Key="plugin_explorer_manageactionkeywords_header">Customize Action Keywords</system:String>
|
||||
<system:String x:Key="plugin_explorer_quickaccesslinks_header">Quick Access Links</system:String>
|
||||
<system:String x:Key="plugin_explorer_everything_setting_header">Everything Setting</system:String>
|
||||
<system:String x:Key="plugin_explorer_previewpanel_setting_header">Preview Panel</system:String>
|
||||
|
|
@ -59,6 +59,8 @@
|
|||
<system:String x:Key="plugin_explorer_path_enumeration_engine_none">Direct Enumeration</system:String>
|
||||
<system:String x:Key="plugin_explorer_file_editor_path">File Editor Path</system:String>
|
||||
<system:String x:Key="plugin_explorer_folder_editor_path">Folder Editor Path</system:String>
|
||||
<system:String x:Key="plugin_explorer_enabled">Enabled</system:String>
|
||||
<system:String x:Key="plugin_explorer_disabled">Disabled</system:String>
|
||||
|
||||
<system:String x:Key="plugin_explorer_Content_Search_Engine">Content Search Engine</system:String>
|
||||
<system:String x:Key="plugin_explorer_Directory_Recursive_Search_Engine">Directory Recursive Search Engine</system:String>
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@
|
|||
</Style>
|
||||
</TextBlock.Style>
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock
|
||||
Margin="250 5 0 0"
|
||||
IsEnabled="{Binding Enabled}"
|
||||
|
|
@ -144,8 +145,26 @@
|
|||
</Style>
|
||||
</TextBlock.Style>
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock Margin="500 5 0 0">
|
||||
<TextBlock.Style>
|
||||
<Style TargetType="{x:Type TextBlock}">
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding Enabled}" Value="True">
|
||||
<Setter Property="Text" Value="{DynamicResource plugin_explorer_enabled}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Color05B}" />
|
||||
</DataTrigger>
|
||||
<DataTrigger Binding="{Binding Enabled}" Value="False">
|
||||
<Setter Property="Text" Value="{DynamicResource plugin_explorer_disabled}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource Color18B}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</TextBlock.Style>
|
||||
</TextBlock>
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
|
||||
<converters:EnumNameConverter x:Key="EnumNameConverter" />
|
||||
</UserControl.Resources>
|
||||
<Grid Margin="0">
|
||||
|
|
@ -346,9 +365,9 @@
|
|||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
MinWidth="350"
|
||||
Margin="0,9,0,6"
|
||||
ToolTip="{DynamicResource plugin_explorer_Excluded_File_Types_Tooltip}"
|
||||
Text="{Binding ExcludedFileTypes}" />
|
||||
Margin="0 9 0 6"
|
||||
Text="{Binding ExcludedFileTypes}"
|
||||
ToolTip="{DynamicResource plugin_explorer_Excluded_File_Types_Tooltip}" />
|
||||
<TextBlock
|
||||
Grid.Row="4"
|
||||
Grid.Column="0"
|
||||
|
|
@ -360,13 +379,13 @@
|
|||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
MinWidth="350"
|
||||
Margin="0,9,0,6"
|
||||
Margin="0 9 0 6"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
PreviewTextInput="AllowOnlyNumericInput"
|
||||
MaxLength="6"
|
||||
PreviewTextInput="AllowOnlyNumericInput"
|
||||
Text="{Binding MaxResult}"
|
||||
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}"/>
|
||||
ToolTip="{DynamicResource plugin_explorer_Maximum_Results_Tooltip}" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
|
|
|||
Loading…
Reference in a new issue