Re: bonobo_ui_handler_menu_set_toggle_state




John Sullivan <sullivan@eazel.com> writes:

> Ettore, thanks for youre reply.
> 
> I have at least for now used a workaround for this problem. Before calling
> set_toggle_state I save the callback function and then set the callback
> function to NULL. Then I call set_toggle_state. Then I restore the callback
> function.
> 
> This works for my purposes, but feels like a hack. However, I will defer to
> the Bonobo maintainers the question of whether or not set_toggle_state
> should trigger the callback function.

This is gross.  You're right; let's change the behavior so that it
doesn't emit the signal.  Please add a note to this effect at the head
of the method, though, so that people who expect the Gtk behavior
don't get confused.

Thanks!

Nat



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]