mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Standardizing built-in extension icon handling (#40606)
Just standardizing built-in extensions to use a `internal sealed class Icons` for all their non-dynamic icons. Looks like a LOT of changes, but it's icons all the way down.
This commit is contained in:
@@ -11,13 +11,11 @@ namespace Microsoft.CmdPal.Ext.WindowsServices;
|
||||
public partial class WindowsServicesCommandsProvider : CommandProvider
|
||||
{
|
||||
// For giggles, "%windir%\\system32\\filemgmt.dll" also _just works_.
|
||||
public static IconInfo ServicesIcon { get; } = IconHelpers.FromRelativePath("Assets\\Services.svg");
|
||||
|
||||
public WindowsServicesCommandsProvider()
|
||||
{
|
||||
Id = "Windows.Services";
|
||||
DisplayName = Resources.WindowsServicesProvider_DisplayName;
|
||||
Icon = ServicesIcon;
|
||||
Icon = Icons.ServicesIcon;
|
||||
}
|
||||
|
||||
public override ICommandItem[] TopLevelCommands()
|
||||
|
||||
Reference in New Issue
Block a user