On 4/20/18 9:49 AM, Geert Janssens wrote:
Op vrijdag 20 april 2018 14:39:19 CEST schreef Jonathan Kamens:
I am puzzled by your response for four reasons:

1. Ubuntu 18.04 is using GnuCash 2.6.17, not GnuCash 3, and 2.6.17 is
still using Gtk+2.

2. I observe the same behavior in the toolbar of the Gtk 2 demo
application. It is not unique to GnuCash.

3. When I SSH into my Ubuntu 18.04 box and run GnuCash over the X
connection forwarded through SSH, the toolbar displays as expected (with
both icons and labels). It is only when it is displayed on the Ubuntu
18.04 local display that it's using both+horiz mode even though my
settings say that it should use both mode.

Right! For 2.x this should still work and it's mostly a matter of configuring
it properly.

One way to do so would be to create a file named .gtkrc-2.0 in your home
directory or a gtkrc-2.0 file in $HOME/.config and add the following line:
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ

I feel like you are not reading what I'm writing here.

My point -- the reason why I started this thread -- is that IT'S NOT WORKING on Ubuntu 18.04, even though I DO have it configured properly.

I spelled this out in excruciating detail in the Launchpad bug I referenced. Here it is again: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1765401 . Please, kindly read the plethora of detailed information I spent hours collecting and putting in that bug before assuming that I'm a clueless user.

The TL;DR is that gconftool, dconf, gtk-query-settings, and gsettings all say that I have toolbar-style set to "both", and yet GnuCash 2.6.17 is still using both+horiz. Creating .gtkrc-2.0 and .gtkrc-2.0.gnucash did not help (though it did cause the output of gtk-query-settings to change from both-horiz to both, though, again, that did not cause GnuCash to do the right thing).

P.S. Speaking of both+horiz, why do only three of the buttons -- Save,
Close, and Split -- have text labels when both+horiz mode is used for
the toolbar?
That is how gtk works:
https://developer.gnome.org/gtk3/stable/GtkToolItem.html#gtk-tool-item-set-is-important
The three buttons you mention are set imporant, hence they will have labels
when both+horiz mode used. The others won't.

I've been using GnuCash for over a decade, and I still find the icons in the toolbar to be incomprehensible. If what it takes for both-horiz to display a label on a button is for the button to be marked "important," then I'd personally prefer for /all/ the buttons in the toolbar to be marked "important."

Jonathan Kamens


_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to