Geert, Thanks for your reply. I haven't programmed with Gtk for a long time but I must be missing something: if the calls to set the style and icon size in the toolbar were removed, wouldn't the gtk (or user) defaults be used anyway? Alternatively, could we use the gtk settings to initialize the toolbar?
Thanks On Sun, Mar 7, 2021 at 4:29 AM Geert Janssens <geert.gnuc...@kobaltwit.be> wrote: > Hi, > > The configuration option you reference to is a Gtk configuration option. > The > Gtk project has dropped this option with Gtk3. It now puts responsibility > with > the projects using Gtk3 to decide which toolbar style to use. > > So when GnuCash switched to Gtk3, the possibility to configure this as a > user > was lost. After a few trials with what should be the best hard-coded > style, we > ended up with the small icons+text as the best compromise. > > Regards, > > Geert > > Op zaterdag 6 maart 2021 15:25:00 CET schreef Taull Boi: > > Hi, > > > > I am using gnucash 4.4 on Windows. I find that the gnucash toolbar style > > does not change even though I have correctly configured the toolbar style > > settings in gtk-3.0/Settings.ini as follows: > > > > [Settings] > > gtk-toolbar-style = GTK_TOOLBAR_TEXT > > > > This problem appears to have been discussed below: > > > > > http://gnucash.1415818.n4.nabble.com/GNC-Toolbar-ignoring-gtk-toolbar-style-> > setting-in-Ubuntu-18-04-Bionic-tt4699591.html > > > > I was looking at the gnucash source code and the toolbar style seems to > be > > hardcoded in the following locations: > > > > ./gnome/window-reconcile.c:1699: gtk_toolbar_set_style > > (GTK_TOOLBAR(widget), > > ./gnome-utils/gnc-embedded-window.c:302: gtk_toolbar_set_style > > (GTK_TOOLBAR(priv->toolbar), > > ./gnome-utils/gnc-main-window.c:3964: gtk_toolbar_set_style > > (GTK_TOOLBAR(priv->toolbar), > > > > I was wondering why this is done. > > > > Thanks for your time. > > _______________________________________________ > > gnucash-devel mailing list > > gnucash-devel@gnucash.org > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > > > > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel