[grisbi-cvs] grisbi/src etats_gtktable.c,1.98,1.99

Pierre Biava pbiava at users.sourceforge.net
Sat Jun 27 21:17:24 CEST 2009


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

Modified Files:
	etats_gtktable.c 
Log Message:
fixed a freeze on the screen after you have selected and displayed a close from a state. Cleaning printf ().

Index: etats_gtktable.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/etats_gtktable.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- etats_gtktable.c	27 Apr 2009 19:41:03 -0000	1.98
+++ etats_gtktable.c	27 Jun 2009 19:17:22 -0000	1.99
@@ -34,6 +34,8 @@
 #include "./gsb_data_account.h"
 #include "./gsb_data_transaction.h"
 #include "./navigation.h"
+#include "./barre_outils.h"
+#include "./menu.h"
 #include "./gsb_transactions_list.h"
 #include "./utils.h"
 #include "./transaction_list.h"
@@ -309,8 +311,13 @@
 	/* récupération de la ligne de l'opé dans la liste ; affichage de toutes les opé si nécessaire */
 	if ( gsb_data_transaction_get_marked_transaction (transaction_number) == OPERATION_RAPPROCHEE 
 	     &&
-	     !gsb_data_account_get_r (account_number))
-	    mise_a_jour_affichage_r (TRUE);
+	     !gsb_data_account_get_r ( account_number ) )
+    {
+        gsb_data_account_set_r ( account_number, TRUE );
+        gsb_gui_update_bouton_affiche_ope_r ( TRUE );
+        gsb_menu_update_view_menu ( account_number );
+        mise_a_jour_affichage_r ( TRUE );
+    }
 	
 	/* if it's a child, open the mother */
 	mother_transaction = gsb_data_transaction_get_mother_transaction_number (transaction_number);



More information about the cvs mailing list