This is funny, integrated rob's patch. compiled .... All fine.
Note: ninja check fails 5 tests ... Fails are expected as that stage, since i haven't investigated yet. The following tests FAILED: 46 - test-coowner (Failed) 49 - test-job (SEGFAULT) 97 - test-new-owner-report (Failed) 98 - test-owner-report (Failed) 100 - test-stress-options (Failed) But against the expectation .... no menu entries present :( since you (rob) can see them, the reason may rely to the fact, that on my dev-system the arch package 'gnucash (4.11)' is installed. Do i have to test in an isolated environment/container? cd gnucash-root mkdir ../build; cd ../build cmake -D CMAKE_BUILD_TYPE=Debug -D CMAKE_CPP_FLAGS=-O1 -D CMAKE_INSTALL_PREFIX=./install -G Ninja ../gnucash ninja check ninja install cd ./install GNC_CONFIG_HOME=. LC_ALL=C bin/gnucash ../demo_sqlite3.gnucash Regards Ralf Am Freitag, dem 01.07.2022 um 12:00 +0100 schrieb Robert Fewell: > Ralf, > I have had a look and was able to pull your branch and build it but > needed to replace the de.po file with one from maint but that is > besides the point. > > I have added a patch file with some changes I have noticed but you > will need to fix / test them. > I am not sure whether you have changed dialog-customer.glade by > mistake or in the middle of a change but there were some changes to > coowner. > > As for the menus, they are present and the Co-Owner Overview page > displays but I could not create a new Co-Owner due to issues with the > glade files. > > Regards, > Bob > > On Thu, 30 Jun 2022 at 14:03, Ralf Zerres <ralf.zer...@mail.de> > wrote: > > Rob, > > > > thanks for anwering. And yes, i do have a specific problem. > > It's more a comprehension problem when creating new menu entries. > > > > What i extended > > =============== > > > > This is an extact just to explain the involed gui stuff: > > > > > > inside "gnucash/gnome/gnc-plugin-business.c" i did create > > new/needed > > "BusinessActions" > > > > /* Co-Owner submenu */ > > { "CoOwnerMenuAction", NULL, N_("Co-Owner"), NULL, NULL, NULL }, > > > > { > > "CoOwnerOverviewPageAction", NULL, N_("Co-Owners > > Overview"),NULL, > > N_("Open a Co-Owner overview page"), > > G_CALLBACK (gnc_plugin_business_cmd_coowner_page) > > }, > > > > ... > > > > { > > "CoOwnerNewSettlementOpenAction", NULL, N_("New > > _Settlement..."), NULL, > > N_("Open the New Settlement dialog"), > > G_CALLBACK (gnc_plugin_business_cmd_coowner_new_settlement) > > }, > > > > As well as the associated callbacks. > > > > UI definitions are in > > > > * gnucash/ui/gnc-plugin-business-ui.xml > > > > that introduce a new menu "CoOwnerMenuAction" with menuitems > > "COOwnerNewCoOwnerOpenAction", etc. They extend the given > > placeholder > > "AdditionalMenusPlacehoder" inside menu "Business". Fine until > > here. > > > > The book handling will use "Set" and "Get" functions from > > "libgnucash/engine/gncCoOwner.c". To make that accessible, > > funtions in > > "libgnucash/engine/gncOwner.c" are extended to handle the CoOwner > > cases. That means, we now handle a new "owner->type = > > GNC_OWNER_COOWNER". > > > > Bindings have been enhanced > > > > * bindings/business-core.i > > * bindings/python/gnucash_business.py > > * bindings/python/gnucash_core.i > > > > Next i had to extend the "OT" actions to have the needed new > > callbacks > > for the owner_tree. > > > > * gnucash/gnome/gnc-plugin-page-owner-tree.c > > * gnc-plugin-page-owner-tree-ui.xml > > > > This should make them accessible as "plugin-page"-s, right? > > > > conlusion > > ========= > > > > All that stuff compiles. > > But i never see any new submenu entry "CoOwner" nor do i get the > > GUI > > for the Owner-Tree stuff. > > I'm on arch, all the depends like in "util/ci/actions/archlinux- > > test/Dockerfile". > > > > What is needed to make the subsystem use the new Menus? > > > > Greetings > > Ralf > > > > PS: you will find my coowner branch at > > https://github.com/rzerres/gnucash/tree/coowner > > > > Am Donnerstag, dem 30.06.2022 um 08:39 +0100 schrieb Robert Fewell: > > > Ralf, > > > The current minimum Gtk3 version is 3.22.30. All the glade files > > > have > > > been generated with Glade 3.38.2 with the minimum Gtk version set > > > to > > > 3.22. > > > > > > Is there a specific problem you have found that you need help > > > with? > > > > > > Regards, > > > Bob > > > > > > >
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel