[gnome-robots/libgames-scores: 5/14] Fixed previous commit.
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/libgames-scores: 5/14] Fixed previous commit.
- Date: Sun, 21 Sep 2014 16:12:58 +0000 (UTC)
commit 39256a58cdbb3c4b11253eb47f9f1519134729dc
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 7a82289..b2ccd01 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -402,6 +402,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 ()) {
@@ -414,8 +420,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]