aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx/Ui/Windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx/Ui/Windows')
-rw-r--r--src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs22
-rw-r--r--src/Ryujinx/Ui/Windows/AboutWindow.cs5
2 files changed, 27 insertions, 0 deletions
diff --git a/src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs b/src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs
index fa1a0657..3edc002d 100644
--- a/src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs
+++ b/src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs
@@ -48,6 +48,8 @@ namespace Ryujinx.Ui.Windows
private Label _patreonNamesLabel;
private ScrolledWindow _patreonNamesScrolled;
private TextView _patreonNamesText;
+ private EventBox _changelogEventBox;
+ private Label _changelogLinkLabel;
private void InitializeComponent()
{
@@ -149,6 +151,23 @@ namespace Ryujinx.Ui.Windows
};
//
+ // _changelogEventBox
+ //
+ _changelogEventBox = new EventBox();
+ _changelogEventBox.ButtonPressEvent += ChangelogButton_Pressed;
+
+ //
+ // _changelogLinkLabel
+ //
+ _changelogLinkLabel = new Label("View Changelog on GitHub")
+ {
+ TooltipText = "Click to open the changelog for this version in your default browser.",
+ Justify = Justification.Center,
+ Attributes = new AttrList()
+ };
+ _changelogLinkLabel.Attributes.Insert(new Pango.AttrUnderline(Underline.Single));
+
+ //
// _disclaimerLabel
//
_disclaimerLabel = new Label("Ryujinx is not affiliated with Nintendoâ„¢,\nor any of its partners, in any way.")
@@ -464,8 +483,11 @@ namespace Ryujinx.Ui.Windows
_socialBox.Add(_discordEventBox);
_socialBox.Add(_twitterEventBox);
+ _changelogEventBox.Add(_changelogLinkLabel);
+
_leftBox.Add(_logoBox);
_leftBox.Add(_versionLabel);
+ _leftBox.Add(_changelogEventBox);
_leftBox.Add(_disclaimerLabel);
_leftBox.Add(_amiiboApiLink);
_leftBox.Add(_socialBox);
diff --git a/src/Ryujinx/Ui/Windows/AboutWindow.cs b/src/Ryujinx/Ui/Windows/AboutWindow.cs
index 41cf9c01..15bfa500 100644
--- a/src/Ryujinx/Ui/Windows/AboutWindow.cs
+++ b/src/Ryujinx/Ui/Windows/AboutWindow.cs
@@ -76,5 +76,10 @@ namespace Ryujinx.Ui.Windows
{
OpenHelper.OpenUrl("https://github.com/Ryujinx/Ryujinx/graphs/contributors?type=a");
}
+
+ private void ChangelogButton_Pressed(object sender, ButtonPressEventArgs args)
+ {
+ OpenHelper.OpenUrl("https://github.com/Ryujinx/Ryujinx/wiki/Changelog#ryujinx-changelog");
+ }
}
} \ No newline at end of file