[gtkada] Examples/calendar_combo patch proposal.

Pascal p.p14 at orange.fr
Sat Sep 22 10:18:30 CEST 2012


Hello,
The issue still in calendar_combo (from GTKAda examples)  is when I clic on month or year change arrow the Day_Selected callback is called without stopping.

Found with GTKAda GPL 2012 built on MacOS 10.6 with GNAT GPL 2012 for Darwin x86_64.
Is it reproducible on other platform?

A very simple workaround was to suppress Hide_Popdown_Window call. The user has to clic once again on the combo button to hide the calendar...
Here is a patch proposal in attached file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: calendar_combo.diff
Type: application/octet-stream
Size: 753 bytes
Desc: not available
URL: </pipermail/gtkada/attachments/20120922/56966f54/attachment.obj>
-------------- next part --------------


Maybe one on the list will have a better proposal.

HTH, Pascal.
http://blady.pagesperso-orange.fr




More information about the gtkada mailing list