Skip to content

Commit 6693cb1

Browse files
committed
Revert changes in ExplorerSettings.xaml
1 parent 65eb648 commit 6693cb1

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Views/ExplorerSettings.xaml

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@
505505
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
506506
Content="{DynamicResource plugin_explorer_previewpanel_display_file_modification_checkbox}"
507507
IsChecked="{Binding ShowModifiedDateInPreviewPanel}" />
508-
508+
509509
<CheckBox
510510
Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
511511
Content="{DynamicResource plugin_explorer_previewpanel_display_file_age_checkbox}"
@@ -718,27 +718,9 @@
718718
BorderThickness="1"
719719
DragEnter="lbxAccessLinks_DragEnter"
720720
Drop="LbxAccessLinks_OnDrop"
721+
ItemTemplate="{StaticResource ListViewTemplateAccessLinks}"
721722
ItemsSource="{Binding Settings.QuickAccessLinks}"
722-
SelectedItem="{Binding SelectedQuickAccessLink, Mode=TwoWay}">
723-
<ListView.View>
724-
<GridView>
725-
<GridViewColumn Width="600" Header="{DynamicResource plugin_explorer_name}">
726-
<GridViewColumn.CellTemplate>
727-
<DataTemplate>
728-
<TextBlock Text="{Binding Name}" />
729-
</DataTemplate>
730-
</GridViewColumn.CellTemplate>
731-
</GridViewColumn>
732-
<GridViewColumn Width="900" Header="{DynamicResource plugin_explorer_path}">
733-
<GridViewColumn.CellTemplate>
734-
<DataTemplate>
735-
<TextBlock Text="{Binding Path}" TextTrimming="CharacterEllipsis" />
736-
</DataTemplate>
737-
</GridViewColumn.CellTemplate>
738-
</GridViewColumn>
739-
</GridView>
740-
</ListView.View>
741-
</ListView>
723+
SelectedItem="{Binding SelectedQuickAccessLink}" />
742724
</Border>
743725

744726
<StackPanel
@@ -756,13 +738,13 @@
756738
<Button
757739
MinWidth="100"
758740
Margin="{StaticResource SettingPanelItemLeftMargin}"
759-
Command="{Binding EditQuickAccessLinkCommand}"
741+
Command="{Binding EditLinkCommand}"
760742
CommandParameter="QuickAccessLink"
761743
Content="{DynamicResource plugin_explorer_edit}" />
762744
<Button
763745
MinWidth="100"
764746
Margin="{StaticResource SettingPanelItemLeftMargin}"
765-
Command="{Binding AddQuickAccessLinkCommand}"
747+
Command="{Binding AddLinkCommand}"
766748
CommandParameter="QuickAccessLink"
767749
Content="{DynamicResource plugin_explorer_add}" />
768750
</StackPanel>
@@ -816,13 +798,13 @@
816798
<Button
817799
MinWidth="100"
818800
Margin="{StaticResource SettingPanelItemLeftMargin}"
819-
Command="{Binding EditIndexSearchExcludePathsCommand}"
801+
Command="{Binding EditLinkCommand}"
820802
CommandParameter="IndexSearchExcludedPaths"
821803
Content="{DynamicResource plugin_explorer_edit}" />
822804
<Button
823805
MinWidth="100"
824806
Margin="{StaticResource SettingPanelItemLeftMargin}"
825-
Command="{Binding AddIndexSearchExcludePathsCommand}"
807+
Command="{Binding AddLinkCommand}"
826808
CommandParameter="IndexSearchExcludedPaths"
827809
Content="{DynamicResource plugin_explorer_add}" />
828810
</StackPanel>

0 commit comments

Comments
 (0)