rem: label = gtk_label_new ( g_strdup_printf ( _("The financial year %s had been modified.\n\nDo you want to save the changes?"), exercice -> nom_exercice ) ); gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialogue ) -> vbox ), label, FALSE, FALSE, 0 ); gtk_widget_show ( label );
context: void deselection_ligne_exercice ( GtkWidget *liste,			      gint ligne,			      gint colonne,			      GdkEventButton *ev,			      GtkWidget *frame ){  struct struct_exercice *exercice;  if ( GTK_WIDGET_SENSITIVE ( hbox_boutons_modif_exercice ) )    {      GtkWidget *dialogue;      GtkWidget *label;      gint resultat;      exercice = gtk_clist_get_row_data ( GTK_CLIST ( liste ),					ligne );      dialogue = gnome_dialog_new ( _("Confirmation of changes"),				    GNOME_STOCK_BUTTON_YES,				    GNOME_STOCK_BUTTON_NO,				    NULL );      gtk_window_set_transient_for ( GTK_WINDOW ( dialogue ),				     GTK_WINDOW ( fenetre_preferences ));      label = gtk_label_new ( g_strdup_printf ( _("The financial year %s had been modified.\n\nDo you want to save the changes?"),						exercice -> nom_exercice ) );      gtk_box_pack_start ( GTK_BOX ( GNOME_DIALOG ( dialogue ) -> vbox ),			   label,			   FALSE,			   FALSE,			   0 );      gtk_widget_show ( label );      resultat = gnome_dialog_run_and_close ( GNOME_DIALOG ( dialogue ));      /*       si on veut les enregistrer , ok */      /* si on ne veut pas et que c'est un nouvel exercice -> on l'efface */      if ( !resultat )	applique_modif_exercice ( liste );      else	{	  if ( exercice -> no_exercice == -1 )	    {	      gtk_clist_remove ( GTK_CLIST ( liste ),				 ligne );	      liste_struct_exercices_tmp = g_slist_remove ( liste_struct_exercices_tmp,							    exercice );	      free ( exercice );	    }	}    }/* efface toutes les entres */  gtk_entry_set_text ( GTK_ENTRY ( nom_exercice ),		       "" );  gtk_entry_set_text ( GTK_ENTRY ( debut_exercice ),		       "" );  gtk_entry_set_text ( GTK_ENTRY ( fin_exercice ),		       "" );  gtk_widget_set_sensitive ( hbox_boutons_modif_exercice,			     FALSE );  gtk_widget_set_sensitive ( frame,			     FALSE );  gtk_widget_set_sensitive ( bouton_supprimer_exercice,			     FALSE );}