This commit is contained in:
Nikos Kouremenos 2005-11-20 12:52:17 +00:00
parent 2626b888b9
commit 52eac71064
1 changed files with 2 additions and 2 deletions

View File

@ -834,7 +834,7 @@ class Chat:
# get the cursor position
cursor = parent.get_iter_location(buf.get_iter_at_mark(buf.get_insert()))
cursor = parent.buffer_to_window_coords(gtk.TEXT_WINDOW_TEXT, cursor.x, cursor.y)
return (origin[0] + cursor[0], origin[1] + size[1], 0)
return (origin[0] + cursor[0], origin[1] + size[1], True) # push_in True
self.emoticons_menu.popup(None, None, set_emoticons_menu_position, 1, 0)
elif event.keyval == gtk.keysyms.Page_Down:
if event.state & gtk.gdk.SHIFT_MASK: # SHIFT + PAGE DOWN