Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/TextThought.py
diff options
context:
space:
mode:
authorDonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647>2007-04-05 22:10:37 (GMT)
committer DonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647>2007-04-05 22:10:37 (GMT)
commitf4be743e61139f6c7f1561cf564a9c16bc786c96 (patch)
tree932e8657588ad13022583c6f1405e706f2e7d54c /src/TextThought.py
parent247d6353887745804d5e3ac7508c9effa17a58f0 (diff)
* src/TextThought.py:
Fix stupid bug to make text selection work git-svn-id: http://labyrinth.googlecode.com/svn/trunk@162 8f060a39-251c-0410-b1f3-431655927647
Diffstat (limited to 'src/TextThought.py')
-rw-r--r--src/TextThought.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextThought.py b/src/TextThought.py
index 2f32df3..4763471 100644
--- a/src/TextThought.py
+++ b/src/TextThought.py
@@ -792,7 +792,7 @@ class TextThought (BaseThought.BaseThought):
def handle_motion (self, event, mode, transformed):
if event.state & gtk.gdk.BUTTON1_MASK and self.editing:
- if transformed[0] < self.lr[0] and transformed[1] > self.ul[0] and \
+ if transformed[0] < self.lr[0] and transformed[0] > self.ul[0] and \
transformed[1] < self.lr[1] and transformed[1] > self.ul[1]:
x = int ((transformed[0] - self.ul[0])*pango.SCALE)
y = int ((transformed[1] - self.ul[1])*pango.SCALE)