[gnome-robots/wip/libgames-support: 8/22] Fixed previous commit.
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/wip/libgames-support: 8/22] Fixed previous commit.
- Date: Sun, 28 Jun 2015 20:00:05 +0000 (UTC)
commit fa29286df7b2289f0a8bbfc13766afcdb66e429b
Author: Nikhar Agrawal <nikharagrawal2006 gmail com>
Date: Thu Aug 14 00:43:29 2014 +0530
Fixed previous commit.
src/gnome-robots.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index 9b8db17..55b02cb 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -390,6 +390,12 @@ activate (GtkApplication *app, gpointer user_data)
MINIMUM_TILE_WIDTH * GAME_WIDTH,
MINIMUM_TILE_HEIGHT * GAME_HEIGHT);
+ highscores = games_scores_context_new ("gnome-robots",
+ /* Label on the scores dialog, next to map type dropdown */
+ _("Game Type"),
+ window,
+ GAMES_SCORES_STYLE_PLAIN_DESCENDING);
+
gtk_widget_show_all (window);
if (!load_game_configs ()) {
@@ -402,8 +408,6 @@ activate (GtkApplication *app, gpointer user_data)
("The program Robots was unable to find any valid game
configuration files. Please check that the program is installed correctly."));
gtk_window_set_resizable (GTK_WINDOW (errordialog), FALSE);
- highscores = games_scores_context_new ("gnome-robots", "Games Type", window,
- GAMES_SCORES_STYLE_PLAIN_DESCENDING);
gtk_dialog_run (GTK_DIALOG (errordialog));
exit (1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]