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:
parent
d509259cf5
commit
2f946a6d71
|
@ -8,4 +8,5 @@ clean:
|
|||
install:
|
||||
rsync *.py ~/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
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/bash
|
||||
cd ~/bin/ocarina-bin
|
||||
/usr/bin/python ocarina.py $@
|
||||
|
|
|
@ -48,8 +48,8 @@ class Playlist:
|
|||
|
||||
|
||||
# Play the selected song
|
||||
def selectSong(self,module,iter,path,data):
|
||||
self.queueSong(iter[0])
|
||||
def selectSong(self,module,iter,path,data,list):
|
||||
self.queueSong(list[iter][0])
|
||||
self.opsNext(None,None)
|
||||
self.hideWindow(None,None)
|
||||
|
||||
|
@ -83,8 +83,9 @@ class Playlist:
|
|||
treeview.append_column(col)
|
||||
|
||||
treeview.set_search_column(1)
|
||||
treeview.connect("row-activated",self.selectSong,"clicked")
|
||||
treeview.connect("row-activated",self.selectSong,"clicked",liststore)
|
||||
treeview.show()
|
||||
treeview.columns_autosize()
|
||||
self.scroll.add(treeview)
|
||||
self.scroll.show()
|
||||
# Go to current song, enable grid lines
|
||||
|
|
Loading…
Reference in New Issue