| 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(-)
--- |
| 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); |