[gimp] app: forgot to set the sensitivity of the filters-semi-flatten action
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: forgot to set the sensitivity of the filters-semi-flatten action
- Date: Fri, 4 May 2012 22:02:07 +0000 (UTC)
commit af0687eb82b7ba127240733b931dd949d767319f
Author: Michael Natterer <mitch gimp org>
Date: Sat May 5 00:01:34 2012 +0200
app: forgot to set the sensitivity of the filters-semi-flatten action
app/actions/filters-actions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index af76ff0..b023199 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -134,6 +134,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-gaussian-blur", writable);
SET_SENSITIVE ("filters-pixelize", writable);
SET_SENSITIVE ("filters-polar-coordinates", writable);
+ SET_SENSITIVE ("filters-semi-flatten", writable && alpha);
SET_SENSITIVE ("filters-threshold-alpha", writable && alpha);
#undef SET_SENSITIVE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]