aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Ui/Applet
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Ui/Applet')
-rw-r--r--Ryujinx/Ui/Applet/ErrorAppletDialog.cs3
-rw-r--r--Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs4
2 files changed, 4 insertions, 3 deletions
diff --git a/Ryujinx/Ui/Applet/ErrorAppletDialog.cs b/Ryujinx/Ui/Applet/ErrorAppletDialog.cs
index db02040f..d4cc7ccc 100644
--- a/Ryujinx/Ui/Applet/ErrorAppletDialog.cs
+++ b/Ryujinx/Ui/Applet/ErrorAppletDialog.cs
@@ -1,4 +1,5 @@
using Gtk;
+using Ryujinx.Ui.Common.Configuration;
using System.Reflection;
namespace Ryujinx.Ui.Applet
@@ -7,7 +8,7 @@ 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");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
int responseId = 0;
diff --git a/Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs b/Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs
index 92e99385..79df3cc7 100644
--- a/Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs
+++ b/Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs
@@ -52,7 +52,7 @@ namespace Ryujinx.Ui.Applet
[GLib.ConnectBefore()]
private void HandleKeyPressEvent(object o, KeyPressEventArgs args)
{
- var key = (Common.Configuration.Hid.Key)GTK3MappingHelper.ToInputKey(args.Event.Key);
+ var key = (Ryujinx.Common.Configuration.Hid.Key)GTK3MappingHelper.ToInputKey(args.Event.Key);
if (!(KeyPressedEvent?.Invoke(key)).GetValueOrDefault(true))
{
@@ -70,7 +70,7 @@ namespace Ryujinx.Ui.Applet
[GLib.ConnectBefore()]
private void HandleKeyReleaseEvent(object o, KeyReleaseEventArgs args)
{
- var key = (Common.Configuration.Hid.Key)GTK3MappingHelper.ToInputKey(args.Event.Key);
+ var key = (Ryujinx.Common.Configuration.Hid.Key)GTK3MappingHelper.ToInputKey(args.Event.Key);
if (!(KeyReleasedEvent?.Invoke(key)).GetValueOrDefault(true))
{