projects
/
snett.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc4ef4
)
Put the playlist treeview in a ScrolledWindow.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 11 Mar 2006 21:54:49 +0000
(21:54 +0000)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 11 Mar 2006 22:54:49 +0000
(22:54 +0000)
bin/snett
patch
|
blob
|
history
diff --git
a/bin/snett
b/bin/snett
index 7814411e24b3d24efb81aa25c1d4e2e2e0604275..58896a5e07ba164a8afc2f3fdd15392b6c132524 100755
(executable)
--- 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))