> On Nov 14, 2021, at 3:51 PM, Pierre Fortin <p...@pfortin.com> wrote:
>
> On Sat, 13 Nov 2021 10:11:11 -0800 john wrote:
>
>> The calendar itself is a GtkCalendar,
>> https://developer-old.gnome.org/gtk3/3.24/GtkCalendar.html, wrapped in
>> gnucash/register/register-gnome/gnucash-date-picker.* which adds the popup
>> behavior and gnucash/register/register-gnome/datecell-gnome.c. You probably
>> should start by setting a breakpoint in popup_get_height
>> (https://github.com/Gnucash/gnucash/blob/58d37b75b09e71805bc0bc932866b00e5051bd94/gnucash/register/register-gnome/datecell-gnome.c#L650)
>> to see if it's getting a sane value.
>
> Thanks for the hints John. gdb wasn't helpful, so I decided to track
> down GtkCalendar. It no longer seems available in my distro. Finally
> located https://github.com/debmint/gtkcalendarentry -- but its
> configure.ac fails.
>
> I'm suspecting GtkCalendar is being deprecated. It's not worth any more
> effort on my part... Building gnucash 4.8 was a cakewalk compared to this.
GtkCalendar isn't a separate package, it's part of libgtk. I already gave you a
link to the documentation, here's where the sources live for Gtk3, the version
of the library that GnuCash uses:
https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkcalendar.c
<https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkcalendar.c>, and
here it is in the current Gtk4 master:
https://gitlab.gnome.org/GNOME/gtk/-/blob/master/gtk/gtkcalendar.c
<https://gitlab.gnome.org/GNOME/gtk/-/blob/master/gtk/gtkcalendar.c>. Not
deprecated. It's on your system, GnuCash wouldn't even compile if it wasn't.
But your problem is more likely to be with the popup that wraps GtkCalendar
than with GtkCalendar itself.
Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
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.