X-Git-Url: http://git.maemo.org/git/?p=watersofshiloah;a=blobdiff_plain;f=src%2Fimagestore.py;fp=src%2Fimagestore.py;h=092efd0ada4933eaa1ab9013ca09eb4ea805ac19;hp=af0a1e2e8c8dba8f23c42419a19edd89f4e2d2e7;hb=ff04c42be662f792d3564f731adf660231071eb9;hpb=968d22ca969258cfda0e67adfcd1cb64e22052b5 diff --git a/src/imagestore.py b/src/imagestore.py index af0a1e2..092efd0 100644 --- a/src/imagestore.py +++ b/src/imagestore.py @@ -12,6 +12,7 @@ class ImageStore(object): "pause": "pause.png", "play": "play.png", "stop": "stop.png", + "loading": "loading.gif", "radio_header": "radio_header.png", "conference_background": "conference_bg.png", @@ -45,3 +46,7 @@ class ImageStore(object): def get_pixbuf_from_store(self, image): path = os.path.join(self._storePath, image) return gtk.gdk.pixbuf_new_from_file(path) + + def get_pixbuf_animation_from_store(self, image): + path = os.path.join(self._storePath, image) + return gtk.gdk.PixbufAnimation(path)