[swell-foop/arnaudb/scores-dialog-icon] Fix icon in Scores dialog.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop/arnaudb/scores-dialog-icon] Fix icon in Scores dialog.
- Date: Sun, 5 Jul 2020 22:47:00 +0000 (UTC)
commit fab513dd7914f1f35705923fac502fe118bc2edf
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jul 6 00:46:14 2020 +0200
Fix icon in Scores dialog.
meson.build | 2 +-
src/window.vala | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 999d550..e3c3b65 100644
--- a/meson.build
+++ b/meson.build
@@ -25,7 +25,7 @@ gobject_dep = dependency('gobject-2.0')
gtk_dep = dependency('gtk+-3.0', version: '>= 3.24')
clutter_dep = dependency('clutter-1.0', version: '>= 1.14.0')
clutter_gtk_dep = dependency('clutter-gtk-1.0', version: '>= 1.5.0')
-lggs_dep = dependency('libgnome-games-support-1')
+lggs_dep = dependency('libgnome-games-support-1', version: '>= 1.7.1')
gee_dep = dependency('gee-0.8', version: '>= 0.14.0')
# Check for compilers
diff --git a/src/window.vala b/src/window.vala
index 8c4472c..3235a25 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -394,14 +394,15 @@ private class SwellFoopWindow : ApplicationWindow
private inline void init_scores () // called on construct
{
- scores_context = new Games.Scores.Context.with_importer (
+ scores_context = new Games.Scores.Context.with_importer_and_icon_name (
"swell-foop",
/* Translators: in the Scores dialog, label introducing for which board configuration (size and
number of colors) the best scores are displayed */
_("Type"),
this,
category_request,
Games.Scores.Style.POINTS_GREATER_IS_BETTER,
- new Games.Scores.HistoryFileImporter (parse_old_score));
+ new Games.Scores.HistoryFileImporter (parse_old_score),
+ "org.gnome.SwellFoop");
}
private inline Games.Scores.Category? category_request (string key)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]