Set NEVER policy for horizontal scrollbar
authorJavier Jardón <javier.jardon@codethink.co.uk>
Tue, 29 Mar 2011 19:31:38 +0000 (20:31 +0100)
committerJavier Jardón <jjardon@gnome.org>
Tue, 29 Mar 2011 21:25:54 +0000 (22:25 +0100)
src/moonshot-window.vala

index 694a9cd..c769f9d 100644 (file)
@@ -48,7 +48,7 @@ class MainWindow : Window
         this.text_view.cursor_visible = true;
 
         var scroll = new ScrolledWindow (null, null);
-        scroll.set_policy (PolicyType.AUTOMATIC, PolicyType.AUTOMATIC);
+        scroll.set_policy (PolicyType.NEVER, PolicyType.AUTOMATIC);
         scroll.add (this.text_view);
 
         var button_add = new Button.from_stock ("gtk-add");