[gimp/metadata-browser] app: forgot to set the sensitivity of the filters-semi-flatten action
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: forgot to set the sensitivity of the filters-semi-flatten action
- Date: Thu, 13 Sep 2012 00:06:59 +0000 (UTC)
commit 07da503ae5925accc873ec7e7beec4ff54cf4391
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]