Fix roster popup menu.
Replace Gdk.Event with Gdk.Event.new, so that event is constructed with correct type information. This fixes showing a roster popup menu when launched using keyboard shortcut (Menu key or Shift-F10).
This commit is contained in:
부모
a15f37aee3
커밋
38581b7080
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
|
@ -3967,7 +3967,7 @@ class RosterWindow:
|
|||
self.on_history(widget, contact, account)
|
||||
|
||||
def on_roster_window_popup_menu(self, widget):
|
||||
event = Gdk.Event(Gdk.EventType.KEY_PRESS)
|
||||
event = Gdk.Event.new(Gdk.EventType.KEY_PRESS)
|
||||
self.show_treeview_menu(event)
|
||||
|
||||
def on_row_activated(self, widget, path):
|
||||
|
|
불러오는 중…
테이블 추가
Reference in a new issue