diff --git a/NAPS2.Lib/EtoForms/Ui/DesktopCommands.cs b/NAPS2.Lib/EtoForms/Ui/DesktopCommands.cs index 9c1bc604f..750a88d4c 100644 --- a/NAPS2.Lib/EtoForms/Ui/DesktopCommands.cs +++ b/NAPS2.Lib/EtoForms/Ui/DesktopCommands.cs @@ -183,7 +183,8 @@ public class DesktopCommands // TODO: Make this an image form with options DocumentCorrection = new ActionCommand(imageListActions.DocumentCorrection) { - Text = UiStrings.DocumentCorrection + Text = UiStrings.DocumentCorrection, + Image = iconProvider.GetIcon("document") }; ResetImage = new ActionCommand(desktopController.ResetImage) { diff --git a/NAPS2.Lib/Icons.Designer.cs b/NAPS2.Lib/Icons.Designer.cs index 855049227..1f57adc0d 100644 --- a/NAPS2.Lib/Icons.Designer.cs +++ b/NAPS2.Lib/Icons.Designer.cs @@ -459,6 +459,16 @@ namespace NAPS2 { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] document { + get { + object obj = ResourceManager.GetObject("document", resourceCulture); + return ((byte[])(obj)); + } + } + /// /// Looks up a localized resource of type System.Byte[]. /// diff --git a/NAPS2.Lib/Icons.resx b/NAPS2.Lib/Icons.resx index 4da775c08..663ee19f0 100644 --- a/NAPS2.Lib/Icons.resx +++ b/NAPS2.Lib/Icons.resx @@ -400,4 +400,7 @@ Icons\redo.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Icons\document.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/NAPS2.Lib/Icons/document.png b/NAPS2.Lib/Icons/document.png new file mode 100644 index 000000000..d041c57e7 Binary files /dev/null and b/NAPS2.Lib/Icons/document.png differ