Roll back ConversationViewer focus handle changes.

* src/client/conversation-viewer/conversation-viewer.vala
  (ConversationViewer::ConversationViewer): Don't think this even does
  anything?
  (ConversationViewer::select_conversation_async): This was breaking
  being able to browse up/down the convo list using the keyboard.
This commit is contained in:
Michael James Gratton 2016-04-18 10:47:41 +10:00
parent 4c87414d2b
commit 6f54c477dd

View file

@ -213,10 +213,6 @@ public class ConversationViewer : Gtk.Stack {
//conversation_find_bar.close.connect(() => { fsm.issue(SearchEvent.CLOSE_FIND_BAR); });
//pack_start(conversation_find_bar, false);
// Ensure the conversation_listbox scrolls with the focused message
Gtk.Adjustment adjustment = conversation_page.vadjustment;
conversation_listbox.set_focus_vadjustment(adjustment);
do_conversation();
}
@ -489,7 +485,6 @@ public class ConversationViewer : Gtk.Stack {
// Ensure the last message is always shown
Gtk.ListBoxRow last_row = conversation_listbox.get_row_at_index(messages.size - 1);
show_message(last_row, false);
last_row.grab_focus();
}
loading_conversations = false;