Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/TextThought.py
diff options
context:
space:
mode:
authormatthias.vogelgesang <matthias.vogelgesang@8f060a39-251c-0410-b1f3-431655927647>2008-04-02 17:17:22 (GMT)
committer matthias.vogelgesang <matthias.vogelgesang@8f060a39-251c-0410-b1f3-431655927647>2008-04-02 17:17:22 (GMT)
commit2bc2372471228dfa69cc0913e7e123bcdf90bd40 (patch)
treeb71156508bee348d347bd4796f252fd9e2780919 /src/TextThought.py
parent51d5beb9442fe9a0bed70ba791f64cbb9f678d9d (diff)
* src/TextThought.py
Fix issue 92. * po/de.po Updated german translation. git-svn-id: http://labyrinth.googlecode.com/svn/trunk@285 8f060a39-251c-0410-b1f3-431655927647
Diffstat (limited to 'src/TextThought.py')
-rw-r--r--src/TextThought.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/TextThought.py b/src/TextThought.py
index a99c3a1..551ef5e 100644
--- a/src/TextThought.py
+++ b/src/TextThought.py
@@ -749,6 +749,8 @@ class TextThought (BaseThought.BaseThought):
if not (event.state & modifiers) & gtk.gdk.SHIFT_MASK:
self.end_index = self.index
elif mode == BaseThought.MODE_EDITING and event.type == gtk.gdk._2BUTTON_PRESS:
+ self.move_index_horizontal(False) # go to the end
+ self.index = 0 # and mark all
self.emit ("begin_editing")
elif event.button == 2 and self.editing:
x = int ((transformed[0] - self.ul[0])*pango.SCALE)