[geary/wip/730682-refine-convo-list: 168/175] Set the conversation list's scrolled window policy in the builder file.



commit 8f8339146e7fd9081d751d402da627977a4a03e0
Author: Michael James Gratton <mike vee net>
Date:   Sat Oct 14 17:08:48 2017 +1100

    Set the conversation list's scrolled window policy in the builder file.

 src/client/components/main-window.vala |    4 ----
 ui/main-window.ui                      |    1 +
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/client/components/main-window.vala b/src/client/components/main-window.vala
index dc706b6..ef12a33 100644
--- a/src/client/components/main-window.vala
+++ b/src/client/components/main-window.vala
@@ -205,10 +205,6 @@ public class MainWindow : Gtk.ApplicationWindow {
         // Folder list
         this.folder_list_scrolled.add(this.folder_list);
         // Conversation list
-        this.conversation_list_scrolled.set_policy(
-            Gtk.PolicyType.NEVER,
-            Gtk.PolicyType.AUTOMATIC
-        );
         this.conversation_list_scrolled.add(this.conversation_list);
         // Conversation viewer
         this.conversations_paned.pack2(this.conversation_viewer, true, true);
diff --git a/ui/main-window.ui b/ui/main-window.ui
index e09e308..74b0473 100644
--- a/ui/main-window.ui
+++ b/ui/main-window.ui
@@ -79,6 +79,7 @@
                                 <property name="width_request">250</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
+                                <property name="hscrollbar_policy">never</property>
                               </object>
                             </child>
                             <style>


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