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



commit 7597310d00ec11a61e3e26601a7e93bedeed3090
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 9fa2452..602c09b 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();
     }
     
@@ -484,7 +480,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]