Re: [Gimp-developer] connecting to update signal in uimanager

2009-07-01 Thread Jordan Stinson
Yes, this helps. Thanks! - Jordan On Wed, Jul 1, 2009 at 12:41 AM, Martin Nordholts wrote: > On 07/01/2009 12:08 AM, Jordan Stinson wrote: > > static void > > toolbox_create_commands (GimpToolbox *toolbox, > >GimpContext *context) > > { > > Gi

Re: [Gimp-developer] connecting to update signal in uimanager

2009-06-30 Thread Martin Nordholts
On 07/01/2009 12:08 AM, Jordan Stinson wrote: > static void > toolbox_create_commands (GimpToolbox *toolbox, >GimpContext *context) > { > GimpUIManager *ui_manager = GIMP_IMAGE_DOCK (toolbox)->ui_manager; > ... >g_signal_connect (G_OBJECT

Re: [Gimp-developer] connecting to update signal in uimanager

2009-06-30 Thread Martin Nordholts
On 06/30/2009 03:23 PM, Jordan Stinson wrote: > 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? > Some code would help here Probably, you using g_signal_connect_swapped() instead of g_sign

Re: [Gimp-developer] connecting to update signal in uimanager

2009-06-30 Thread Jordan Stinson
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

Re: [Gimp-developer] connecting to update signal in uimanager

2009-06-29 Thread Martin Nordholts
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

Re: [Gimp-developer] connecting to update signal in uimanager

2009-06-29 Thread Simon Budig
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 sign