Commit 1f23de4e authored by AndreiLisita's avatar AndreiLisita 🎮 Committed by Alexander Mikhaylenko

display-header-bar: Replace Savestates menu Cancel button with a Back button

parent 466fd41e
Pipeline #103392 passed with stages
in 16 minutes and 10 seconds
......@@ -161,12 +161,27 @@
<object class="GtkButton" id="cancel">
<object class="GtkButton" id="savestates_back">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
<property name="use-underline">True</property>
<property name="label" translatable="yes">_Cancel</property>
<signal name="clicked" handler="on_savestates_cancel_clicked"/>
<signal name="clicked" handler="on_savestates_back_clicked"/>
<class name="image-button"/>
<child internal-child="accessible">
<object class="AtkObject" id="a11y-savestates-back">
<property name="accessible-name" translatable="yes">Back</property>
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">go-previous-symbolic</property>
<property name="icon-size">1</property>
<property name="pack-type">start</property>
......@@ -195,7 +210,6 @@
<widget name="load"/>
<widget name="delete"/>
<widget name="cancel"/>
......@@ -137,7 +137,7 @@ private class Games.DisplayHeaderBar : Gtk.Stack {
private void on_savestates_cancel_clicked () {
private void on_savestates_back_clicked () {
savestates_list_state.is_revealed = false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment