[gimp] Enable "layers-resize" for group layers



commit 8a4d6c315f5e084be3d3d2fe30970df7efc1401f
Author: Michael Natterer <mitch gimp org>
Date:   Tue Aug 25 17:32:55 2009 +0200

    Enable "layers-resize" for group layers

 app/actions/layers-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/layers-actions.c b/app/actions/layers-actions.c
index df32d44..8e44ef3 100644
--- a/app/actions/layers-actions.c
+++ b/app/actions/layers-actions.c
@@ -593,7 +593,7 @@ layers_actions_update (GimpActionGroup *group,
   SET_VISIBLE   ("layers-text-selection-subtract",  text_layer && !ac);
   SET_VISIBLE   ("layers-text-selection-intersect", text_layer && !ac);
 
-  SET_SENSITIVE ("layers-resize",          writable && !ac);
+  SET_SENSITIVE ("layers-resize",          (writable || children) && !ac);
   SET_SENSITIVE ("layers-resize-to-image", writable && !ac);
   SET_SENSITIVE ("layers-scale",           (writable || children) && !ac);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]