[gimp/gimp-2-8] Bug 753573 - Enter does not take a default action in Python-Fu dialogs



commit 6bb8ec5bb37c92db1075b1c0e139325efb9985c0
Author: David Gowers <00ai99 gmail com>
Date:   Sun Aug 16 20:17:03 2015 +0200

    Bug 753573 - Enter does not take a default action in Python-Fu dialogs
    
    (cherry picked from commit 0b5c9c41fc4fcf93e4bb48a187ef6fc9079f795c)

 plug-ins/pygimp/gimpfu.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/pygimp/gimpfu.py b/plug-ins/pygimp/gimpfu.py
index 8bd79fd..79baea5 100644
--- a/plug-ins/pygimp/gimpfu.py
+++ b/plug-ins/pygimp/gimpfu.py
@@ -443,6 +443,7 @@ def _interact(proc_name, start_params):
         def __init__(self, default=""):
             gtk.Entry.__init__(self)
             self.set_text(str(default))
+            self.set_activates_default(True)
 
         def get_value(self):
             return self.get_text()


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