diff options
author | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-09-13 21:50:32 (GMT) |
---|---|---|
committer | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-09-13 21:50:32 (GMT) |
commit | 0cdc7fd02ffd17d8e78c242f5fd386f6b0e969c3 (patch) | |
tree | 446c5a39f59f72b5d30247cabbaf02f08f60fc5a /Area.py | |
parent | e5cadc8ef53a7bc2f3a72e7b3ff290dfcd8f50e1 (diff) |
Changed some private attributes into public ones and vice-versa (OficinaActivity.area; OficinaActivity.textview; OficinaActivity.fixed; OficinaActivity._bg)
Diffstat (limited to 'Area.py')
-rw-r--r-- | Area.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -267,17 +267,17 @@ class Area(gtk.DrawingArea): elif self.estadoTexto is 1: try: # This works for a gtk.Entry - text = self.janela._textview.get_text() + text = self.janela.textview.get_text() except AttributeError: # This works for a gtk.TextView - buf = self.janela._textview.get_buffer() + buf = self.janela.textview.get_buffer() start, end = buf.get_bounds() text = buf.get_text(start, end) if text is not None: self.d.text(widget,event) self.estadoTexto = 0 - self.janela._textview.hide() + self.janela.textview.hide() if not self.selmove or self.tool['name'] != 'marquee-rectangular': self.oldx, self.oldy = coords |