tStock buttons now used for OK/Cancel. - vaccinewars - be a doctor and try to v… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 31a88101118d81248f3cea1afcb9f21bf5257fbc | |
parent d5b1b32325372d1e3cabd27c2c90d6967de65ee8 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 25 Mar 2002 16:59:45 +0000 | |
Stock buttons now used for OK/Cancel. | |
Diffstat: | |
M src/gui_client/optdialog.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/gui_client/optdialog.c b/src/gui_client/optdialog.c | |
t@@ -844,11 +844,11 @@ void OptDialog(GtkWidget *widget, gpointer data) | |
hbox = gtk_hbox_new(TRUE, 10); | |
- button = gtk_button_new_with_label(_("OK")); | |
+ button = gtk_button_new_from_stock(GTK_STOCK_OK); | |
gtk_signal_connect(GTK_OBJECT(button), "clicked", | |
GTK_SIGNAL_FUNC(OKCallback), (gpointer)dialog); | |
gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); | |
- button = gtk_button_new_with_label(_("Cancel")); | |
+ button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); | |
gtk_signal_connect_object(GTK_OBJECT(button), "clicked", | |
GTK_SIGNAL_FUNC(gtk_widget_destroy), | |
(gpointer)dialog); |