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,5 +1,6 @@
using Gtk;
using System;
using System.Reflection;
using GUI = Gtk.Builder.ObjectAttribute;
@ -19,6 +20,7 @@ namespace Ryujinx.Ui.Widgets
private ProfileDialog(Builder builder) : base(builder.GetObject("_profileDialog").Handle)
{
builder.Autoconnect(this);
Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png");
}
private void OkToggle_Activated(object sender, EventArgs args)