[gimp] Bug 753573 - Enter does not take a default action in Python-Fu dialogs
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 753573 - Enter does not take a default action in Python-Fu dialogs
- Date: Sun, 16 Aug 2015 18:18:04 +0000 (UTC)
commit 0b5c9c41fc4fcf93e4bb48a187ef6fc9079f795c
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
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]