Re: bonobo_ui_handler_menu_set_toggle_state
- From: Nat Friedman <nat helixcode com>
- To: John Sullivan <sullivan eazel com>
- Cc: Ettore Perazzoli <ettore comm2000 it>, gnome-components-list <gnome-components-list gnome org>
- Subject: Re: bonobo_ui_handler_menu_set_toggle_state
- Date: 20 Mar 2000 05:04:23 -0500
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]