Bob, Thanks for the clarification. If I understand correctly, as a result of this change in gtk3, currently gnucash does not support changing/configuring the toolbar icon size and style in gnucash. If so, would there be interest in supporting such functionality?
Also, I understand that GtkSettings:gtk-toolbar-style has been deprecated, but what does it mean for it to be ignored? Thanks On Sun, Mar 7, 2021 at 8:43 AM Robert Fewell <14ubo...@gmail.com> wrote: > Taull, > > That setting is no longer valid for gtk3, have a look here... > https://developer.gnome.org/gtk3/stable/GtkSettings.html > look at the properties and find gtk-toolbar-style and you will see that if > set it is ignored. > > Regards, > Bob > > On Sun, 7 Mar 2021 at 12:52, Taull Boi <taull...@gmail.com> wrote: > >> 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 >> > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel