[gnome-nibbles/gnome-3-10] Mitigate string break from restoration of scores



commit e839469698297229acac6039f5cda390deddeef2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Nov 6 07:51:49 2013 -0600

    Mitigate string break from restoration of scores
    
    This will probably have to be reverted entirelly =/

 src/gnibbles.c |   17 +++--------------
 1 files changed, 3 insertions(+), 14 deletions(-)
---
diff --git a/src/gnibbles.c b/src/gnibbles.c
index 16571a1..ab612f4 100644
--- a/src/gnibbles.c
+++ b/src/gnibbles.c
@@ -339,24 +339,13 @@ gnibbles_show_scores (GtkWidget * window, gint pos)
   if (!scoresdialog) {
     scoresdialog = games_scores_dialog_new (GTK_WINDOW (window),
                                             highscores,
-                                            _("Nibbles Scores"));
-    games_scores_dialog_set_category_description (GAMES_SCORES_DIALOG
-                                                  (scoresdialog),
-                                                  _("Speed:"));
+                                            NULL);
   }
   if (pos > 0) {
     games_scores_dialog_set_hilight (GAMES_SCORES_DIALOG (scoresdialog), pos);
-    message = g_strdup_printf ("<b>%s</b>\n\n%s",
-                               _("Congratulations!"),
-                               pos == 1 ? _("Your score is the best!") :
-                               _("Your score has made the top ten."));
-    games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
-                                     message);
-    g_free (message);
-  } else {
-    games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
-                                     NULL);
   }
+  games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
+                                   NULL);
 
   gtk_dialog_run (GTK_DIALOG (scoresdialog));
   gtk_widget_hide (scoresdialog);


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