Merge pull request #1622 from onesounds/ChangeIcons

Icon changed & Fix non-glyph context menus
This commit is contained in:
Jeremy Wu 2022-12-12 19:58:12 +11:00 committed by GitHub
commit 84ca747d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 21 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -183,7 +183,8 @@ namespace Flow.Launcher.Plugin.BrowserBookmark
return false; return false;
} }
}, },
IcoPath = "Images\\copylink.png" IcoPath = "Images\\copylink.png",
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue8c8")
} }
}; };
} }
@ -200,4 +201,4 @@ namespace Flow.Launcher.Plugin.BrowserBookmark
} }
} }
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -82,7 +82,8 @@ namespace Flow.Launcher.Plugin.Explorer
}, },
SubTitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_titletooltip"), SubTitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_titletooltip"),
TitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_titletooltip"), TitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_titletooltip"),
IcoPath = Constants.QuickAccessImagePath IcoPath = Constants.QuickAccessImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue718"),
}); });
} }
else else
@ -107,7 +108,8 @@ namespace Flow.Launcher.Plugin.Explorer
}, },
SubTitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_remove_titletooltip"), SubTitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_remove_titletooltip"),
TitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_remove_titletooltip"), TitleToolTip = Context.API.GetTranslation("plugin_explorer_contextmenu_remove_titletooltip"),
IcoPath = Constants.RemoveQuickAccessImagePath IcoPath = Constants.RemoveQuickAccessImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\uecc9")
}); });
} }
@ -130,7 +132,8 @@ namespace Flow.Launcher.Plugin.Explorer
return false; return false;
} }
}, },
IcoPath = Constants.CopyImagePath IcoPath = Constants.CopyImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue8c8")
}); });
contextMenus.Add(new Result contextMenus.Add(new Result
@ -156,7 +159,8 @@ namespace Flow.Launcher.Plugin.Explorer
} }
}, },
IcoPath = icoPath IcoPath = icoPath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\uf12b")
}); });
@ -199,7 +203,8 @@ namespace Flow.Launcher.Plugin.Explorer
return true; return true;
}, },
IcoPath = Constants.DeleteFileFolderImagePath IcoPath = Constants.DeleteFileFolderImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue74d")
}); });
if (record.Type is not ResultType.Volume) if (record.Type is not ResultType.Volume)
@ -297,7 +302,8 @@ namespace Flow.Launcher.Plugin.Explorer
return true; return true;
}, },
IcoPath = Constants.FolderImagePath IcoPath = Constants.FolderImagePath,
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\ue838")
}; };
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -381,7 +381,8 @@ namespace Flow.Launcher.Plugin.Shell
Execute(ShellCommand.RunAsDifferentUser, PrepareProcessStartInfo(selectedResult.Title)); Execute(ShellCommand.RunAsDifferentUser, PrepareProcessStartInfo(selectedResult.Title));
return true; return true;
}, },
IcoPath = "Images/user.png" IcoPath = "Images/user.png",
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe7ee")
}, },
new Result new Result
{ {
@ -391,7 +392,8 @@ namespace Flow.Launcher.Plugin.Shell
Execute(Process.Start, PrepareProcessStartInfo(selectedResult.Title, true)); Execute(Process.Start, PrepareProcessStartInfo(selectedResult.Title, true));
return true; return true;
}, },
IcoPath = "Images/admin.png" IcoPath = "Images/admin.png",
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe7ef")
}, },
new Result new Result
{ {
@ -401,7 +403,8 @@ namespace Flow.Launcher.Plugin.Shell
Clipboard.SetDataObject(selectedResult.Title); Clipboard.SetDataObject(selectedResult.Title);
return true; return true;
}, },
IcoPath = "Images/copy.png" IcoPath = "Images/copy.png",
Glyph = new GlyphInfo(FontFamily: "/Resources/#Segoe Fluent Icons", Glyph: "\xe8c8")
} }
}; };

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB