Re: gtk_action_group_add_action_with_accel() question
- From: Jody Goldberg <jody gnome org>
- To: Jeff Franks <jcf tpg com au>
- Cc: gtk-devel-list gnome org
- Subject: Re: gtk_action_group_add_action_with_accel() question
- Date: Mon, 5 Jan 2004 15:19:43 -0500
On Mon, Jan 05, 2004 at 05:50:54PM +1100, Jeff Franks wrote:
> Jody,
>
> Just another question. gtk_action_group_add_action() might be better if
> it automatically installed the accelerator, if any, for the stock item
> associated with the action. That would mean
> gtk_action_group_add_action_with_accel() would only need to be called
> when you wanted to override the default stock item accelerator.
Those semantics sound good to me. The add_actions utilities would
still end up calling add_action_with_accel to avoid
if (accel)
add_action_with_accel
else
add_action
which seems silly given that with_accel handles the stock case
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]