From 5a7e1ef2f334d07d7d24b0c6a02c26afc265b27b Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 11 Mar 2006 21:54:49 +0000 Subject: [PATCH] Put the playlist treeview in a ScrolledWindow. --- bin/snett | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/snett b/bin/snett index 7814411..58896a5 100755 --- a/bin/snett +++ b/bin/snett @@ -246,7 +246,13 @@ module Snett col = Gtk::TreeViewColumn.new("Name", renderer, :text => 0) @view.append_column(col) - vbox.add(@view) + scrolled = Gtk::ScrolledWindow.new + scrolled.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC) + scrolled.add(@view) + + vbox.add(scrolled) + + resize(350, 400) Snett.instance.xmms.medialib_playlists_list. notifier(&method(:on_playlists_list)) -- 2.30.2