[gnome-robots/wip/libgames-support: 13/22] Directly call run_dialog.



commit adcc51b3e3b6fd7c523b0818674ed392a076ed24
Author: Nikhar Agrawal <nikharagrawal2006 gmail com>
Date:   Sun Aug 17 02:38:06 2014 +0530

    Directly call run_dialog.

 src/game.c         |    2 +-
 src/gnome-robots.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/game.c b/src/game.c
index 6e9b742..6aef7d6 100644
--- a/src/game.c
+++ b/src/game.c
@@ -128,7 +128,7 @@ message_box (gchar * msg)
 gint
 show_scores (gint pos, gboolean endofgame)
 {
-  games_scores_context_print_scores (highscores);
+  games_scores_context_run_dialog (highscores);
 /*  gchar *message;
   static GtkWidget *scoresdialog = NULL;
   static GtkWidget *sorrydialog = NULL;
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index 32f3cf2..d587e66 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -379,7 +379,7 @@ activate (GtkApplication *app, gpointer user_data)
 
   highscores = games_scores_context_new ("gnome-robots",
                                          /* Label on the scores dialog, next to map type dropdown */
-                                         _("Game Type :"),
+                                         _("Game Type:"),
                                          window,
                                          GAMES_SCORES_STYLE_PLAIN_DESCENDING);
   g_signal_connect (highscores, "request-category", G_CALLBACK (create_category_from_key), NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]