tBank and Errand dialogs now use proper stock "Cancel" buttons. - vaccinewars - be a doctor and try to vaccinate the world (HTM) git clone git://src.adamsgaard.dk/vaccinewars (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit d8165e90a2cbb3bb25d1aa91c6a0eb8ee5fbff3e (DIR) parent 00483290b8836c10f810cc3f1ad0c4193843e579 (HTM) Author: Ben Webb <ben@salilab.org> Date: Mon, 25 Mar 2002 17:23:09 +0000 Bank and Errand dialogs now use proper stock "Cancel" buttons. Diffstat: M src/gui_client/gtk_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c t@@ -2502,7 +2502,7 @@ void TransferDialog(gboolean Debt) GTK_SIGNAL_FUNC(TransferPayAll), dialog); gtk_box_pack_start_defaults(GTK_BOX(hbbox), button); } - 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); t@@ -2826,7 +2826,7 @@ void ErrandDialog(gint ErrandType) gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(ErrandOK), (gpointer)clist); gtk_box_pack_start_defaults(GTK_BOX(hbbox), button); - 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);