[gnome-contacts] Scroll to newly focused edit widgets



commit be9145c9b2b42ae552be38f2c03623bd36a6ee40
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Aug 31 15:52:56 2011 +0200

    Scroll to newly focused edit widgets

 src/contacts-contact-pane.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 3547258..92d79f9 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -1580,6 +1580,7 @@ public class Contacts.ContactPane : Grid {
     grid.attach (scrolled, 0, 1, 1, 1);
 
     var top_grid = new Grid ();
+    top_grid.set_focus_vadjustment (main_scrolled.get_vadjustment ());
     top_grid.set_orientation (Orientation.VERTICAL);
     scrolled.add_with_viewport (top_grid);
     scrolled.get_child().get_style_context ().add_class ("contact-pane");



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