|
505 | 505 | Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
|
506 | 506 | Content="{DynamicResource plugin_explorer_previewpanel_display_file_modification_checkbox}"
|
507 | 507 | IsChecked="{Binding ShowModifiedDateInPreviewPanel}" />
|
508 |
| - |
| 508 | + |
509 | 509 | <CheckBox
|
510 | 510 | Margin="{StaticResource SettingPanelItemLeftTopBottomMargin}"
|
511 | 511 | Content="{DynamicResource plugin_explorer_previewpanel_display_file_age_checkbox}"
|
|
718 | 718 | BorderThickness="1"
|
719 | 719 | DragEnter="lbxAccessLinks_DragEnter"
|
720 | 720 | Drop="LbxAccessLinks_OnDrop"
|
| 721 | + ItemTemplate="{StaticResource ListViewTemplateAccessLinks}" |
721 | 722 | 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}" /> |
742 | 724 | </Border>
|
743 | 725 |
|
744 | 726 | <StackPanel
|
|
756 | 738 | <Button
|
757 | 739 | MinWidth="100"
|
758 | 740 | Margin="{StaticResource SettingPanelItemLeftMargin}"
|
759 |
| - Command="{Binding EditQuickAccessLinkCommand}" |
| 741 | + Command="{Binding EditLinkCommand}" |
760 | 742 | CommandParameter="QuickAccessLink"
|
761 | 743 | Content="{DynamicResource plugin_explorer_edit}" />
|
762 | 744 | <Button
|
763 | 745 | MinWidth="100"
|
764 | 746 | Margin="{StaticResource SettingPanelItemLeftMargin}"
|
765 |
| - Command="{Binding AddQuickAccessLinkCommand}" |
| 747 | + Command="{Binding AddLinkCommand}" |
766 | 748 | CommandParameter="QuickAccessLink"
|
767 | 749 | Content="{DynamicResource plugin_explorer_add}" />
|
768 | 750 | </StackPanel>
|
|
816 | 798 | <Button
|
817 | 799 | MinWidth="100"
|
818 | 800 | Margin="{StaticResource SettingPanelItemLeftMargin}"
|
819 |
| - Command="{Binding EditIndexSearchExcludePathsCommand}" |
| 801 | + Command="{Binding EditLinkCommand}" |
820 | 802 | CommandParameter="IndexSearchExcludedPaths"
|
821 | 803 | Content="{DynamicResource plugin_explorer_edit}" />
|
822 | 804 | <Button
|
823 | 805 | MinWidth="100"
|
824 | 806 | Margin="{StaticResource SettingPanelItemLeftMargin}"
|
825 |
| - Command="{Binding AddIndexSearchExcludePathsCommand}" |
| 807 | + Command="{Binding AddLinkCommand}" |
826 | 808 | CommandParameter="IndexSearchExcludedPaths"
|
827 | 809 | Content="{DynamicResource plugin_explorer_add}" />
|
828 | 810 | </StackPanel>
|
|
0 commit comments