[gnome-klotski/arnaudb/wip/gtk4: 38/38] Adapt a method.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski/arnaudb/wip/gtk4: 38/38] Adapt a method.
- Date: Fri, 31 Jul 2020 16:14:19 +0000 (UTC)
commit 360568b50e0261b8f65a3752090ed707a441a56f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Jul 31 18:01:31 2020 +0200
Adapt a method.
src/klotski-window.vala | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/klotski-window.vala b/src/klotski-window.vala
index 6aeb417..21599d0 100644
--- a/src/klotski-window.vala
+++ b/src/klotski-window.vala
@@ -549,15 +549,15 @@ private class KlotskiWindow : ApplicationWindow
lookup_non_nullable_action ("next-puzzle", out next_puzzle);
lookup_non_nullable_action ("start-game", out start_game);
- scores_context = new Games.Scores.Context.with_importer_and_icon_name (
+ scores_context = new Games.Scores.Context.with_importer (
"gnome-klotski",
- /* Translators: in the Scores dialog, label indicating for which puzzle the best scores are
displayed */
- _("Puzzle"),
- this,
- category_request,
- Games.Scores.Style.POINTS_LESS_IS_BETTER,
- new Games.Scores.HistoryFileImporter (parse_old_score),
- "org.gnome.Klotski");
+ "org.gnome.Klotski",
+ /* Translators: in the Scores dialog, label indicating for which puzzle the best scores are
displayed */
+ _("Puzzle"),
+ this,
+ category_request,
+ Games.Scores.Style.POINTS_LESS_IS_BETTER,
+ new Games.Scores.HistoryFileImporter (parse_old_score));
// name, active, puzzle number (or -1), sensitive=false CSS hack
liststore_huarong = new Gtk.ListStore (4, typeof (string), typeof (bool), typeof (int), typeof
(bool));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]