mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
small fixes
- ignore upper case when determine index search - add open with different user image - add subtitle text for context menu containing folder
This commit is contained in:
parent
5d696bd3ab
commit
6befd6cbb1
5 changed files with 11 additions and 4 deletions
|
|
@ -136,7 +136,7 @@ namespace Flow.Launcher.Plugin.Explorer
|
|||
|
||||
return true;
|
||||
},
|
||||
IcoPath = "Images/user.png"
|
||||
IcoPath = Constants.DifferentUserIconImagePath
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -148,6 +148,7 @@ namespace Flow.Launcher.Plugin.Explorer
|
|||
return new Result
|
||||
{
|
||||
Title = "Open containing folder",
|
||||
SubTitle = "Opens the location that contains the file or folder",
|
||||
Action = _ =>
|
||||
{
|
||||
try
|
||||
|
|
|
|||
|
|
@ -51,7 +51,11 @@
|
|||
|
||||
<None Include="Images\folder.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</None>
|
||||
|
||||
<None Include="Images\user.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
BIN
Plugins/Flow.Launcher.Plugin.Explorer/Images/user.png
Normal file
BIN
Plugins/Flow.Launcher.Plugin.Explorer/Images/user.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
|
|
@ -13,6 +13,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
internal const string IndexImagePath = "Images\\index.png";
|
||||
internal const string ExcludeFromIndexImagePath = "Images\\excludeindexpath.png";
|
||||
internal const string ExplorerIconImagePath = "Images\\explorer.png";
|
||||
internal const string DifferentUserIconImagePath = "Images\\user.png";
|
||||
|
||||
internal const string DefaultFolderSubtitleString = "Ctrl + Enter to open the directory";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using Flow.Launcher.Plugin.Explorer.Search.DirectoryInfo;
|
||||
using Flow.Launcher.Plugin.Explorer.Search.DirectoryInfo;
|
||||
using Flow.Launcher.Plugin.Explorer.Search.FolderLinks;
|
||||
using Flow.Launcher.Plugin.Explorer.Search.WindowsIndex;
|
||||
using Flow.Launcher.Plugin.SharedCommands;
|
||||
|
|
@ -117,7 +117,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
|||
return false;
|
||||
|
||||
if (settings.IndexSearchExcludedSubdirectoryPaths
|
||||
.Any(x => FilesFolders.ReturnPreviousDirectoryIfIncompleteString(locationPath).StartsWith(x.Path)))
|
||||
.Any(x => FilesFolders.ReturnPreviousDirectoryIfIncompleteString(locationPath)
|
||||
.StartsWith(x.Path, StringComparison.OrdinalIgnoreCase)))
|
||||
return false;
|
||||
|
||||
return indexSearch.PathIsIndexed(locationPath);
|
||||
|
|
|
|||
Loading…
Reference in a new issue