rem: gtk_notebook_set_page ( GTK_NOTEBOOK ( notebook_general), 7 );
add: gtk_notebook_set_page ( GTK_NOTEBOOK ( notebook_general), 7 );  fenetre_nom = file_selection_new ( _("Export report"), FILE_SELECTION_IS_SAVE_DIALOG ); g_object_set_data ( G_OBJECT(fenetre_nom), "basename", gsb_data_report_get_report_name ( gsb_gui_navigation_get_current_report () ) );  hbox = gtk_hbox_new ( FALSE, 6 ); gtk_box_pack_start ( GTK_BOX(hbox), gtk_label_new ( COLON(_("File format")) ), FALSE, FALSE, 0 );  combo = gtk_combo_box_new_text(); gtk_box_pack_start ( GTK_BOX(hbox), combo, TRUE, TRUE, 0 ); gtk_combo_box_append_text ( GTK_COMBO_BOX(combo), _("Grisbi report file (egsb file)" ) ); gtk_combo_box_append_text ( GTK_COMBO_BOX(combo), _("HTML file" ) ); gtk_combo_box_append_text ( GTK_COMBO_BOX(combo), _("CSV file" ) ); gtk_combo_box_append_text ( GTK_COMBO_BOX(combo), _("Postscript file" ) ); gtk_combo_box_append_text ( GTK_COMBO_BOX(combo), _("Latex file" ) ); gtk_combo_box_set_active ( GTK_COMBO_BOX(combo), 0 ); g_signal_connect ( G_OBJECT(combo), "changed", G_CALLBACK ( gsb_report_export_change_format ), (gpointer) fenetre_nom ); gtk_widget_show_all ( hbox ); gtk_file_chooser_set_extra_widget ( GTK_FILE_CHOOSER(fenetre_nom), hbox );  resultat = gtk_dialog_run ( GTK_DIALOG ( fenetre_nom )); if ( resultat == GTK_RESPONSE_OK ) { nom_etat = file_selection_get_filename ( GTK_FILE_SELECTION ( fenetre_nom ));  switch ( (gint) g_object_get_data ( G_OBJECT(fenetre_nom), "format" ) ) { case 0:		 gsb_file_others_save_report ( nom_etat ); break;  case 1:		 export_etat_courant_vers_html ( nom_etat ); break;
context: void exporter_etat ( void ){    GtkWidget *fenetre_nom;    gint resultat;    gchar *nom_etat;    gint current_report_number;    current_report_number = gsb_gui_navigation_get_current_report ();    if ( gtk_notebook_get_current_page ( GTK_NOTEBOOK ( notebook_general)) != 7 )	gtk_notebook_set_page ( GTK_NOTEBOOK ( notebook_general),				7 );    fenetre_nom = file_selection_new (_("Export report"),FILE_SELECTION_IS_SAVE_DIALOG );    file_selection_set_filename ( GTK_FILE_SELECTION ( fenetre_nom ),				  dernier_chemin_de_travail );    file_selection_set_entry (  GTK_FILE_SELECTION ( fenetre_nom ),				g_strconcat ( safe_file_name ( gsb_data_report_get_report_name (current_report_number) ),					      ".egsb",					      NULL ));    resultat = gtk_dialog_run ( GTK_DIALOG ( fenetre_nom ));    switch ( resultat )    {	case GTK_RESPONSE_OK :	    nom_etat = file_selection_get_filename ( GTK_FILE_SELECTION ( fenetre_nom ));	    gtk_widget_destroy ( GTK_WIDGET ( fenetre_nom ));	    /* la vérification que c'est possible a t faite par la boite de selection*/	    if ( !gsb_file_others_save_report ( nom_etat ))	    {		return;	    }	    break;	default :	    gtk_widget_destroy ( GTK_WIDGET ( fenetre_nom ));	    return;    }}