[five-or-more/arnaudb/gtk3: 7/24] Revert "Adapt to lggs API."




commit debf0c61f6ad714c8935bb21c434b5d8eea1046a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Oct 22 17:27:46 2020 +0200

    Revert "Adapt to lggs API."
    
    This reverts commit b93763ea9a4d15b0c3c6168f240753399d9d00f0.

 src/window.vala | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index b3e2887..2970083 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 ("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);
+        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");
         game.game_over.connect (score_cb);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]