[gimp] Refuse to add group layers to indexed images
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Refuse to add group layers to indexed images
- Date: Mon, 7 Sep 2009 19:10:29 +0000 (UTC)
commit 60ac874cd01f2b797409b30ddde95dbf218552fa
Author: Michael Natterer <mitch gimp org>
Date: Mon Sep 7 21:08:25 2009 +0200
Refuse to add group layers to indexed images
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 34683ad..efb125e 100644
--- a/app/actions/layers-actions.c
+++ b/app/actions/layers-actions.c
@@ -575,7 +575,7 @@ layers_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("layers-new", image);
SET_SENSITIVE ("layers-new-last-values", image);
SET_SENSITIVE ("layers-new-from-visible", image);
- SET_SENSITIVE ("layers-new-group", image);
+ SET_SENSITIVE ("layers-new-group", image && !indexed);
SET_SENSITIVE ("layers-duplicate", layer && !fs && !ac);
SET_SENSITIVE ("layers-delete", layer && !ac);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]