[gnome-chess] Bring back separate Save and Save As
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Bring back separate Save and Save As
- Date: Sun, 6 Dec 2020 16:12:10 +0000 (UTC)
commit c0fabc35d927ba95bc8891c54bac13be51a06079
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Dec 6 10:08:31 2020 -0600
Bring back separate Save and Save As
This will allow the user to decide whether or not to open the file
chooser. Surprisingly, the code for both of these still exists -- it was
already possible to choose between them using keyboard shortcuts -- so
all we need to do is edit the menu.
data/gnome-chess.ui | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/data/gnome-chess.ui b/data/gnome-chess.ui
index 438f160..b190efc 100644
--- a/data/gnome-chess.ui
+++ b/data/gnome-chess.ui
@@ -9,6 +9,10 @@
</item>
<item>
<attribute name="label" translatable="yes">_Save Game</attribute>
+ <attribute name="action">win.save</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Save Game As…</attribute>
<attribute name="action">win.save-as</attribute>
</item>
</section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]