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:
@@ -55,7 +55,7 @@ public class ShellListPageHelpers
|
||||
|
||||
// Using CurrentCulture since this is user facing
|
||||
Subtitle = Properties.Resources.cmd_plugin_name + ": " + string.Format(CultureInfo.CurrentCulture, CmdHasBeenExecutedTimes, m.Value),
|
||||
Icon = new IconInfo("\uE81C"),
|
||||
Icon = Icons.HistoryIcon,
|
||||
};
|
||||
return ret;
|
||||
}).Where(o => o != null).Take(4);
|
||||
@@ -108,7 +108,7 @@ public class ShellListPageHelpers
|
||||
|
||||
// Using CurrentCulture since this is user facing
|
||||
Subtitle = Properties.Resources.cmd_plugin_name + ": " + string.Format(CultureInfo.CurrentCulture, CmdHasBeenExecutedTimes, m.Value),
|
||||
Icon = new IconInfo("\uE81C"),
|
||||
Icon = Icons.HistoryIcon,
|
||||
}).Take(5);
|
||||
|
||||
return history.ToList();
|
||||
|
||||
Reference in New Issue
Block a user