[gimp] app: set the sensitivity of the new double precision actions



commit 626ef7b30fcedfbafb7792dd15a9432597c7708f
Author: Michael Natterer <mitch gimp org>
Date:   Sun Mar 9 21:01:46 2014 +0100

    app: set the sensitivity of the new double precision actions

 app/actions/image-actions.c |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/app/actions/image-actions.c b/app/actions/image-actions.c
index 1703805..8918917 100644
--- a/app/actions/image-actions.c
+++ b/app/actions/image-actions.c
@@ -400,16 +400,18 @@ image_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("image-convert-grayscale", image);
   SET_SENSITIVE ("image-convert-indexed",   image && !groups && is_u8_gamma);
 
-  SET_SENSITIVE ("image-convert-u8-gamma",     image);
-  SET_SENSITIVE ("image-convert-u8-linear",    image && !is_indexed);
-  SET_SENSITIVE ("image-convert-u16-gamma",    image && !is_indexed);
-  SET_SENSITIVE ("image-convert-u16-linear",   image && !is_indexed);
-  SET_SENSITIVE ("image-convert-u32-gamma",    image && !is_indexed);
-  SET_SENSITIVE ("image-convert-u32-linear",   image && !is_indexed);
-  SET_SENSITIVE ("image-convert-half-gamma",   image && !is_indexed);
-  SET_SENSITIVE ("image-convert-half-linear",  image && !is_indexed);
-  SET_SENSITIVE ("image-convert-float-gamma",  image && !is_indexed);
-  SET_SENSITIVE ("image-convert-float-linear", image && !is_indexed);
+  SET_SENSITIVE ("image-convert-u8-gamma",      image);
+  SET_SENSITIVE ("image-convert-u8-linear",     image && !is_indexed);
+  SET_SENSITIVE ("image-convert-u16-gamma",     image && !is_indexed);
+  SET_SENSITIVE ("image-convert-u16-linear",    image && !is_indexed);
+  SET_SENSITIVE ("image-convert-u32-gamma",     image && !is_indexed);
+  SET_SENSITIVE ("image-convert-u32-linear",    image && !is_indexed);
+  SET_SENSITIVE ("image-convert-half-gamma",    image && !is_indexed);
+  SET_SENSITIVE ("image-convert-half-linear",   image && !is_indexed);
+  SET_SENSITIVE ("image-convert-float-gamma",   image && !is_indexed);
+  SET_SENSITIVE ("image-convert-float-linear",  image && !is_indexed);
+  SET_SENSITIVE ("image-convert-double-gamma",  image && !is_indexed);
+  SET_SENSITIVE ("image-convert-double-linear", image && !is_indexed);
 
   SET_SENSITIVE ("image-flip-horizontal", image);
   SET_SENSITIVE ("image-flip-vertical",   image);


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