Don't allow stroking to locked items and group items

This commit is contained in:
Michael Natterer
2009-08-29 20:20:25 +02:00
parent c68f82f4ae
commit e6235cd982
2 changed files with 35 additions and 16 deletions

View File

@ -171,8 +171,8 @@ select_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("select-border", drawable && sel);
SET_SENSITIVE ("select-save", drawable && !fs);
SET_SENSITIVE ("select-stroke", writable && sel);
SET_SENSITIVE ("select-stroke-last-values", writable && sel);
SET_SENSITIVE ("select-stroke", writable && !children && sel);
SET_SENSITIVE ("select-stroke-last-values", writable && !children && sel);
#undef SET_SENSITIVE
}