[gnome-music] albumArtCache: Save thumbnail path as URI
- From: Arnel A. Borja <arnelborja src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] albumArtCache: Save thumbnail path as URI
- Date: Mon, 16 Sep 2013 08:39:25 +0000 (UTC)
commit c86ed03f2d809088f4ca97267de45c8898482f2a
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Sat Sep 14 21:30:07 2013 +0800
albumArtCache: Save thumbnail path as URI
https://bugzilla.gnome.org/show_bug.cgi?id=708102
gnomemusic/albumArtCache.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/albumArtCache.py b/gnomemusic/albumArtCache.py
index a09275c..c4e9735 100644
--- a/gnomemusic/albumArtCache.py
+++ b/gnomemusic/albumArtCache.py
@@ -60,7 +60,7 @@ class LookupRequest:
def finish(self, pixbuf):
if pixbuf:
# Cache the path on the original item for faster retrieval
- self.item.set_thumbnail(self.path)
+ self.item.set_thumbnail(GLib.filename_to_uri(self.path, None))
self.callback(pixbuf, self.path, self.data)
def _try_load(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]