Skip to content

Commit c0fe992

Browse files
committed
fixes from the upstream merge
1 parent bd316d4 commit c0fe992

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Settings/DockSettings.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ public class DockSettings
3131
public DockSettings()
3232
{
3333
// Initialize with default values
34+
PinnedCommands = [
35+
"com.microsoft.cmdpal.winget"
36+
];
37+
3438
StartBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.home" });
39+
StartBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.winget", ShowLabels = false });
3540

3641
EndBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.performanceMonitor" });
3742
EndBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.timedate.dockband" });

src/modules/cmdpal/Microsoft.CmdPal.UI/MainWindow.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,7 @@ private void HandleSummonCore(string commandId)
10281028
// but that's the price to pay for having the HWND not light-dismiss while we're debugging.
10291029
Cloak();
10301030
this.Hide();
1031+
WeakReferenceMessenger.Default.Send(new WindowHiddenMessage());
10311032

10321033
return;
10331034
}

src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WinGet/Pages/WinGetExtensionPage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ internal sealed partial class WinGetExtensionPage : DynamicListPage, IDisposable
4242
public WinGetExtensionPage(string tag = "")
4343
{
4444
Icon = tag == ExtensionsTag ? Icons.ExtensionsIcon : Icons.WinGetIcon;
45+
Id = tag == ExtensionsTag ? "com.microsoft.cmdpal.winget-extensions" : "com.microsoft.cmdpal.winget";
4546
Name = Properties.Resources.winget_page_name;
4647
_tag = tag;
4748
ShowDetails = true;

0 commit comments

Comments
 (0)