mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
cmdpal: add IDs to all PT commands (#45840)
Adds IDs to all the PT extension commands. This will let all the PT commands be pinned, ala #45191
This commit is contained in:
@@ -22,21 +22,21 @@ internal sealed class FancyZonesModuleCommandProvider : ModuleCommandProvider
|
||||
|
||||
if (ModuleEnablementService.IsModuleEnabled(module))
|
||||
{
|
||||
yield return new ListItem(new CommandItem(new FancyZonesLayoutsPage()))
|
||||
yield return new ListItem(new CommandItem(new FancyZonesLayoutsPage() { Id = "com.microsoft.powertoys.fancyZones.layouts" }))
|
||||
{
|
||||
Title = Resources.FancyZones_Layouts_Title,
|
||||
Subtitle = Resources.FancyZones_Layouts_Subtitle,
|
||||
Icon = icon,
|
||||
};
|
||||
|
||||
yield return new ListItem(new CommandItem(new FancyZonesMonitorsPage()))
|
||||
yield return new ListItem(new CommandItem(new FancyZonesMonitorsPage() { Id = "com.microsoft.powertoys.fancyZones.monitors" }))
|
||||
{
|
||||
Title = Resources.FancyZones_Monitors_Title,
|
||||
Subtitle = Resources.FancyZones_Monitors_Subtitle,
|
||||
Icon = icon,
|
||||
};
|
||||
|
||||
yield return new ListItem(new OpenFancyZonesEditorCommand())
|
||||
yield return new ListItem(new OpenFancyZonesEditorCommand() { Id = "com.microsoft.powertoys.fancyZones.openEditor" })
|
||||
{
|
||||
Title = Resources.FancyZones_OpenEditor_Title,
|
||||
Subtitle = Resources.FancyZones_OpenEditor_Subtitle,
|
||||
@@ -44,7 +44,7 @@ internal sealed class FancyZonesModuleCommandProvider : ModuleCommandProvider
|
||||
};
|
||||
}
|
||||
|
||||
yield return new ListItem(new OpenInSettingsCommand(module, title))
|
||||
yield return new ListItem(new OpenInSettingsCommand(module, title) { Id = "com.microsoft.powertoys.fancyZones.openSettings" })
|
||||
{
|
||||
Title = title,
|
||||
Subtitle = Resources.FancyZones_Settings_Subtitle,
|
||||
|
||||
Reference in New Issue
Block a user