Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorAlexandre 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)
commit0cdc7fd02ffd17d8e78c242f5fd386f6b0e969c3 (patch)
tree446c5a39f59f72b5d30247cabbaf02f08f60fc5a /Area.py
parente5cadc8ef53a7bc2f3a72e7b3ff290dfcd8f50e1 (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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Area.py b/Area.py
index 8306779..2391fee 100644
--- a/Area.py
+++ b/Area.py
@@ -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