[gnome-robots/libgames-scores: 10/14] Directly call run_dialog.
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/libgames-scores: 10/14] Directly call run_dialog.
- Date: Sun, 21 Sep 2014 16:13:23 +0000 (UTC)
commit 6ebfacbf055ba6dc580a8480460ced5757a76890
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 a610e5e..2a79b62 100644
--- a/src/game.c
+++ b/src/game.c
@@ -129,7 +129,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 2a42a05..738ee91 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -391,7 +391,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]