[grisbi-cvs] grisbi/src gsb_reconcile.c,1.27,1.28

Pierre Biava pbiava at users.sourceforge.net
Mon Dec 15 23:22:00 CET 2008


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30732/src

Modified Files:
	gsb_reconcile.c 
Log Message:
correction bug date initiale rapprochement + updates string fr.po

Index: gsb_reconcile.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_reconcile.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- gsb_reconcile.c	15 Nov 2008 22:05:26 -0000	1.27
+++ gsb_reconcile.c	15 Dec 2008 22:21:58 -0000	1.28
@@ -386,9 +386,11 @@
 	GDate *today;
 	gchar *string ;
 
-	string = gsb_format_gdate (date);
-	gtk_label_set_text ( GTK_LABEL (reconcile_last_date_label),
+	string = gsb_format_gdate ( date );
+	gtk_label_set_text ( GTK_LABEL ( reconcile_last_date_label ),
 			     string);
+    gtk_widget_set_sensitive ( GTK_WIDGET ( reconcile_last_date_label ),
+				   FALSE );
 	g_free (string);
 	g_date_add_months ( date, 1 );
 
@@ -562,7 +564,7 @@
 					date );
     g_date_free (date);
 
-    date = gsb_parse_date_string_safe (gtk_label_get_label (GTK_LABEL (reconcile_last_date_label)));
+    date = gsb_parse_date_string (gtk_label_get_text (GTK_LABEL (reconcile_last_date_label)));
     gsb_data_reconcile_set_init_date ( reconcile_number,
 				       date );
     g_free (date);



More information about the cvs mailing list