Jordan Stinson (jordan.stinso...@gmail.com) wrote:
> I'm trying to hack gimp. For my purposes, I want to be notified when certain
> actions become sensitive, or insensitive. The way I wanted to do this was to
> store the actions I wanted to keep track of and connect to the UIManager's
> update signal. That way, when an update happened, my callback function would
> be called and I could loop through my list and check the sensitive property
> of my actions.
Wouldn't it make more sense to connect to "notify::sensitive" on the
actions you're interested in?
Gimp-developer mailing list