Add signal for media-changed, and test on mediaview
svn: r13949
This commit is contained in:
parent
2adcdb6ae3
commit
6cdb8a9406
@ -34,6 +34,7 @@ class DbState(Callback):
|
||||
__signals__ = {
|
||||
'database-changed' : (DbBsddbRead, ),
|
||||
'active-changed' : (str, ),
|
||||
'media-changed' : (str, ),
|
||||
'no-database' : None,
|
||||
}
|
||||
|
||||
|
@ -332,6 +332,7 @@ class MediaView(ListView):
|
||||
pix = ThumbNails.get_thumbnail_image(
|
||||
Utils.media_path_full(self.dbstate.db, obj.get_path()))
|
||||
self.image.set_from_pixbuf(pix)
|
||||
self.dbstate.emit('media-changed', (handle, ))
|
||||
|
||||
def ui_definition(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user