diff options
author | fiaxh <git@mx.ax.lt> | 2017-03-09 14:27:39 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-03-09 14:27:39 +0100 |
commit | b1e6e51c4f79f57f0a01b183ef185408fb22cc36 (patch) | |
tree | e7b7a3a85169abbed3852b93ee6d7a90a0e17039 /client/src/ui/conversation_selector/view.vala | |
parent | 811e252de19c2a8735c24b05c7ebae9328168096 (diff) | |
download | dino-b1e6e51c4f79f57f0a01b183ef185408fb22cc36.tar.gz dino-b1e6e51c4f79f57f0a01b183ef185408fb22cc36.zip |
Fix MUC join w/o bookmark, with psw; change some event listeners key_press->key_release
fixes #3
Diffstat (limited to 'client/src/ui/conversation_selector/view.vala')
-rw-r--r-- | client/src/ui/conversation_selector/view.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/ui/conversation_selector/view.vala b/client/src/ui/conversation_selector/view.vala index 72e8bbec..c551d258 100644 --- a/client/src/ui/conversation_selector/view.vala +++ b/client/src/ui/conversation_selector/view.vala @@ -22,7 +22,7 @@ public class View : Grid { public View(StreamInteractor stream_interactor) { conversation_list = new List(stream_interactor); scrolled.add(conversation_list); - search_entry.key_press_event.connect(search_key_press_event); + search_entry.key_release_event.connect(search_key_release_event); search_entry.search_changed.connect(search_changed); } @@ -41,7 +41,7 @@ public class View : Grid { refilter(); } - private bool search_key_press_event(EventKey event) { + private bool search_key_release_event(EventKey event) { conversation_list.select_row(conversation_list.get_row_at_y(0)); if (event.keyval == Key.Down) { ConversationRow? row = (ConversationRow) conversation_list.get_row_at_index(0); |