Spin Button Hack
Was working on Bug 327487 – Calendar Preferences broken. It was quick,
In 15 min , created the patch and sent it. After sometime Srini
(mentor) called me to his cube and showed me that there is a problem
with the spin button that i missed out. i remembered a similar hack i
did for the Alarm Snooze.
The problem was that the value in the spin button when entered with
kybd was not getting updated when the changed signal was emitted.
Mentor showed me something better than the hack i wrote earlier for
the alarm snooze. Gtk spin button is derived from gtkentry. so we can
use the the gtkentry functions to access the data of the spin button.