rem: GtkWidget *dialog; GtkWidget *choix;
add: GtkWidget *dialog, *choix, *bouton; GdkPixbuf * pixbuf;
context: void modification_logo_accueil ( void ){  GtkWidget *dialog;  GtkWidget *choix;  gint resultat;  GtkWidget *bouton;  dialog = gnome_dialog_new ( _("Select a new logo"),			      GNOME_STOCK_BUTTON_OK,			      GNOME_STOCK_BUTTON_CANCEL,			      NULL );/*   gtk_window_set_transient_for ( GTK_WINDOW ( dialog ), *//* 				 GTK_WINDOW ( fenetre_preferences )); */  choix = gnome_pixmap_entry_new ( "path_logo_grisbi",				   _("Select a new logo"),				   TRUE );  gtk_widget_set_usize ( choix, 300, 300 );  if ( chemin_logo )    gtk_entry_set_text ( GTK_ENTRY ( gnome_pixmap_entry_gtk_entry ( GNOME_PIXMAP_ENTRY ( choix ))),			 chemin_logo );  gnome_pixmap_entry_set_preview ( GNOME_PIXMAP_ENTRY ( choix ), TRUE );  gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ), choix,		       TRUE, TRUE, 0 );  bouton = gtk_button_new_with_label ( _("Reset to default logo") );  gtk_button_set_relief ( GTK_BUTTON ( bouton ), GTK_RELIEF_NONE );  gtk_signal_connect ( GTK_OBJECT ( bouton ), "clicked",		       GTK_SIGNAL_FUNC ( remise_a_zero_logo ), choix );  gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialog ) -> vbox ), bouton,		       TRUE, TRUE, 0 );  gtk_widget_show_all ( dialog );  resultat = gnome_dialog_run ( GNOME_DIALOG ( dialog ));  if ( resultat )    {      gnome_dialog_close ( GNOME_DIALOG ( dialog ));      return;    }  if ( nb_comptes )    {      /* on vire l'ancien logo et la sparation */      /*       if (chemin_logo) *//* 	{ *//* 	  gtk_widget_destroy ( ((GtkBoxChild *)(GTK_BOX ( page_accueil ) -> children -> data )) -> widget ); *//* 	}   */      /* on change le logo */      chemin_logo = gnome_pixmap_entry_get_filename ( GNOME_PIXMAP_ENTRY(choix) );      if ( !chemin_logo ||	   !strlen ( g_strstrip ( chemin_logo )) )	{	  chemin_logo = NULL;	  if ( logo_accueil && GTK_IS_WIDGET ( logo_accueil ))	    gtk_widget_hide ( logo_accueil );	}      else	{	  gtk_widget_destroy ( logo_accueil ); 	  logo_accueil =  gnome_pixmap_new_from_file ( chemin_logo );	  gtk_box_pack_start ( GTK_BOX ( page_accueil ), logo_accueil,			       FALSE, FALSE, 0 );	  gtk_widget_show ( logo_accueil );  	}    }  gnome_dialog_close ( GNOME_DIALOG ( dialog ));  /* on sauvegarde le chemin */  gnome_config_set_string ( "/Grisbi/Affichage/Chemin_du_logo",			    chemin_logo );  gnome_config_sync();  modification_fichier ( TRUE );}