[gimp] app: never make Edit -> Buffers -> Paste Named insensitive



commit 10b4155b9585439e7e2467af9d3b892bc2da96ea
Author: Michael Natterer <mitch gimp org>
Date:   Thu Apr 28 01:56:37 2011 +0200

    app: never make Edit -> Buffers -> Paste Named insensitive
    
    because it simply opens the buffers dockable, which is always
    possible.

 app/actions/edit-actions.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/actions/edit-actions.c b/app/actions/edit-actions.c
index f57d05a..bbe720b 100644
--- a/app/actions/edit-actions.c
+++ b/app/actions/edit-actions.c
@@ -362,8 +362,7 @@ edit_actions_update (GimpActionGroup *group,
   SET_SENSITIVE ("edit-named-cut",          writable && !children);
   SET_SENSITIVE ("edit-named-copy",         drawable);
   SET_SENSITIVE ("edit-named-copy-visible", drawable);
-  SET_SENSITIVE ("edit-named-paste",        image && (!drawable ||
-                                                      (writable && !children)));
+  SET_SENSITIVE ("edit-named-paste",        TRUE);
 
   SET_SENSITIVE ("edit-clear",              writable && !children);
   SET_SENSITIVE ("edit-fill-fg",            writable && !children);



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