[monkey-bubble: 73/753] The scores dialog now uses a stock button for OK.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 73/753] The scores dialog now uses a stock button for OK.
- Date: Wed, 14 Jul 2010 22:01:49 +0000 (UTC)
commit ed4013c92ea31817b195af6274ddd845c53420b5
Author: Arturo Espinosa <arturo nuclecu unam mx>
Date: Fri Feb 27 05:18:33 1998 +0000
The scores dialog now uses a stock button for OK.
1998-02-26 Arturo Espinosa <arturo nuclecu unam mx>
* gnome-scores.c: The scores dialog now uses a stock button for OK.
libgnomeui/gnome-scores.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgnomeui/gnome-scores.c b/libgnomeui/gnome-scores.c
index b707f78..982cc2a 100644
--- a/libgnomeui/gnome-scores.c
+++ b/libgnomeui/gnome-scores.c
@@ -12,6 +12,7 @@
#include "libgnome/gnome-config.h"
#include "libgnome/gnome-score.h"
#include "libgnome/gnome-string.h"
+#include <gnome.h>
#include "gtk/gtk.h"
@@ -128,7 +129,7 @@ gnome_scores_new ( guint n_scores,
}
gtk_widget_show (GTK_WIDGET(table));
- button1 = gtk_button_new_with_label ( _("OK") );
+ button1 = gnome_stock_button(GNOME_STOCK_BUTTON_OK);
gtk_signal_connect_object (GTK_OBJECT (button1), "clicked",
GTK_SIGNAL_FUNC (gtk_widget_destroy),
GTK_OBJECT (gs));
@@ -239,7 +240,7 @@ void gnome_scores_set_logo_label (GnomeScores *gs, gchar *txt, gchar *font,
else
fo = "-freefont-garamond-*-*-*-*-30-170-*-*-*-*-iso8859-1";
- if( f = gdk_fontset_load ( fo ) )
+ if(( f = gdk_fontset_load ( fo ) ))
s->font = f;
gs->logo = gtk_label_new(txt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]