[gnome-contacts] Don't horizontally scroll the contacts list



commit f2e316cbb9f28e61ab9ff2b34375aa0c7917ffe8
Author: Alexander Larsson <alexl redhat com>
Date:   Tue May 24 14:25:57 2011 +0200

    Don't horizontally scroll the contacts list

 src/contacts-app.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index e812bd3..435fc60 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -422,6 +422,7 @@ public class Contacts.App : Window {
 
     var scrolled = new ScrolledWindow(null, null);
     scrolled.set_min_content_width (340);
+    scrolled.set_policy (PolicyType.NEVER, PolicyType.AUTOMATIC);
     scrolled.set_vexpand (true);
     scrolled.set_shadow_type (ShadowType.NONE);
     scrolled.get_style_context ().set_junction_sides (JunctionSides.RIGHT | JunctionSides.LEFT | JunctionSides.TOP);



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