[gnome-robots/arnaudb/scores-dialog-icon] Fix icon in Scores dialog.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/arnaudb/scores-dialog-icon] Fix icon in Scores dialog.
- Date: Sun, 5 Jul 2020 22:40:08 +0000 (UTC)
commit 3f1082e71ffc1b6b3e573be9a6205357085755bf
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jul 6 00:36:36 2020 +0200
Fix icon in Scores dialog.
meson.build | 2 +-
src/gnome-robots.c | 17 +++++++++--------
2 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/meson.build b/meson.build
index 8d224fa..5bbd37f 100644
--- a/meson.build
+++ b/meson.build
@@ -9,7 +9,7 @@ application_id = 'org.gnome.Robots'
gio_dependency = dependency('gio-2.0', version: '>= 2.32')
glib_dependency = dependency('glib-2.0', version: '>= 2.32')
-gnome_games_dependency = dependency('libgnome-games-support-1')
+gnome_games_dependency = dependency('libgnome-games-support-1', version: '>= 1.7.1')
gsound_dependency = dependency('gsound', version: '>= 1.0.2')
gtk_dependency = dependency('gtk+-3.0', version: '>= 3.24.0')
rsvg_dependency = dependency('librsvg-2.0', version: '>= 2.36.2')
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index d92f1da..b173736 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -447,14 +447,15 @@ activate (GtkApplication *app, gpointer user_data)
MINIMUM_TILE_HEIGHT * GAME_HEIGHT);
importer = games_scores_directory_importer_new ();
- highscores = games_scores_context_new_with_importer ("gnome-robots",
- /* Label on the scores dialog, next to map type
dropdown */
- _("Game Type:"),
- GTK_WINDOW (window),
- create_category_from_key,
- NULL,
- GAMES_SCORES_STYLE_POINTS_GREATER_IS_BETTER,
- GAMES_SCORES_IMPORTER (importer));
+ highscores = games_scores_context_new_with_importer_and_icon_name ("gnome-robots",
+ /* Label on the scores dialog, next to
map type dropdown */
+ _("Game Type:"),
+ GTK_WINDOW (window),
+ create_category_from_key,
+ NULL,
+
GAMES_SCORES_STYLE_POINTS_GREATER_IS_BETTER,
+ GAMES_SCORES_IMPORTER (importer),
+ "org.gnome.Robots");
g_object_unref (importer);
gtk_widget_show_all (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]