Skip to content

Commit 8898a09

Browse files
committed
Add Glyph for open with
Signed-off-by: Florian Grabmeier <[email protected]>
1 parent 1327250 commit 8898a09

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ public List<Result> LoadContextMenus(Result selectedResult)
5252
}
5353
}
5454

55+
contextMenus.Add(CreateOpenContainingFolderResult(record));
56+
5557
if (record.Type == ResultType.File)
5658
{
5759
contextMenus.Add(CreateOpenWithMenu(record));
5860
}
5961

60-
contextMenus.Add(CreateOpenContainingFolderResult(record));
61-
6262
if (record.WindowsIndexed)
6363
{
6464
contextMenus.Add(CreateOpenWindowsIndexingOptions());
@@ -450,7 +450,8 @@ private Result CreateOpenWithMenu(SearchResult record)
450450
Process.Start("rundll32.exe", $"{Path.Combine(Environment.SystemDirectory, "shell32.dll")},OpenAs_RunDLL {record.FullPath}");
451451
return true;
452452
},
453-
IcoPath = Constants.ShowContextMenuImagePath
453+
IcoPath = Constants.ShowContextMenuImagePath,
454+
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue700"),
454455
};
455456
}
456457

0 commit comments

Comments
 (0)