ocarina: Use new list_queue() for filling queue

I might as well use the new function so I can remove the old
walk_queue() function.
This commit is contained in:
Bryan Schumaker 2011-05-08 09:57:57 -04:00
parent d30eaeea50
commit b43725bbe8
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ def set_visible():
QUEUE_PAGE.show()
def fill_queue():
songs = queue.walk_queue("id", "title", "lenstr", "artist", "album", "year")
attrs = ("id", "title", "lenstr", "artist", "album", "year")
songs = libsaria.sources.list_queue(*attrs)
queue_page.insert(songs)
set_label_text()
set_visible()