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



commit d65d0badf6db7bb0476bda2c8ab53940a3b1f7b2
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 f4a82d1..36e53ac 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]