close the join_gc_window when we press Escape
This commit is contained in:
parent
3014afd583
commit
058f632115
|
@ -688,6 +688,10 @@ class Join_groupchat_window:
|
|||
"""close window"""
|
||||
del self.plugin.windows['join_gc'] # remove us from open windows
|
||||
|
||||
def on_join_groupchat_window_key_press_event(self, widget, event):
|
||||
if event.keyval == gtk.keysyms.Escape: # ESCAPE
|
||||
widget.destroy()
|
||||
|
||||
def on_recently_combobox_changed(self, widget):
|
||||
model = widget.get_model()
|
||||
iter = widget.get_active_iter()
|
||||
|
|
Loading…
Reference in New Issue