File tree Expand file tree Collapse file tree
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 <system : String x : Key =" plugin_explorer_path_enumeration_engine_none" >Direct Enumeration</system : String >
6060 <system : String x : Key =" plugin_explorer_file_editor_path" >File Editor Path</system : String >
6161 <system : String x : Key =" plugin_explorer_folder_editor_path" >Folder Editor Path</system : String >
62+ <system : String x : Key =" plugin_explorer_enabled" >Enabled</system : String >
63+ <system : String x : Key =" plugin_explorer_disabled" >Disabled</system : String >
6264
6365 <system : String x : Key =" plugin_explorer_Content_Search_Engine" >Content Search Engine</system : String >
6466 <system : String x : Key =" plugin_explorer_Directory_Recursive_Search_Engine" >Directory Recursive Search Engine</system : String >
Original file line number Diff line number Diff line change 127127 </Style >
128128 </TextBlock .Style>
129129 </TextBlock >
130+
130131 <TextBlock
131132 Margin =" 250 5 0 0"
132133 IsEnabled =" {Binding Enabled}"
144145 </Style >
145146 </TextBlock .Style>
146147 </TextBlock >
148+
149+ <TextBlock Margin =" 500 5 0 0" >
150+ <TextBlock .Style>
151+ <Style TargetType =" {x:Type TextBlock}" >
152+ <Style .Triggers>
153+ <DataTrigger Binding =" {Binding Enabled}" Value =" True" >
154+ <Setter Property =" Text" Value =" {DynamicResource plugin_explorer_enabled}" />
155+ <Setter Property =" Foreground" Value =" {DynamicResource Color05B}" />
156+ </DataTrigger >
157+ <DataTrigger Binding =" {Binding Enabled}" Value =" False" >
158+ <Setter Property =" Text" Value =" {DynamicResource plugin_explorer_disabled}" />
159+ <Setter Property =" Foreground" Value =" {DynamicResource Color18B}" />
160+ </DataTrigger >
161+ </Style .Triggers>
162+ </Style >
163+ </TextBlock .Style>
164+ </TextBlock >
147165 </Grid >
148166 </DataTemplate >
167+
149168 <converters : EnumNameConverter x : Key =" EnumNameConverter" />
150169 </UserControl .Resources>
151170 <Grid Margin =" 0" >
346365 Grid.Row=" 3"
347366 Grid.Column=" 1"
348367 MinWidth =" 350"
349- Margin =" 0,9,0, 6"
350- ToolTip =" {DynamicResource plugin_explorer_Excluded_File_Types_Tooltip }"
351- Text =" {Binding ExcludedFileTypes }" />
368+ Margin =" 0 9 0 6"
369+ Text =" {Binding ExcludedFileTypes }"
370+ ToolTip =" {DynamicResource plugin_explorer_Excluded_File_Types_Tooltip }" />
352371 <TextBlock
353372 Grid.Row=" 4"
354373 Grid.Column=" 0"
360379 Grid.Row=" 4"
361380 Grid.Column=" 1"
362381 MinWidth =" 350"
363- Margin =" 0,9,0, 6"
382+ Margin =" 0 9 0 6"
364383 HorizontalAlignment =" Left"
365384 VerticalAlignment =" Center"
366- PreviewTextInput =" AllowOnlyNumericInput"
367385 MaxLength =" 6"
386+ PreviewTextInput =" AllowOnlyNumericInput"
368387 Text =" {Binding MaxResult}"
369- ToolTip =" {DynamicResource plugin_explorer_Maximum_Results_Tooltip}" />
388+ ToolTip =" {DynamicResource plugin_explorer_Maximum_Results_Tooltip}" />
370389 </Grid >
371390 </StackPanel >
372391 <StackPanel Orientation =" Horizontal" >
You can’t perform that action at this time.
0 commit comments