[GNC] First Day of the Week

John Morris johnjeff at editide.us
Tue Aug 13 11:54:41 EDT 2019


Hi Adrien,
  Thanks for the clarification. I certainly agree that this could be a problem in GTK. I don't have enough information about GnuCash's inner workings to make that judgment.

Best,
John

> On Aug 13, 2019, at 4:04 AM, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
> 
> But I don’t think GnuCash is doing that. (telling the widget to draw a calendar with first_weekday set to ‘Monday’) It is calling GtkCalendar() and that widget doesn’t have a setting for defining the first day. Now, since it seems to work on Ubuntu as another user reported, maybe the widget is looking at the system locale, but something on MacOS is preventing that. (or it isn’t even aware of the locale since it might have its own default)
> 
> This is where I was headed when I tried to copy this custom locale file to my user profile’s gtk-3.0 folder.
> 
> However, I see now that GnuCash.app has a locale folder but the files there seem to be encoded somehow and not plain text. I’ll have to check the sources out to see what is really there. It could be those locale files are not set to have first_weekday be ‘2’ and they are taking precedence.
> 
> And yes, testing a different GTK app on a Mac would shed some light on if it is possible. Unfortunately, I don’t think my other GTK apps have date pickers or calendar widgets in use. Maybe someone else has such an app to try.
> 
> Regards,
> Adrien


More information about the gnucash-user mailing list