[grisbi-cvs] grisbi/src gsb_payment_method.c,1.20,1.21
Pierre Biava
pbiava at users.sourceforge.net
Wed Jan 13 21:42:33 CET 2010
- Previous message: [grisbi-cvs] grisbi/src gsb_currency.c, 1.54, 1.55 gsb_currency.h, 1.10, 1.11 gsb_data_transaction.c, 1.77, 1.78 gsb_form_transaction.c, 1.53, 1.54 gsb_form_widget.c, 1.41, 1.42 gsb_payment_method.c, 1.19, 1.20 utils_str.c, 1.75, 1.76
- Next message: [grisbi-cvs] grisbi/src gsb_data_transaction.c, 1.78, 1.79 gsb_file_load.c, 1.203, 1.204
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv2013
Modified Files:
gsb_payment_method.c
Log Message:
fixed bug 858
Index: gsb_payment_method.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_payment_method.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- gsb_payment_method.c 13 Jan 2010 19:30:15 -0000 1.20
+++ gsb_payment_method.c 13 Jan 2010 20:42:31 -0000 1.21
@@ -73,7 +73,7 @@
GtkListStore *store;
GSList *tmp_list;
gint store_filled = 0;
-devel_debug_int (sign);
+
if (!combo_box)
return FALSE;
@@ -148,7 +148,7 @@
payment_number = gsb_data_account_get_default_credit ( account_number );
gsb_payment_method_set_combobox_history ( combo_box, payment_number );
-//~ printf ("payment_number = %d\n", payment_number);
+
gtk_widget_show (combo_box);
cheque_entry = gsb_form_widget_get_widget ( TRANSACTION_FORM_CHEQUE );
@@ -156,7 +156,6 @@
if ( gsb_data_payment_get_show_entry ( payment_number) )
{
/* set the next number if needed */
- printf ("show_entry payment_number = %d\n", payment_number);
if ( cheque_entry
&&
gsb_data_payment_get_automatic_numbering ( payment_number ) )
@@ -407,15 +406,13 @@
if ( gsb_data_payment_get_show_entry ( payment_number) )
{
/* set the next number if needed */
- printf ("show_entry payment_number = %d\n", payment_number);
if (gsb_data_payment_get_automatic_numbering (payment_number) )
{
- /* pbiava the 03/15/09 fix the bug 493 */
if ( gsb_form_widget_check_empty (cheque_entry) )
{
gchar* tmpstr;
+
gsb_form_entry_get_focus (cheque_entry);
- /* pbiava the 03/15/09 incremente le futur n° de Cheque */
tmpstr = utils_str_itoa (gsb_data_payment_get_last_number (
payment_number) + 1);
gtk_entry_set_text ( GTK_ENTRY (cheque_entry), tmpstr);
- Previous message: [grisbi-cvs] grisbi/src gsb_currency.c, 1.54, 1.55 gsb_currency.h, 1.10, 1.11 gsb_data_transaction.c, 1.77, 1.78 gsb_form_transaction.c, 1.53, 1.54 gsb_form_widget.c, 1.41, 1.42 gsb_payment_method.c, 1.19, 1.20 utils_str.c, 1.75, 1.76
- Next message: [grisbi-cvs] grisbi/src gsb_data_transaction.c, 1.78, 1.79 gsb_file_load.c, 1.203, 1.204
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs
mailing list