rem: tmp = my_strdelimit ( gsb_data_account_get_name (i), "/", "\\/" );
add: gtk_action_group_add_action ( action_group, action );
context: gboolean gsb_menu_update_accounts_in_menus ( void ){    GSList *list_tmp;    if ( DEBUG )	printf ( "gsb_menu_update_accounts_in_menus\n" );    /* erase the closed accounts and accounts in the menu to move a transaction */    /* FIXME : je pense un bug ici, il va effacer que les comptes dont il connait le nom, peut      * être faudrait passer par les menus directement ?? à vérifier (cédric)*/    list_tmp = gsb_data_account_get_list_accounts ();    while ( list_tmp )    {	gint i;	gchar *tmp;	i = gsb_data_account_get_no_account ( list_tmp -> data );	tmp = my_strdelimit ( gsb_data_account_get_name (i),			      "/",			      "\\/" );	if ( !gsb_data_account_get_closed_account ( i ))	    gtk_item_factory_delete_item ( item_factory_menu_general,					   menu_name(_("Edit"), _("Move transaction to another account"), tmp ));		list_tmp = list_tmp -> next;    }    gtk_widget_set_sensitive ( gtk_item_factory_get_item ( item_factory_menu_general,							   menu_name(_("Edit"), _("Move transaction to another account"), NULL)),			       FALSE );    /* create the closed accounts and accounts in the menu to move a transaction */    list_tmp = gsb_data_account_get_list_accounts ();    while ( list_tmp )    {	gint i;	GtkItemFactoryEntry *item_factory_entry;	gchar *tmp;	i = gsb_data_account_get_no_account ( list_tmp -> data );	/* 	we put all the accounts in the edition menu */	item_factory_entry = calloc ( 1, sizeof ( GtkItemFactoryEntry ));	tmp = my_strdelimit ( gsb_data_account_get_name (i), "/", "\\/" );	item_factory_entry -> path = menu_name(_("Edit"), 					       _("Move transaction to another account"), 					       my_strdelimit ( tmp, "_", "__" ) ); 	item_factory_entry -> callback = G_CALLBACK ( move_selected_operation_to_account_nb );	/* add 1, else for 0 it wouldn't work */	item_factory_entry -> callback_action = i + 1;	gtk_item_factory_create_item ( item_factory_menu_general,				       item_factory_entry,				       GINT_TO_POINTER (i),				       1 );	gtk_widget_set_sensitive ( gtk_item_factory_get_item ( item_factory_menu_general,							       menu_name(_("Edit"), _("Move transaction to another account"), NULL)),				   TRUE );	if ( i == gsb_data_account_get_current_account () )	{	    /* un-sensitive the name of account in the menu */	    gtk_widget_set_sensitive ( gtk_item_factory_get_item ( item_factory_menu_general,								   menu_name(_("Edit"), _("Move transaction to another account"), tmp)),				       FALSE );	}	list_tmp = list_tmp -> next;    }    return FALSE;}