Some changes from a few weeks ago. I don't really remember what

git-svn-id: file:///home/anna/Desktop/ocarina-legacy/mithos/ocarina@23 1daee41c-8060-4895-b1f0-2197c00d777a
This commit is contained in:
bjschuma 2009-06-14 22:51:45 +00:00
parent d509259cf5
commit 2f946a6d71
3 changed files with 7 additions and 4 deletions

View File

@ -8,4 +8,5 @@ clean:
install: install:
rsync *.py ~/bin/ocarina-bin/ rsync *.py ~/bin/ocarina-bin/
cp ocarina ~/bin/ocarina-bin/ cp ocarina ~/bin/ocarina-bin/
ln -s ~/bin/ocarina-bin/ocarina ~/bin/ rm ~/bin/ocarina
ln -s /home/bjschuma/bin/ocarina-bin/ocarina /home/bjschuma/bin/ocarina

View File

@ -1,2 +1,3 @@
#!/bin/bash #!/bin/bash
cd ~/bin/ocarina-bin
/usr/bin/python ocarina.py $@ /usr/bin/python ocarina.py $@

View File

@ -48,8 +48,8 @@ class Playlist:
# Play the selected song # Play the selected song
def selectSong(self,module,iter,path,data): def selectSong(self,module,iter,path,data,list):
self.queueSong(iter[0]) self.queueSong(list[iter][0])
self.opsNext(None,None) self.opsNext(None,None)
self.hideWindow(None,None) self.hideWindow(None,None)
@ -83,8 +83,9 @@ class Playlist:
treeview.append_column(col) treeview.append_column(col)
treeview.set_search_column(1) treeview.set_search_column(1)
treeview.connect("row-activated",self.selectSong,"clicked") treeview.connect("row-activated",self.selectSong,"clicked",liststore)
treeview.show() treeview.show()
treeview.columns_autosize()
self.scroll.add(treeview) self.scroll.add(treeview)
self.scroll.show() self.scroll.show()
# Go to current song, enable grid lines # Go to current song, enable grid lines