[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_3-9-g68eff0f

Pierre Biava nobody at users.sourceforge.net
Sun Aug 21 19:54:04 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, master has been updated
       via  68eff0f2a8d0d162ec965558ab28dd6e28421fbc (commit)
      from  db52584ab9187572e37d26bebf3e744b62fd43d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 68eff0f2a8d0d162ec965558ab28dd6e28421fbc
Author: pbiava <pierre.biava at nerim.net>
Date:   Sun Aug 21 19:52:52 2011 +0200

    Fixed bug 1392: no marking "reconciled transaction" of the daughters of a split transaction if it is already reconciled

-----------------------------------------------------------------------

Changes:
diff --git a/src/gsb_form.c b/src/gsb_form.c
index 63a57e5..821bb79 100644
--- a/src/gsb_form.c
+++ b/src/gsb_form.c
@@ -2492,6 +2492,16 @@ gboolean gsb_form_finish_edition ( void )
             gsb_data_mix_set_mother_transaction_number ( transaction_number,
                                  mother_transaction,
                                  is_transaction );
+
+            /* si l'opération mère est rapprochée on marque aussi la fille */
+            if ( mother_transaction
+             &&
+             gsb_data_transaction_get_marked_transaction ( mother_transaction ) == OPERATION_RAPPROCHEE )
+            {
+                gsb_data_transaction_set_marked_transaction ( transaction_number, OPERATION_RAPPROCHEE );
+                gsb_data_transaction_set_reconcile_number ( transaction_number,
+                        gsb_data_transaction_get_reconcile_number ( mother_transaction ) );
+            }
         }
 
         /* take the datas in the form, except the category */


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list