Skip to content

Commit ac190bd

Browse files
Merge pull request #1759 from VictoriousRaptor/AddGlyphForOpenWithEditor
Add glyph for open with editor/shell
2 parents 6615d5e + 181b020 commit ac190bd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ private Result CreateOpenWithEditorResult(SearchResult record, string editorPath
339339
return false;
340340
}
341341
},
342+
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue70f"),
342343
IcoPath = Constants.FileImagePath
343344
};
344345
}
@@ -371,7 +372,8 @@ private Result CreateOpenWithShellResult(SearchResult record)
371372
return false;
372373
}
373374
},
374-
IcoPath = Constants.FileImagePath
375+
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue756"),
376+
IcoPath = Constants.FolderImagePath
375377
};
376378
}
377379

@@ -437,7 +439,7 @@ private Result CreateOpenWindowsIndexingOptions()
437439
};
438440
}
439441

440-
public void LogException(string message, Exception e)
442+
private void LogException(string message, Exception e)
441443
{
442444
Log.Exception($"|Flow.Launcher.Plugin.Folder.ContextMenu|{message}", e);
443445
}

0 commit comments

Comments
 (0)