Enabled disabling all menu mnemonics. Addresses bug #120034:
2004-07-28 Michael Natterer <mitch@gimp.org> Enabled disabling all menu mnemonics. Addresses bug #120034: * app/config/gimpguiconfig.[ch] * app/config/gimprc-blurbs.h: added boolean RESTART property "menu-menonics". * app/gui/preferences-dialog.c: added a GUI for it. * app/widgets/gimpactiongroup.[ch]: added boolean CONSTRUCT_ONLY property "mnemonics". (gimp_action_group_add_*_actions): call gimp_strip_uline() on the actions' labels if mnemonics is FALSE. * app/widgets/gimpactionfactory.[ch] * app/actions/actions.c: pass gui_config->menu_menmonics to all action groups.
This commit is contained in:

committed by
Michael Natterer

parent
1bf6319d1b
commit
210ef45abb
@ -54,6 +54,8 @@ struct _GimpActionFactory
|
||||
|
||||
Gimp *gimp;
|
||||
GList *registered_groups;
|
||||
|
||||
gboolean mnemonics;
|
||||
};
|
||||
|
||||
struct _GimpActionFactoryClass
|
||||
@ -64,7 +66,8 @@ struct _GimpActionFactoryClass
|
||||
|
||||
GType gimp_action_factory_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GimpActionFactory * gimp_action_factory_new (Gimp *gimp);
|
||||
GimpActionFactory * gimp_action_factory_new (Gimp *gimp,
|
||||
gboolean mnemonics);
|
||||
|
||||
void gimp_action_factory_group_register (GimpActionFactory *factory,
|
||||
const gchar *identifier,
|
||||
|
Reference in New Issue
Block a user