[grisbi-bugs] [Grisbi 0002351]: L'import d'un nouveau compte permet (ou non) la création d'une règle d'import

Grisbi Bug Tracker bugtracker at grisbi.org
Lun 1 Sep 22:33:00 CEST 2025


A NOTE has been added to this issue.

---------------------------------------------------------------------- 
 (0007318) LudovicRousseau (administrator) - 2025-09-01 22:33
 https://www.grisbi.org/bugsreports/view.php?id=2351#c7318 
---------------------------------------------------------------------- 
La correction est alors facile.

```
diff --git a/src/import.c b/src/import.c
index 671f1cf0c..2da51ddb5 100644
--- a/src/import.c
+++ b/src/import.c
@@ -878,6 +878,9 @@ static GtkWidget *gsb_import_create_page_recapitulatif
(struct ImportAccount *co
 										  compte->entry_name_rule);
 		gtk_box_pack_start (GTK_BOX (compte->hbox_rule), button, FALSE, FALSE, 0);
 
+		/* disabled for IMPORT_CREATE_ACCOUNT option */
+		gtk_widget_set_sensitive (compte->hbox_rule, FALSE);
+
 		/* pack entry_name_rule */
 		gtk_box_pack_start (GTK_BOX (compte->hbox_rule), compte->entry_name_rule,
FALSE, FALSE, 0);
 ```


Mais j'avoue que je n'ai aucune idée de ce à quoi sert la règle de l'import.
----------------------------------------------------------------------



Plus d'informations sur la liste de diffusion bugsreports