From d537ab94795360acd53810b90255a4fde1516303 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 13 Mar 2009 19:19:44 +0000 Subject: [PATCH] mark btn4ws as executable port to gimp-2.6 API (fixes #18) --- btn4ws.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 btn4ws.py diff --git a/btn4ws.py b/btn4ws.py old mode 100644 new mode 100755 index 42451f5..4e754cf --- a/btn4ws.py +++ b/btn4ws.py @@ -40,7 +40,7 @@ pdb = gimp.pdb btn4ws_version = "0.8.0" -logging.basicConfig(level=logging.DEBUG, +logging.basicConfig(level=logging.WARN, format='%(asctime)s %(levelname)s %(message)s', stream=sys.stderr) @@ -989,7 +989,7 @@ class btn4wsplugin(gimpplugin.plugin): image.add_layer(blackboard, len(image.layers)) selectionall(image) if transparency: - blackboard.preserve_trans = True + blackboard.lock_alpha = True editclear(blackboard) else: gimp.set_background(bgcolor)