X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/778613ffd2c0d8e7cf9088923b4aad9d734f5064..8c1013780b1e2e0be8e1922113ce865511563ce7:/src/minwii/widgets/songfilebrowser.py?ds=sidebyside diff --git a/src/minwii/widgets/songfilebrowser.py b/src/minwii/widgets/songfilebrowser.py index cfa3022..ba8c836 100755 --- a/src/minwii/widgets/songfilebrowser.py +++ b/src/minwii/widgets/songfilebrowser.py @@ -36,6 +36,8 @@ class FileOpenDialog(FileDialog): else: self.curdir = path self.dir_img = basic.Image( pguglobals.app.theme.get(cls1+'.folder', '', 'image')) + self.soundfile_img = basic.Image( + pguglobals.app.theme.get(cls1+'.soundfile', '', 'image')) td_style = {'padding_left': 4, 'padding_right': 4, 'padding_top': 2, @@ -115,9 +117,9 @@ class FileOpenDialog(FileDialog): style['width'] = PICTURE_ITEM_SIZE * float(iw) / ih img = basic.Image(img, style=style) - self.list.add(l[0], value = l[1], image = img) else : - self.list.add(l[0], value = l[1]) + img = self.soundfile_img + self.list.add(l[0], value = l[1], image = img) self.list.set_vertical_scroll(0)