[gimp] Issue #2961: minor coding style fix.



commit 35eff00e2ea489923a3c1452d364a234076ac8ad
Author: Jehan <jehan girinstud io>
Date:   Thu Feb 14 12:09:29 2019 +0100

    Issue #2961: minor coding style fix.
    
    Missing space, and anyway let's use named parameters, which makes the
    code better self-documented.

 plug-ins/pygimp/gimpfu.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/pygimp/gimpfu.py b/plug-ins/pygimp/gimpfu.py
index fbb961a822..0c6d458125 100644
--- a/plug-ins/pygimp/gimpfu.py
+++ b/plug-ins/pygimp/gimpfu.py
@@ -607,7 +607,7 @@ def _interact(proc_name, start_params):
             self.button = gtk.Button()
             self.button.set_image(image)
             box.pack_start(self.entry)
-            box.pack_start(self.button,False)
+            box.pack_start(self.button, expand=False)
             self.button.connect("clicked", self.pick_file)
             if default:
                 self.entry.set_text(default)


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