Johnny [Life & Code]

Semper Exploro!

Spin Button Hack

leave a comment »

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.


Written by Johnny

January 23, 2006 at 7:55 am

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: