Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/activity.py b/activity.py
index ba9847b..ea1d827 100644
--- a/activity.py
+++ b/activity.py
@@ -141,7 +141,7 @@ class Chat(activity.Activity):
def _add_smiley_to_entry(self, button, text):
pos = self.entry.props.cursor_position
- self.entry.props.buffer.insert_text(pos, text, -1)
+ self.entry.insert_text(text, pos)
self.entry.set_position(pos + len(text))
self._smiley.palette.popdown(True)