[kupfer] picasa: Use picasa icon for most album sources



commit 273f2920957467c72f5fc87921b74ef71e555ce9
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Thu Mar 4 22:52:52 2010 +0100

    picasa: Use picasa icon for most album sources

 kupfer/plugin/google_picasa/__init__.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/google_picasa/__init__.py b/kupfer/plugin/google_picasa/__init__.py
index c4049fa..815e775 100644
--- a/kupfer/plugin/google_picasa/__init__.py
+++ b/kupfer/plugin/google_picasa/__init__.py
@@ -388,6 +388,9 @@ class PicasaPrivAlbumsSource(Source):
 	def provides(self):
 		yield PicasaAlbum
 
+	def get_icon_name(self):
+		return "picasa"
+
 
 class PicasaUsersSource(Source):
 	def __init__(self, name=_("Picasa Albums")):
@@ -437,3 +440,6 @@ class PicasaAlbumSource(Source):
 
 	def get_parent(self):
 		return self.picasa_user
+
+	def get_icon_name(self):
+		return "picasa"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]