Tim Janik <[EMAIL PROTECTED]> writes:
> > You call gtk_accel_group_lock() on the accel group to disable this, I
> > believe.
> >
> > It will probably be turned off by default in GTK 2.
>
> changing accelerators on the fly is definitely not going to be
> default-disabled in newer gtk versions.
There are two meanings of default-disabled:
- turned off for GtkMenu until enabled programmatically; e.g.
the item factory would enable it. This should be done, because
right now e.g. all option menus allow accel changing. So
accel changing should only be enabled if someone adds the
code to save the changed accelerators.
I think this is a no-brainer and is what I'm saying will probably
happen. I'm certainly going to argue for it.
- a user setting that toggles whether accel changing is enabled in
the case where the programmer has enabled it for a specific menu,
e.g. for item factory menus. This is no doubt more controversial
but I think should still be off by default.
The rationale is that it confuses most naive users, and could
seriously confuse e.g. blind users. So it should be an
optional/advanced feature.
No doubt this discussion belongs on gtk-devel-list.
Havoc
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list