bug fix, correctly query system
svn: r12763
This commit is contained in:
parent
cf86470781
commit
4b9bf10c07
@ -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(
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user