[GNC-dev] Saving searches

2020-07-06 Thread c . holtermann
Hello, on some occasions I have wondered if it makes sense to save searches. Just now I am thinking of filtering certain transactions to automatically assign the imbalanced split to an account using the python bindings. That would be easier if I could use a saved search for that. Have there been

Re: [GNC-dev] Python code formatter - black

2020-07-06 Thread c . holtermann
I have used it as is without config. I'll have a look which options there are for configuration and if what you have in mind is configurable. regards, Christoph Holtermann Am 2020-07-07 05:21, schrieb John Ralls: It's mostly OK, but some of the vertical space changes are excessive in

Re: [GNC-dev] Rebuild after a change to a glade file

2020-07-06 Thread jean laroche
I didn't try that... I'll give that a shot. Thanks! J On 7/6/2020 7:49 PM, John Ralls wrote: The glade files are loaded at runtime so it's likely that Xcode isn't moving the revised file into position. That might well be a cmake function. Did you try forcing a rerun of cmake? Regards, John

Re: [GNC-dev] Python code formatter - black

2020-07-06 Thread John Ralls
It's mostly OK, but some of the vertical space changes are excessive in particular gncinvoice_jinja.py line 213 and latex_invoices.py line 65. I don't much care for the way it handled gncinvoice_jinja.py line 207 either: I'd prefer to move the comment above the line and if it's still too wide

Re: [GNC-dev] Rebuild after a change to a glade file

2020-07-06 Thread John Ralls
The glade files are loaded at runtime so it's likely that Xcode isn't moving the revised file into position. That might well be a cmake function. Did you try forcing a rerun of cmake? Regards, John Ralls > On Jul 6, 2020, at 4:30 PM, jean wrote: > > Devs, > I made a change to

[GNC-dev] Rebuild after a change to a glade file

2020-07-06 Thread jean
Devs, I made a change to gnucash/gtkbuilder/dialog-import.glade to modify the lower limit of a pref value. I'm selecting clean then rebuild-all in Xcode, and despite that, it does not look like this change is taken into effect. I'm guessing there's a step I'm missing in the rebuild? I'm not

[GNC-dev] Python code formatter - black

2020-07-06 Thread c . holtermann
Hello folks, I'd like to use a code formatter on the python bindings. I tried black [1] and liked what I saw. Would you be ok with reformatting the whole python bindings with it? I used it on two example scripts:

Re: [GNC-dev] Session creation fails in Python with TypeError

2020-07-06 Thread Peter Zimmerer
Hello, thank you too. Your PR looks much more comprehensive than mine. Regards, Peter Am 06.07.20 um 12:36 schrieb c.holterm...@gmx.de: > Hello, > > the mentioned pull request should fix this issue. Thank you for your > suggestion on github. > > regards, > > Christoph Holtermann

Re: [GNC-dev] Session creation fails in Python with TypeError

2020-07-06 Thread c . holtermann
Hello, the mentioned pull request should fix this issue. Thank you for your suggestion on github. regards, Christoph Holtermann Am 2020-06-30 19:11, schrieb Peter Zimmerer: Hi all, playing around with the Python bindings in GnuCash 4.0 I have got the following stack trace from example