Add remaining menu items.
MODIFY
WalletWasabi.Dependencies/AvalonStudio.Shell
WalletWasabi.Dependencies/AvalonStudio.Shell
-Subproject commit abaaca82c2adf0447664fdb28938d28cff66c0f4
+Subproject commit abadb8f8bd6a6520c06bfa0d7bb52109130da948

MODIFY
WalletWasabi.Gui/Shell/Commands/WalletCommands.cs
WalletWasabi.Gui/Shell/Commands/WalletCommands.cs
@@ -5,17 +5,29 @@ namespace WalletWasabi.Gui.Shell.Commands
{
internal class WalletCommands
{
- [ExportCommandDefinition("File.GenerateWallet")]
- public CommandDefinition GenerateWalletCommand { get; }
-
public WalletCommands()
{
GenerateWalletCommand = new CommandDefinition(
"Generate Wallet", null, ReactiveCommand.Create(OnGenerateWallet));
+
+ RecoverWalletCommand = new CommandDefinition(
+ "Recover Wallet", null, ReactiveCommand.Create(() => { }));
+
+ LoadWallet = new CommandDefinition(
+ "Load Wallet", null, ReactiveCommand.Create(() => { }));
}
private void OnGenerateWallet()
{
}
+
+ [ExportCommandDefinition("File.GenerateWallet")]
+ public CommandDefinition GenerateWalletCommand { get; }
+
+ [ExportCommandDefinition("File.RecoverWallet")]
+ public CommandDefinition RecoverWalletCommand { get; }
+
+ [ExportCommandDefinition("File.LoadWallet")]
+ public CommandDefinition LoadWallet { get; }
}
}

MODIFY
WalletWasabi.Gui/Shell/MainMenu/FileMainMenuItems.cs
WalletWasabi.Gui/Shell/MainMenu/FileMainMenuItems.cs
@@ -30,6 +30,16 @@ namespace WalletWasabi.Gui.Shell.MainMenu
[DefaultGroup("Wallet")]
public IMenuItem GenerateWallet => _menuItemFactory.CreateCommandMenuItem("File.GenerateWallet");
+ [ExportMainMenuItem("File", "Recover Wallet")]
+ [DefaultOrder(10)]
+ [DefaultGroup("Wallet")]
+ public IMenuItem Recover => _menuItemFactory.CreateCommandMenuItem("File.RecoverWallet");
+
+ [ExportMainMenuItem("File", "Load Wallet")]
+ [DefaultOrder(20)]
+ [DefaultGroup("Wallet")]
+ public IMenuItem LoadWallet => _menuItemFactory.CreateCommandMenuItem("File.LoadWallet");
+
[ExportMainMenuDefaultGroup("File", "Exit")]
[DefaultOrder(1000)]
public object ExitGroup => null;

Add remaining menu items.