« Return to Thread: connecting to update signal in uimanager

Re: connecting to update signal in uimanager

by j2stinso :: Rate this Message:

Reply to Author | View in Thread

Simon,
I didn't think of subscribing to the notify::sensitive action on the action itself; I suppose I should have though.

Martin,
I think the thing that changes the sensitivity of the actions is the UIManager via each action group. So, that's what I'm doing or trying to do at least.

Is there any reason why when I subscribe to the "update" signal in the UIManager, the update data I set doesn't make it back to my callback function?

Thanks,
Jordan

On Tue, Jun 30, 2009 at 12:54 AM, Martin Nordholts <enselic@...> wrote:
On 06/30/2009 02:02 AM, Jordan Stinson wrote:
> Hi there,
>
> I'm trying to hack gimp. For my purposes, I want to be notified when
> certain actions become sensitive, or insensitive.

Why not subscribe to changes to whatever it is that changes the
sensitivity of your action instead of subscribing to changes of the
sensitivity of the action itself?

 / Martin

_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

 « Return to Thread: connecting to update signal in uimanager