[gimp] Update plug-ins/pygimp/gimpfu.py



commit b44c2e935278c2ef42ed1e6110bf9e7add3e1d58
Author: Veerasamy Sevagen <sevagenv gmail com>
Date:   Wed Feb 13 11:53:40 2019 +0000

    Update plug-ins/pygimp/gimpfu.py

 plug-ins/pygimp/gimpfu.py | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/plug-ins/pygimp/gimpfu.py b/plug-ins/pygimp/gimpfu.py
index 3be874de05..13a95a7f62 100644
--- a/plug-ins/pygimp/gimpfu.py
+++ b/plug-ins/pygimp/gimpfu.py
@@ -606,6 +606,9 @@ def _interact(proc_name, start_params):
             image.set_from_stock(gtk.STOCK_FILE, gtk.ICON_SIZE_BUTTON)
             self.button = gtk.Button()
             self.button.set_image(image)
+            self.expander = gtk.Expander()
+            self.expander.add(self.button)
+            self.expander.set_expanded(False)
             box.pack_start(self.entry)
             box.pack_start(self.button)
             self.button.connect("clicked", self.pick_file)
@@ -613,6 +616,7 @@ def _interact(proc_name, start_params):
                 self.entry.set_text(default)
 
         def show(self):
+            self.expander.show()
             super(FilenameSelector, self).show()
             self.button.show()
             self.entry.show()


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