ocarina: Refresh library settings list

I call the refresh function whenever the library has been updated.
This commit is contained in:
Bryan Schumaker 2011-06-18 11:38:39 -04:00
parent c31ec80016
commit 34c7bc374e
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import gobject
import libsaria
import queue
from ocarina import body
from ocarina import settings
from ocarina.body import footer
from libsaria import callbacks
import playlist
@ -54,6 +55,7 @@ callbacks.on_load_playlist = on_load_playlist
def library_updated():
library.refresh()
settings.library.refresh()
callbacks.on_library_updated = library_updated
def on_queue_changed():