renamed action "qmask-toggle" to "qmask-active" and added new action
2004-05-02 Michael Natterer <mitch@gimp.org> * app/actions/qmask-actions.c: renamed action "qmask-toggle" to "qmask-active" and added new action "qmask-toggle" with a label and shortcut suited for the "Select" menu. * app/actions/select-actions.c: removed "select-toggle-qmask". * app/actions/select-commands.[ch]: removed callback select_toggle_quickmask_cmd_callback(). * app/actions/channels-actions.c (channels_actions_update) * app/actions/vectors-actions.c (vectors_actions_update): handle "data" being both GimpDisplay and GimpDisplayShell so the actions can be used in the image menu. * menus/image-menu.xml.in: s/select-toggle-qmask/qmask-toggle/. * menus/qmask-menu.xml: s/qmask-toggle/qmask-active/.
This commit is contained in:

committed by
Michael Natterer

parent
b9b3134a12
commit
8895917db2
@ -97,11 +97,6 @@ static GimpActionEntry select_actions[] =
|
||||
G_CALLBACK (select_border_cmd_callback),
|
||||
GIMP_HELP_SELECTION_BORDER },
|
||||
|
||||
{ "select-toggle-qmask", GIMP_STOCK_QMASK_ON,
|
||||
N_("Toggle _QuickMask"), "<shift>Q", NULL,
|
||||
G_CALLBACK (select_toggle_quickmask_cmd_callback),
|
||||
GIMP_HELP_QMASK_TOGGLE },
|
||||
|
||||
{ "select-save", GIMP_STOCK_SELECTION_TO_CHANNEL,
|
||||
N_("Save to _Channel"), NULL, NULL,
|
||||
G_CALLBACK (select_save_cmd_callback),
|
||||
@ -186,8 +181,6 @@ select_actions_update (GimpActionGroup *group,
|
||||
SET_SENSITIVE ("select-grow", lp && sel);
|
||||
SET_SENSITIVE ("select-border", lp && sel);
|
||||
|
||||
SET_SENSITIVE ("select-toggle-qmask", gdisp);
|
||||
|
||||
SET_SENSITIVE ("select-save", sel && !fs);
|
||||
SET_SENSITIVE ("select-to-vectors", sel && !fs);
|
||||
|
||||
|
Reference in New Issue
Block a user