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-07 16:58:38 (GMT)
committer matthias.vogelgesang <matthias.vogelgesang@8f060a39-251c-0410-b1f3-431655927647>2008-04-07 16:58:38 (GMT)
commita9942ec6dbdc5fe2fcb1d3e19b194a7e29e88fb4 (patch)
tree786e39e9d67a0a09a2e0c5870b7f83e29f18fc6f /src/TextThought.py
parentc3b5d2663aef364d4f1256e125c72f28d7ddd750 (diff)
* src/DrawingThought.py
* src/BaseThought.py * src/MMapArea.py * src/ImageThought.py * src/TextThought.py Started working on popup menus. Added image changing through popup menu. git-svn-id: http://labyrinth.googlecode.com/svn/trunk@306 8f060a39-251c-0410-b1f3-431655927647
Diffstat (limited to 'src/TextThought.py')
-rw-r--r--src/TextThought.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/TextThought.py b/src/TextThought.py
index d1de515..fe1830c 100644
--- a/src/TextThought.py
+++ b/src/TextThought.py
@@ -753,7 +753,7 @@ class TextThought (BaseThought.BaseThought):
clip = gtk.Clipboard (selection="PRIMARY")
self.paste_text (clip)
elif event.button == 3:
- self.emit ("popup_requested", (event.x, event.y), 1)
+ self.emit ("popup_requested", event, 1)
del self.current_attrs
self.current_attrs = []
@@ -1218,4 +1218,6 @@ class TextThought (BaseThought.BaseThought):
old_attrs,
self.attributes.copy()))
self.recalc_edges()
-
+
+ def get_popup_menu_items(self):
+ return []