[iagno] Reorder a menu.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Reorder a menu.
- Date: Wed, 4 Dec 2019 07:52:11 +0000 (UTC)
commit f01e81c439974d92e3c74362b55809919d4f687b
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Nov 29 03:34:51 2019 +0100
Reorder a menu.
src/iagno.vala | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index fddb07d..1e3ccbb 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -268,10 +268,6 @@ private class Iagno : Gtk.Application, BaseApplication
/* Translators: when configuring a new game, in the first menubutton's menu, label of the entry to
choose to play second/Light (with a mnemonic that appears pressing Alt) */
section.append (_("Play _second (Light)"), "app.game-type('light')");
-
-
- /* Translators: when configuring a new game, in the first menubutton's menu, label of the entry to
choose a two-players game (with a mnemonic that appears pressing Alt) */
- section.append (_("_Two players"), "app.game-type('two')");
section.freeze ();
size_menu.append_section (null, section);
@@ -281,6 +277,12 @@ private class Iagno : Gtk.Application, BaseApplication
section.freeze ();
size_menu.append_section (null, section);
+ section = new GLib.Menu ();
+ /* Translators: when configuring a new game, in the first menubutton's menu, label of the entry to
choose a two-players game (with a mnemonic that appears pressing Alt) */
+ section.append (_("_Two players"), "app.game-type('two')");
+ section.freeze ();
+ size_menu.append_section (null, section);
+
size_menu.freeze ();
GLib.Menu theme_menu = new GLib.Menu ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]