tryton: Return textview when duplicate Text widget for translation (issue249005)

3 views
Skip to first unread message

cedric...@b2ck.com

unread,
Feb 21, 2012, 10:52:05 AM2/21/12
to cedric...@b2ck.com, re...@tryton-rietveld.appspotmail.com, tryto...@googlegroups.com
Reviewers: ,

Please review this at http://codereview.tryton.org/249005/

Affected files:
M tryton/gui/window/view_form/view/form_gtk/parser.py


Index: tryton/gui/window/view_form/view/form_gtk/parser.py
===================================================================

--- a/tryton/gui/window/view_form/view/form_gtk/parser.py
+++ b/tryton/gui/window/view_form/view/form_gtk/parser.py
@@ -732,7 +732,7 @@
scrolledwindow.set_size_request(-1, 80)
scrolledwindow.add(textview)
textview.set_accepts_tab(False)
- return scrolledwindow, gtk.FILL | gtk.EXPAND
+ return textview, gtk.FILL | gtk.EXPAND
else:
return None, False


Reply all
Reply to author
Forward
0 new messages