Re: gtk_action_group_add_action_with_accel() question



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]