rem: if ( DEBUG ) printf ( "gsb_transactions_list_set_background_color :  no_account %d\n", no_account );
add: devel_debug ( g_strdup_printf ("gsb_transactions_list_set_background_color :  no_account %d", no_account ));
context: gboolean gsb_transactions_list_set_background_color ( gint no_account ){    gint couleur_en_cours;    GtkTreeModel *model;    GtkTreeModelSort *model_sort;    GtkTreeModelFilter *model_filter;    GtkTreePath *path_filter;    GtkTreePath *path_sort;    gint i;    gint nb_rows_by_transaction;    if ( DEBUG )	printf ( "gsb_transactions_list_set_background_color :  no_account %d\n", no_account );    model = GTK_TREE_MODEL (gsb_transactions_list_get_store());    model_sort = GTK_TREE_MODEL_SORT (gsb_transactions_list_get_sortable());    model_filter = GTK_TREE_MODEL_FILTER (gsb_transactions_list_get_filter());    nb_rows_by_transaction = gsb_data_account_get_nb_rows ( no_account );    couleur_en_cours = 0;    i = 0;    path_sort = gtk_tree_path_new_first ();    while ( (path_filter = gtk_tree_model_sort_convert_path_to_child_path ( GTK_TREE_MODEL_SORT ( model_sort ),									    path_sort )))    {	GtkTreePath *path;	GtkTreeIter iter;	gpointer transaction;	gint transaction_number;	gint color_column;	gint line_in_transaction;	/* 	now, normally we needn't to verify something, they must exit */	path = gtk_tree_model_filter_convert_path_to_child_path ( GTK_TREE_MODEL_FILTER ( model_filter ),								  path_filter );	gtk_tree_model_get_iter ( GTK_TREE_MODEL ( model ),				  &iter,				  path );	gtk_tree_model_get ( model,			     &iter,			     TRANSACTION_COL_NB_TRANSACTION_ADDRESS, &transaction,			     TRANSACTION_COL_NB_TRANSACTION_LINE, &line_in_transaction,			     -1 );	transaction_number = gsb_data_transaction_get_transaction_number (transaction);	/* if we are on the selection, set the selection's color and save the normal	 * color */	if ( transaction_number == gsb_data_account_get_current_transaction_number (no_account))	{	    color_column = TRANSACTION_COL_NB_SAVE_BACKGROUND;	    gtk_tree_store_set ( GTK_TREE_STORE ( model ),				 &iter,				 TRANSACTION_COL_NB_BACKGROUND, &couleur_selection,				 -1 );	}	else	    color_column = TRANSACTION_COL_NB_BACKGROUND;	/* if it's a breakdown, it's not the same color */	if ( gsb_data_transaction_get_mother_transaction_number (transaction_number))	{	    gtk_tree_store_set ( GTK_TREE_STORE ( model ),				 &iter,				 color_column, &couleur_grise,				 -1 );	}	else	{	    gtk_tree_store_set ( GTK_TREE_STORE ( model ),				 &iter,				 color_column, &couleur_fond[couleur_en_cours],				 -1 );	    if ( ++i == nb_rows_by_transaction)	    {		i = 0;		couleur_en_cours = 1 - couleur_en_cours;	    }	}	/* if the next row is a child, we go into it, and go back to the transactions	 * at the end */	if ( gsb_data_transaction_get_breakdown_of_transaction (transaction_number)	     &&	     line_in_transaction == nb_rows_by_transaction)	    gtk_tree_path_down (path_sort);	else	{	    if ( transaction_number < 0		 &&		 gtk_tree_path_get_depth (path_sort) == 2 )		gtk_tree_path_up (path_sort);	    gtk_tree_path_next ( path_sort );	}    }    return FALSE;}