rem: dialogue ( "L'importation a chou." );
add: dialogue ( _("Cannot import file.") );
context: void importer_etat ( void ){  GtkWidget *dialog;  GtkWidget *label;  GtkWidget *fenetre_nom;  gint resultat;  gchar *nom_etat;  dialog = gnome_dialog_new ( _("Import a report"),			      GNOME_STOCK_BUTTON_OK,			      GNOME_STOCK_BUTTON_CANCEL,			      NULL );  gtk_window_set_transient_for ( GTK_WINDOW ( dialog ),				 GTK_WINDOW ( window ));  gnome_dialog_set_default ( GNOME_DIALOG ( dialog ),			     0 );  gtk_signal_connect ( GTK_OBJECT ( dialog ),		       "destroy",		       GTK_SIGNAL_FUNC ( gtk_signal_emit_stop_by_name ),		       "destroy" );  label = gtk_label_new ( COLON(_("Enter a filename")) );  gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ),		       label,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( label );  fenetre_nom = gnome_file_entry_new ( "nom_fichier",				       "nom_fichier" );  gnome_file_entry_set_default_path ( GNOME_FILE_ENTRY ( fenetre_nom ),				      dernier_chemin_de_travail );  gtk_widget_set_usize ( gnome_file_entry_gnome_entry ( GNOME_FILE_ENTRY ( fenetre_nom )),			 300,			 FALSE );  gtk_entry_set_text ( GTK_ENTRY ( gnome_file_entry_gtk_entry ( GNOME_FILE_ENTRY ( fenetre_nom ))),		       g_strconcat ( dernier_chemin_de_travail,				     ".egsb",				     NULL ));  gtk_entry_set_position ( GTK_ENTRY ( gnome_file_entry_gtk_entry ( GNOME_FILE_ENTRY ( fenetre_nom ))),			   strlen (dernier_chemin_de_travail ));  gnome_dialog_editable_enters ( GNOME_DIALOG ( dialog ),				 GTK_EDITABLE ( gnome_file_entry_gtk_entry ( GNOME_FILE_ENTRY ( fenetre_nom ))));  gtk_window_set_focus ( GTK_WINDOW ( dialog ),			 gnome_file_entry_gtk_entry ( GNOME_FILE_ENTRY ( fenetre_nom )));  gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ),		       fenetre_nom,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( fenetre_nom );  resultat = gnome_dialog_run ( GNOME_DIALOG ( dialog ));  switch ( resultat )    {    case 0 :      nom_etat = g_strdup ( g_strstrip ( (gchar *) gtk_entry_get_text ( GTK_ENTRY ( gnome_file_entry_gtk_entry ( GNOME_FILE_ENTRY ( fenetre_nom ))))));      gnome_dialog_close ( GNOME_DIALOG ( dialog ));      /* vrification que c'est possible */      if ( !strlen ( nom_etat ))	return;      if ( !charge_etat ( nom_etat ))	{	  dialogue ( "L'importation a chou." );	  return;	}      break;    default :      gnome_dialog_close ( GNOME_DIALOG ( dialog ));      return;    }}