bug fix, correctly query system

svn: r12763
This commit is contained in:
Benny Malengier 2009-07-04 10:21:10 +00:00
parent cf86470781
commit 4b9bf10c07
2 changed files with 1 additions and 2 deletions

View File

@ -237,7 +237,7 @@ def encodingdefs():
"""
pass
if platform in WINDOWS:
if platform.system() in WINDOWS:
# python encoding is ascii, but C functions need to recieve the
# windows codeset, so convert over to it
conv_utf8_tosrtkey = lambda x: locale.strxfrm(x.decode("utf-8").encode(

View File

@ -450,7 +450,6 @@ class FlatBaseModel(gtk.GenericTreeModel):
"""
Total number of items that maximally can be shown
"""
print 'total asked', self.node_map.max_rows()
return self.node_map.max_rows()
def displayed(self):