Fix Linux Icon (#1927)

This commit is contained in:
pineappleEA 2021-01-18 22:33:58 +02:00 committed by GitHub
parent a1f77a5b6a
commit 4da6742861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 0 deletions

View file

@ -1,4 +1,5 @@
using Gtk;
using System.Reflection;
namespace Ryujinx.Ui.Applet
{
@ -6,6 +7,8 @@ namespace Ryujinx.Ui.Applet
{
public ErrorAppletDialog(Window parentWindow, DialogFlags dialogFlags, MessageType messageType, string[] buttons) : base(parentWindow, dialogFlags, messageType, ButtonsType.None, null)
{
Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png");
int responseId = 0;
if (buttons != null)