[Syncropated-commits] r163 - trunk/src

zimmerle at garage.maemo.org zimmerle at garage.maemo.org
Tue Jan 30 01:51:57 EET 2007


Author: zimmerle
Date: 2007-01-30 01:51:56 +0200 (Tue, 30 Jan 2007)
New Revision: 163

Modified:
   trunk/src/ElementMusic.py
   trunk/src/LocalMusicManager.py
Log:
s/Unknow/Unknown/

Modified: trunk/src/ElementMusic.py
===================================================================
--- trunk/src/ElementMusic.py	2007-01-29 23:48:47 UTC (rev 162)
+++ trunk/src/ElementMusic.py	2007-01-29 23:51:56 UTC (rev 163)
@@ -1,4 +1,26 @@
+#!/usr/bin/python
 
+# ElementMusic
+#
+#  Copyright (c) 2006 INdT (Instituto Nokia de Technologia)
+#
+#  Author: Felipe Zimmerle <felipe at zimmerle.org>
+#          Kenneth Rohde Christiansen <kenneth.christiansen at gmail.com>
+#
+#  This program is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU General Public License as
+#  published by the Free Software Foundation; either version 2 of the
+#  License, or (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+#  USA
 
 import gobject
 import gtk
@@ -117,7 +139,7 @@
 
 	def get_property(self, name):
 		if self.mp3 == None:
-			return 'Unknow'
+			return 'Unknown'
 
 		if name == 'filename':
 			return self.mp3.fileName

Modified: trunk/src/LocalMusicManager.py
===================================================================
--- trunk/src/LocalMusicManager.py	2007-01-29 23:48:47 UTC (rev 162)
+++ trunk/src/LocalMusicManager.py	2007-01-29 23:51:56 UTC (rev 163)
@@ -461,7 +461,7 @@
 				value = self.__model_tree_view_filter.get_value(iter,
 								LocalMusicManager.TITLE)
 
-				if value == 'Unknow':
+				if value == 'Unknown':
 					value = ''
 
 				parent = self.__model_tree_view_filter.get_iter(path[:2])
@@ -702,7 +702,7 @@
 		log.debug('LocalMusicManager :: recalculate ref counts ...')
 		i = 0
 		if property == '':
-			property = 'Unknow'
+			property = 'Unknown'
 		while i < self.__model_tree_view_filter.iter_n_children(node):
 			log.debug('LocalMusicManager :: recalculate ref counts :: ' +
 				str(i))



More information about the Syncropated-commits mailing list