Add TransactionBroadcaster to tools menu.
MODIFY
WalletWasabi.Gui/Icons/Icons.xaml
WalletWasabi.Gui/Icons/Icons.xaml
<GeometryDrawing Brush="#FF1BA1E2" Geometry="F1M7,7.5L9,7.5 9,12 7,12z M7,4L9,4 9,5.5 7,5.5z M8,14C4.691,14 2,11.309 2,8 2,4.691 4.691,2 8,2 11.309,2 14,4.691 14,8 14,11.309 11.309,14 8,14 M8,1C4.14,1 1,4.14 1,8 1,11.859 4.14,15 8,15 11.859,15 15,11.859 15,8 15,4.14 11.859,1 8,1" />
</DrawingGroup.Children>
</DrawingGroup>
- <DrawingGroup x:Key="WalletExplorerView_Broadcast">
+ <DrawingGroup x:Key="BroadcastTransaction">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M10,3.7446C9.3,3.7446,8.629,3.8656,8,4.0776L8,3.9996 4,-0.000399999999999956 0,3.9996 0,8.8276 2,6.8276 2,8.9996 3.836,8.9996C3.784,9.3236 3.75,9.6516 3.75,9.9896 3.75,10.1726 3.76,10.3426 3.776,10.5176 3.79,10.6776 3.813,10.8126 3.841,10.9856 4.262,13.5246 6.203,15.4776 8.675,15.9996L9.056,15.9996 9.075,15.9996 11.72,15.9996C13.797,15.4116,15.406,13.8066,16,11.7616L16,8.2786C15.258,5.6456,12.862,3.7446,10,3.7446" />

MODIFY
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
@@ -30,6 +30,8 @@ namespace WalletWasabi.Gui.Shell.Commands
var settingsCommand = ReactiveCommand.Create(() => IoC.Get<IShell>().AddOrSelectDocument(() => new SettingsViewModel(Global)));
+ var transationBroadcasterCommand = ReactiveCommand.Create(() => IoC.Get<IShell>().AddOrSelectDocument(() => new TransactionBroadcasterViewModel(Global)));
+
#if DEBUG
var devToolsCommand = ReactiveCommand.Create(() =>
{
@@ -55,6 +57,11 @@ namespace WalletWasabi.Gui.Shell.Commands
commandIconService.GetCompletionKindImage("Settings"),
settingsCommand);
+ TransactionBroadcasterCommand = new CommandDefinition(
+ "Broadcast Transaction",
+ commandIconService.GetCompletionKindImage("BroadcastTransaction"),
+ transationBroadcasterCommand);
+
#if DEBUG
DevToolsCommand = new CommandDefinition(
"Dev Tools",
@@ -87,6 +94,9 @@ namespace WalletWasabi.Gui.Shell.Commands
[ExportCommandDefinition("Tools.Settings")]
public CommandDefinition SettingsCommand { get; }
+ [ExportCommandDefinition("Tools.BroadcastTransaction")]
+ public CommandDefinition TransactionBroadcasterCommand { get; }
+
#if DEBUG
[ExportCommandDefinition("Tools.DevTools")]

MODIFY
WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs
WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs
@@ -31,8 +31,12 @@ namespace WalletWasabi.Gui.Shell.MainMenu
[DefaultOrder(0)]
public object ManagersGroup => null;
+ [ExportMainMenuDefaultGroup("Tools", "Utilities")]
+ [DefaultOrder(10)]
+ public object UtilitiesGroup => null;
+
[ExportMainMenuDefaultGroup("Tools", "Settings")]
- [DefaultOrder(1)]
+ [DefaultOrder(20)]
public object SettingsGroup => null;
#endregion Group
@@ -40,21 +44,25 @@ namespace WalletWasabi.Gui.Shell.MainMenu
#region MenuItem
[ExportMainMenuItem("Tools", "Wallet Manager")]
- [DefaultOrder(0)]
+ [DefaultOrder(1)]
[DefaultGroup("Managers")]
public IMenuItem WalletManager => MenuItemFactory.CreateCommandMenuItem("Tools.WalletManager");
#if DEBUG
[ExportMainMenuItem("Tools", "Dev Tools")]
- [DefaultOrder(1)]
+ [DefaultOrder(10)]
[DefaultGroup("Managers")]
public IMenuItem DevTools => MenuItemFactory.CreateCommandMenuItem("Tools.DevTools");
-
#endif
+ [ExportMainMenuItem("Tools", "Broadcast Transaction")]
+ [DefaultOrder(1)]
+ [DefaultGroup("Utilities")]
+ public IMenuItem BroadcastTransation => MenuItemFactory.CreateCommandMenuItem("Tools.BroadcastTransaction");
+
[ExportMainMenuItem("Tools", "Settings")]
- [DefaultOrder(2)]
+ [DefaultOrder(20)]
[DefaultGroup("Settings")]
public IMenuItem Settings => MenuItemFactory.CreateCommandMenuItem("Tools.Settings");

Add TransactionBroadcaster to tools menu.