[gnome-nibbles] Remove GTK_STOCK_CLOSE, switch to just text



commit 92ee3faa7eaffa8cee6950c1a957e7ed2c9b6aa4
Author: Bryan Quigley <bryanquigs src gnome org>
Date:   Sun Jan 5 18:25:33 2014 -0500

    Remove GTK_STOCK_CLOSE, switch to just text

 src/games-scores-dialog.c |    2 +-
 src/preferences.c         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/games-scores-dialog.c b/src/games-scores-dialog.c
index 9fafa8f..86062c6 100644
--- a/src/games-scores-dialog.c
+++ b/src/games-scores-dialog.c
@@ -547,7 +547,7 @@ static void games_scores_dialog_init (GamesScoresDialog *self)
  
   gtk_container_add (GTK_CONTAINER (scroll), listview);
 
-  gtk_dialog_add_button (GTK_DIALOG (self), GTK_STOCK_CLOSE,
+  gtk_dialog_add_button (GTK_DIALOG (self), _("Close"),
                                 GTK_RESPONSE_CLOSE);
   gtk_dialog_set_default_response (GTK_DIALOG (self), 
                                 GTK_RESPONSE_CLOSE);
diff --git a/src/preferences.c b/src/preferences.c
index 6080257..4019d7e 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -222,7 +222,7 @@ gnibbles_preferences_cb (GtkWidget * widget, gpointer data)
 
   pref_dialog = gtk_dialog_new_with_buttons (_("Nibbles Preferences"),
                                              GTK_WINDOW (window), 0,
-                                             GTK_STOCK_CLOSE,
+                                             _("Close"),
                                              GTK_RESPONSE_CLOSE, NULL);
   gtk_container_set_border_width (GTK_CONTAINER (pref_dialog), 5);
   gtk_box_set_spacing


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