1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-31 07:56:27 -05:00

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
8 changed files with 20 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
using Gtk;
using System.Reflection;
using Ryujinx.Common.Logging;
namespace Ryujinx.Ui.Widgets
@@ -11,6 +12,7 @@ namespace Ryujinx.Ui.Widgets
: base(null, DialogFlags.Modal, messageType, buttonsType, null)
{
Title = title;
Icon = new Gdk.Pixbuf(Assembly.GetExecutingAssembly(), "Ryujinx.Ui.Resources.Logo_Ryujinx.png");
Text = mainText;
SecondaryText = secondaryText;
WindowPosition = WindowPosition.Center;