rem: gtk_container_set_border_width ( hpaned, 10 );
add: gtk_container_set_border_width ( hpaned, 6 );
context: void preferences ( GtkWidget *widget,		   gint page_demandee ){  GtkWidget *tree, *right, *w, *vbox, *hbox, *hbox2, *separator,    *button_ok, *button_cancel;  GtkTreeIter iter, iter2;  GtkTreePath * path;  /* cration de la fentre */  fenetre_preferences = gtk_dialog_new ();  gtk_dialog_add_buttons (GTK_DIALOG(fenetre_preferences), 			  GTK_STOCK_HELP,  GTK_RESPONSE_HELP,			  GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,			  NULL);  gtk_window_set_title ( GTK_WINDOW ( fenetre_preferences ),			 _("Grisbi setup") );/*   gtk_window_set_transient_for ( GTK_WINDOW (fenetre_preferences), *//* 				 GTK_WINDOW (window)); *//*   gtk_window_set_modal ( GTK_WINDOW (fenetre_preferences), *//* 			 TRUE); */  tree = create_preferences_tree();    hpaned = gtk_hpaned_new();  gtk_paned_add1(GTK_PANED(hpaned), tree);  hbox = gtk_hbox_new ( FALSE, 0 );  gtk_paned_add2(GTK_PANED(hpaned), hbox);  gtk_box_pack_start ( GTK_BOX ( hbox ),		       gtk_label_new ( "    " ),		       FALSE,		       FALSE,		       0 );  preference_frame = GTK_NOTEBOOK ( gtk_notebook_new () );  gtk_notebook_set_show_border ( preference_frame, FALSE );  gtk_notebook_set_show_tabs  ( preference_frame, FALSE );  gtk_notebook_set_scrollable ( preference_frame, TRUE );  gtk_box_pack_start ( GTK_BOX ( hbox ), GTK_WIDGET(preference_frame),		       TRUE, TRUE, 0 );  /* On range le tout dans une vbox *//*   vbox = gtk_vbox_new ( FALSE, 10 ); *//*   gtk_box_pack_start ( GTK_BOX ( vbox ), hpaned, *//* 		       TRUE, TRUE, 0); */  /* Avec un spareteur entre le haut et les boutons *//*   separator = gtk_hseparator_new (); *//*   gtk_box_pack_start ( GTK_BOX ( vbox ), separator, *//* 		       FALSE, FALSE, 0 ); */    /* Cration des boutons en bas *//*   hbox = gtk_hbox_new ( FALSE, 6 ); *//*   button_help = gtk_button_new_from_stock ( GTK_STOCK_HELP ); *//*   button_close = gtk_button_new_from_stock ( GTK_STOCK_CLOSE ); *//*   gtk_container_set_border_width ( &((GtkButton *) button_help)->bin, 5 ); *//*   gtk_container_set_border_width ( &((GtkButton *) button_close)->bin, 5 ); *//*   gtk_box_pack_start ( GTK_BOX ( hbox ), button_help, *//* 		       FALSE, TRUE, 0 ); *//*   hbox2 = gtk_hbox_new ( TRUE, 5 ); *//*   gtk_box_pack_end ( GTK_BOX ( hbox2 ), button_close, *//* 		     TRUE, TRUE, 0 ); *//*   gtk_box_pack_end ( GTK_BOX ( hbox ), hbox2, *//* 		       FALSE, TRUE, 0 ); *//*   gtk_box_pack_start ( GTK_BOX ( vbox ), hbox, *//* 		       FALSE, FALSE, 0 ); */  /* File tab */  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter, NULL);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter,		      0, _("Files"),		      1, 0,		      -1);  gtk_notebook_append_page (preference_frame, onglet_fichier(), NULL);  /* Display subtree */  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter, NULL);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter,		      0, _("Display"),		      1, -1,		      -1);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Messages & warnings"),		      1, 1,		      -1);  gtk_notebook_append_page (preference_frame, onglet_messages_and_warnings(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Addresses & titles"),		      1, 2,		      -1);  gtk_notebook_append_page (preference_frame, onglet_display_addresses(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Transaction form"),		      1, 3,		      -1);  gtk_notebook_append_page (preference_frame, onglet_display_transaction_form(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Transaction list"),		      1, 4,		      -1);  gtk_notebook_append_page (preference_frame, onglet_affichage_liste(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Reconciliation"),		      1, 5,		      -1);  gtk_notebook_append_page (preference_frame, tab_display_reconciliation(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Fonts & logo"),		      1, 6,		      -1);  gtk_notebook_append_page (preference_frame, onglet_display_fonts(), NULL);  /* Resources subtree */  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter, NULL);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter,		      0, _("Resources"),		      1, -1,		      -1);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Currencies"),		      1, 7,		      -1);  gtk_notebook_append_page (preference_frame, onglet_devises(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Banks"),		      1, 8,		      -1);  gtk_notebook_append_page (preference_frame, onglet_banques(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Financial years"),		      1, 9,		      -1);  gtk_notebook_append_page (preference_frame, onglet_exercices(), NULL);  gtk_tree_store_append (GTK_TREE_STORE (preference_tree_model), &iter2, &iter);  gtk_tree_store_set (GTK_TREE_STORE (preference_tree_model),		      &iter2,		      0, _("Methods of payment"),		      1, 10,		      -1);  gtk_notebook_append_page (preference_frame, 			    onglet_types_operations(),			    NULL);  /* Connection des boutons en bas *//*   gtk_signal_connect ( GTK_OBJECT ( button_close ), *//* 		       "clicked", *//* 		       (GtkSignalFunc) fermeture_preferences, *//* 		       NULL ); */  /* FIXME *//*   gtk_signal_connect_after ( GTK_OBJECT ( button_help ), *//* 		       "clicked", *//* 		       (GtkSignalFunc) fermeture_preferences, *//* 		       NULL ); */  /* On se met sur la page demande *//*   path = gtk_tree_path_new (); *//*   gtk_tree_path_append_index (path, 3); *//*   gtk_tree_selection_select_path (selection,  *//* 				  path); *//*   gtk_tree_path_free (path); *//*   gtk_widget_show_all ( fenetre_preferences ); */  gtk_widget_show_all ( hpaned );  gtk_container_set_border_width ( hpaned, 10 );  gtk_box_pack_start ( GTK_BOX ( GTK_DIALOG(fenetre_preferences) -> vbox ), hpaned,		       TRUE, TRUE, 0);  while ( 1 )    {      switch (gtk_dialog_run ( GTK_DIALOG ( fenetre_preferences ) ))	{	case GTK_RESPONSE_CLOSE:	  gtk_widget_destroy ( GTK_WIDGET ( fenetre_preferences ));	  return;	case GTK_RESPONSE_HELP:	  break;	}    }}