[geary/wip/765516-gtk-widget-conversation-viewer: 59/207] Roll back ConversationViewer focus handle changes.



commit 6f54c477ddc842a59fa26e1f0bf92c10adc9eca4
Author: Michael James Gratton <mike vee net>
Date:   Mon Apr 18 10:47:41 2016 +1000

    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.

 .../conversation-viewer/conversation-viewer.vala   |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-viewer.vala 
b/src/client/conversation-viewer/conversation-viewer.vala
index f01408f..ffe0d0e 100644
--- a/src/client/conversation-viewer/conversation-viewer.vala
+++ b/src/client/conversation-viewer/conversation-viewer.vala
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]