Commit 6857e636 authored by Eitan Isaacson's avatar Eitan Isaacson

* plugins/interface_view.py: Fixed editable text bug (bug #574223).

parent 3535961a
2009-05-15 Eitan Isaacson <eitan@ascender.com>
* plugins/interface_view.py: Fixed editable text bug (bug #574223).
* plugins/Makefile.am:
* plugins/event_monitor.py:
* plugins/event_monitor.ui:
......
......@@ -1205,7 +1205,7 @@ class _SectionText(_InterfaceSection):
label_text = expander_label.get_label()
label_text = label_text.replace(_('<i>(Editable)</i>'),'')
label_text = label_text.strip(' ')
if eti:
if eti and acc.getState().contains(pyatspi.STATE_EDITABLE):
label_text += ' ' + _('<i>(Editable)</i>')
self.text_view.set_editable(True)
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment