[gnome-contacts/new-design] Scroll content with focus
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/new-design] Scroll content with focus
- Date: Thu, 15 Dec 2011 09:37:30 +0000 (UTC)
commit 0d5ed5120d4c85f4e6cd5aa8445a2bda6cf8d03d
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 13 10:02:35 2011 +0100
Scroll content with focus
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 411910a..d1738c7 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -1035,6 +1035,7 @@ public class Contacts.ContactPane : ScrolledWindow {
top_grid.set_margin_bottom (10);
top_grid.set_row_spacing (20);
this.add_with_viewport (top_grid);
+ top_grid.set_focus_vadjustment (this.get_vadjustment ());
this.get_child().get_style_context ().add_class ("contact-pane");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]