[swell-foop] Changed appmenu and highscores dialog to match the mockup (bgo#664978)
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop] Changed appmenu and highscores dialog to match the mockup (bgo#664978)
- Date: Mon, 29 Jan 2018 22:23:23 +0000 (UTC)
commit 7921445f5ee293f056105987c2f09b1a9b3f0241
Author: Robert Roth <robert roth off gmail com>
Date: Tue Jan 30 00:23:01 2018 +0200
Changed appmenu and highscores dialog to match the mockup (bgo#664978)
src/score-dialog.vala | 2 +-
src/swell-foop.vala | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/score-dialog.vala b/src/score-dialog.vala
index 9f155db..614cc1f 100644
--- a/src/score-dialog.vala
+++ b/src/score-dialog.vala
@@ -22,7 +22,7 @@ public class ScoreDialog : Gtk.Dialog
this.history = history;
history.entry_added.connect (entry_added_cb);
this.selected_entry = selected_entry;
-
+ this.set_title (_("High Scores"));
if (show_quit)
{
add_button (_("_Quit"), Gtk.ResponseType.CLOSE);
diff --git a/src/swell-foop.vala b/src/swell-foop.vala
index 110971e..8c5691c 100644
--- a/src/swell-foop.vala
+++ b/src/swell-foop.vala
@@ -136,7 +136,12 @@ public class SwellFoop : Gtk.Application
var menu = new Menu ();
var section = new Menu ();
menu.append_section (null, section);
- section.append (_("_Scores"), "app.scores");
+ section.append (_("_New Game"), "app.new-game");
+ section = new Menu ();
+ menu.append_section (null, section);
+ section.append (_("High _Scores"), "app.scores");
+ section = new Menu ();
+ menu.append_section (null, section);
section.append (_("_Preferences"), "app.preferences");
section = new Menu ();
menu.append_section (null, section);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]