rem: if ( DEBUG ) printf ( "update_liste_echeances_manuelles_accueil\n" );
add: devel_debug ( "update_liste_echeances_manuelles_accueil" );
context: void update_liste_echeances_manuelles_accueil ( void ){    gsb_scheduler_check_scheduled_transactions_time_limit ();    if ( !mise_a_jour_liste_echeances_manuelles_accueil )	return;    if ( DEBUG )	printf ( "update_liste_echeances_manuelles_accueil\n" );    mise_a_jour_liste_echeances_manuelles_accueil = 0;    if ( scheduled_transactions_to_take )    {	GtkWidget *vbox;	GtkWidget *label;	GSList *pointeur_liste;	GtkWidget *event_box;	GtkWidget *hbox;	GdkColor couleur_bleue, couleur_jaune;	/* s'il y avait déjà un fils dans la frame, le détruit */	gtk_notebook_remove_page ( GTK_NOTEBOOK(frame_etat_echeances_manuelles_accueil), 0 );	/* on affiche la seconde frame dans laquelle on place les	   échéances à saisir */	show_paddingbox ( frame_etat_echeances_manuelles_accueil );	/* on y place la liste des échéances */	vbox = gtk_vbox_new ( FALSE, 6 );	gtk_container_add ( GTK_CONTAINER(frame_etat_echeances_manuelles_accueil), vbox );	gtk_widget_show ( vbox );	/* on met une ligne vide pour faire joli */	label = gtk_label_new ("");	/*       gtk_box_pack_start ( GTK_BOX (vbox ), label, FALSE, FALSE, 0 );		 gtk_widget_show ( label ); */	/* création du style normal -> bleu */	/* pointeur dessus -> jaune-rouge */	style_label = gtk_style_copy ( gtk_widget_get_style (label));	couleur_bleue.red = 500;	couleur_bleue.green = 500;	couleur_bleue.blue = 65535;	couleur_bleue.pixel = 1;	couleur_jaune.red =40000;	couleur_jaune.green =40000;	couleur_jaune.blue = 0;	couleur_jaune.pixel = 1;	style_label->fg[GTK_STATE_PRELIGHT] = couleur_jaune;	style_label->fg[GTK_STATE_NORMAL] = couleur_bleue;	style_label->fg[GTK_STATE_INSENSITIVE] = couleur_bleue;	style_label->fg[GTK_STATE_SELECTED] = couleur_bleue;	style_label->fg[GTK_STATE_ACTIVE] = couleur_bleue;	pointeur_liste = g_slist_sort(scheduled_transactions_to_take,				      (GCompareFunc) classement_sliste_echeance_par_date );	while ( pointeur_liste )	{	    gint scheduled_number;	    scheduled_number = GPOINTER_TO_INT (pointeur_liste -> data);	    hbox = gtk_hbox_new ( TRUE, 5 );	    gtk_box_pack_start ( GTK_BOX ( vbox ), hbox, FALSE, FALSE, 0 );	    gtk_widget_show (  hbox );	    /* bouton à gauche */	    event_box = gtk_event_box_new ();	    gtk_signal_connect ( GTK_OBJECT ( event_box ),				 "enter-notify-event",				 GTK_SIGNAL_FUNC ( met_en_prelight ),				 NULL );	    gtk_signal_connect ( GTK_OBJECT ( event_box ),				 "leave-notify-event",				 GTK_SIGNAL_FUNC ( met_en_normal ),				 NULL );	    gtk_signal_connect ( GTK_OBJECT ( event_box ),				 "button-press-event",				 (GtkSignalFunc) saisie_echeance_accueil,				 GINT_TO_POINTER (scheduled_number));	    gtk_box_pack_start ( GTK_BOX ( hbox ), event_box, TRUE, TRUE, 5 );	    gtk_widget_show ( event_box  );	    label = gtk_label_new ( g_strdup_printf ( "%s : %s",						      gsb_format_gdate (gsb_data_scheduled_get_date (scheduled_number)),						      gsb_data_payee_get_name (gsb_data_scheduled_get_party_number (scheduled_number),									       FALSE )));	    gtk_widget_set_style ( label, style_label );	    gtk_misc_set_alignment ( GTK_MISC ( label ), MISC_LEFT, MISC_VERT_CENTER );	    gtk_container_add ( GTK_CONTAINER ( event_box ), label );	    gtk_widget_show ( label  );	    /* label à droite */	    if ( gsb_data_scheduled_get_amount (scheduled_number) >= 0 )		label = gtk_label_new ( g_strdup_printf (_("%4.2f %s credit on %s"),							 gsb_data_scheduled_get_amount (scheduled_number),							 devise_code_by_no(gsb_data_scheduled_get_currency_number (scheduled_number)),							 gsb_data_account_get_name (gsb_data_scheduled_get_account_number (scheduled_number))));	    else		label = gtk_label_new ( g_strdup_printf (_("%4.2f %s debit on %s"),							 -gsb_data_scheduled_get_amount (scheduled_number),							 devise_code_by_no(gsb_data_scheduled_get_currency_number (scheduled_number)),							 gsb_data_account_get_name (gsb_data_scheduled_get_account_number (scheduled_number))));	    gtk_misc_set_alignment ( GTK_MISC ( label ), MISC_LEFT, MISC_VERT_CENTER );	    gtk_box_pack_start ( GTK_BOX ( hbox ), label, FALSE, TRUE, 0 );	    gtk_widget_show (  label );	    pointeur_liste = pointeur_liste -> next;	}    }    else    {	hide_paddingbox ( frame_etat_echeances_manuelles_accueil );    }}