Skip to content

Commit 589e37a

Browse files
committed
Action QuickAccessLinks
1 parent fdeec11 commit 589e37a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ContextMenu.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ public List<Result> LoadContextMenus(Result selectedResult)
7575
{
7676
Settings.QuickAccessLinks.Add(new AccessLink
7777
{
78-
Path = record.FullPath, Type = record.Type
78+
Name = record.FullPath.GetPathName(),
79+
Path = record.FullPath,
80+
Type = record.Type
7981
});
8082

8183
Context.API.ShowMsg(Context.API.GetTranslation("plugin_explorer_addfilefoldersuccess"),

Plugins/Flow.Launcher.Plugin.Explorer/Languages/en.xaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
<system:String x:Key="plugin_explorer_generalsetting_header">General Setting</system:String>
3131
<system:String x:Key="plugin_explorer_manageactionkeywords_header">Customise Action Keywords</system:String>
3232
<system:String x:Key="plugin_explorer_manage_quick_access_links_header">Customise Quick Access</system:String>
33-
<system:String x:Key="plugin_explorer_manage_quick_access_addr">Add</system:String>
34-
3533
<system:String x:Key="plugin_explorer_quickaccesslinks_header">Quick Access Links</system:String>
3634
<system:String x:Key="plugin_explorer_everything_setting_header">Everything Setting</system:String>
3735
<system:String x:Key="plugin_explorer_previewpanel_setting_header">Preview Panel</system:String>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:local="clr-namespace:Flow.Launcher.Plugin.Explorer.Views"
66
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7-
Title="{DynamicResource plugin_explorer_manageactionkeywords_header}"
7+
Title="{DynamicResource plugin_explorer_manage_quick_access_links_header}"
88
Width="Auto"
99
Height="255"
1010
Background="{DynamicResource PopuBGColor}"
@@ -129,7 +129,7 @@
129129
Margin="5 0 0 0"
130130
Click="OnDoneButtonClick"
131131
Style="{StaticResource AccentButtonStyle}">
132-
<TextBlock x:Name="lblAdd" Text="{DynamicResource plugin_explorer_actionkeyword_done}" />
132+
<TextBlock x:Name="lblAdd" Text="{DynamicResource done}" />
133133
</Button>
134134
</StackPanel>
135135
</Border>

0 commit comments

Comments
 (0)