[rhythmbox] context: add scrolling for the top five list (bug #673956)



commit b5c2330ac0d93d76d6f1230e675f855d89fe9b61
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Jul 25 08:57:51 2012 +1000

    context: add scrolling for the top five list (bug #673956)

 plugins/context/ContextView.py |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/context/ContextView.py b/plugins/context/ContextView.py
index 013638c..fa92bc5 100644
--- a/plugins/context/ContextView.py
+++ b/plugins/context/ContextView.py
@@ -270,7 +270,12 @@ class ContextView (GObject.GObject):
         top_five_tvc2.add_attribute(crt, 'text', 1)
         
         top_five_view.set_headers_visible( False )
-        frame.add (top_five_view)
+
+	scroll = Gtk.ScrolledWindow()
+	scroll.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.NEVER)
+	scroll.add(top_five_view)
+
+        frame.add (scroll)
 
         #---- set up webkit pane -----#
         self.webview = WebKit.WebView()



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