Re: Mnemonics patch



> > +  parent = widget->parent;
> > +  while (parent)
> > +    {
> > +      if (GTK_WIDGET_CAN_FOCUS (parent) ||
> > +	  (!group_cycling && GTK_WIDGET_GET_CLASS (parent)->activate_signal) ||
> > +	  (parent->parent && GTK_IS_NOTEBOOK (parent->parent)) ||
> > +	  (GTK_IS_MENU_ITEM (parent)))
> > +	return gtk_widget_activate_mnemonic (parent, group_cycling);
> > +      parent = parent->parent;
> > +    }
>
> What a horrible hack this is. ;-)
Quite :)

> Wow, I'm really excited about this patch - finally we have a nice
> simple mnemonic API that works right and makes sense!

Me to.

/ Alex






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