Change ledger font

Geert Janssens geert.gnucash at kobaltwit.be
Mon Sep 22 07:12:30 EDT 2014


On Sunday 21 September 2014 18:55:18 AC wrote:
> On 2014-09-21 11:08, Geert Janssens wrote:
> > Which changes did you make ?
> 
> I specifically added:
> 
> # The header lines at the top of a register.
> style "gnc-register-header"
> {
>   base[NORMAL]      = "#B18396"
> }
> 
> # The color of the first line/transaction in a register.
> style "gnc-register-primary"
> {
>   base[NORMAL]      = "#DEB9BF"
>   base[SELECTED]    = "#EF98FF"
> }
> 
> # The color of the second line/transaction in a register.
> style "gnc-register-secondary"
> {
>   base[NORMAL]      = "#FFDAF6"
>   base[SELECTED]    = "#EF98FF"
> }
> 
> # The color of any "split" lines in a register.
> style "gnc-register-split"
> {
>   base[NORMAL]      = "#E7D3ED"
>   base[SELECTED]    = "#EF98FF"
> }
> widget "GncMainWindow.*.header_color"    style : highest
> "gnc-register-header"
> widget "GncMainWindow.*.primary_color"   style : highest
> "gnc-register-primary"
> widget "GncMainWindow.*.secondary_color" style : highest
> "gnc-register-secondary"
> widget "GncMainWindow.*.split_color"     style : highest
> "gnc-register-split"
> 
> >> I also found many gtkrc files spread throughout the \program files
> >> (x86)\gnucash\share\themes tree.  I edited the Nimbus theme there,
> >> too, again with no success.  The ledger stays green/tan.
> > 
> > No these files define the possible themes available. Changing these
> > won't make a difference.
> > 
> > However, if your ledger stays green/tan that means you didn't change
> > the preference inside gnucash that I pointed out to you:
> > Edit->Preferences->Register->Use System Theme colors
> > 
> > If you *don't* want the green/tan color scheme, you should *enable*
> > this option.
> 
> I did that, too, it didn't take my edits above, it still took the
> system colors which ended up with an all white ledger.

Exactly. That's what I meant with 

> I'll add that there is currently a bug in gnucash version that causes
> the theme colors to be ignored. This bug will be fixed in the
> upcoming gnucash 2.6.4.

in one of my earlier replies.

The theme changes you added above will only be work correctly as of 
GnuCash 2.6.4.

Regards,

Geert


More information about the gnucash-user mailing list