[five-or-more] Adapt to lggs API.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] Adapt to lggs API.
- Date: Thu, 17 Sep 2020 14:51:15 +0000 (UTC)
commit b93763ea9a4d15b0c3c6168f240753399d9d00f0
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Aug 4 16:57:44 2020 +0200
Adapt to lggs API.
src/window.vala | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 2970083..b3e2887 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -184,14 +184,14 @@ private class GameWindow : ApplicationWindow
private inline void init_scores_dialog ()
{
var importer = new Games.Scores.DirectoryImporter ();
- highscores = new Games.Scores.Context.with_importer_and_icon_name ("five-or-more",
- /* Translators: text in the
Scores dialog, introducing the combobox */
- _("Board Size: "),
- this,
- create_category_from_key,
-
Games.Scores.Style.POINTS_GREATER_IS_BETTER,
- importer,
- "org.gnome.five-or-more");
+ highscores = new Games.Scores.Context.with_importer ("five-or-more",
+ "org.gnome.five-or-more",
+ /* Translators: text in the Scores dialog,
introducing the combobox */
+ _("Board Size: "),
+ this,
+ create_category_from_key,
+ Games.Scores.Style.POINTS_GREATER_IS_BETTER,
+ importer);
game.game_over.connect (score_cb);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]