Remove the possibility to disable mnemonics (bug #120034)
There is GtkSettings:gtk-enable-mnemonics: now, so there is no reason to do the same in GIMP: * app/config/gimpguiconfig.[ch]: turn "menu-mnemonics" into a dummy. * app/dialogs/preferences-dialog.c: remove its GUI. * app/widgets/gimpactionfactory.[ch] * app/widgets/gimpactiongroup.[ch]: remove infrastructure for disabling menu mnemonics. * app/actions/actions.c: bye bye glue code.
This commit is contained in:
@ -53,8 +53,6 @@ struct _GimpActionFactory
|
||||
|
||||
Gimp *gimp;
|
||||
GList *registered_groups;
|
||||
|
||||
gboolean mnemonics;
|
||||
};
|
||||
|
||||
struct _GimpActionFactoryClass
|
||||
@ -65,8 +63,7 @@ struct _GimpActionFactoryClass
|
||||
|
||||
GType gimp_action_factory_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GimpActionFactory * gimp_action_factory_new (Gimp *gimp,
|
||||
gboolean mnemonics);
|
||||
GimpActionFactory * gimp_action_factory_new (Gimp *gimp);
|
||||
|
||||
void gimp_action_factory_group_register (GimpActionFactory *factory,
|
||||
const gchar *identifier,
|
||||
|
Reference in New Issue
Block a user