- caption = ustr(s)
-
+ if not (isinstance(s,bool) or self.fields[f]['type'] == 'boolean'):
+ caption = ustr(s)
+
for f in self.axis[1:]:
s = event[f]
if isinstance(s, (tuple, list)): s = s[-1]
-
- description += [ustr(s)]
+ if not (isinstance(s, bool) or self.fields[f]['type'] == 'boolean'):
+ description += [ustr(s)]
starts = event.get(self.date_start)
ends = event.get(self.date_delay) or 1.0
just modified the patch a bit before final merge
=== modified file 'bin/widget/ view/calendar_ gtk/parser. py' view/calendar_ gtk/parser. py 2011-10-31 09:12:35 +0000 view/calendar_ gtk/parser. py 2012-07-20 06:25:32 +0000
--- bin/widget/
+++ bin/widget/
@@ -440,13 +440,14 @@
if isinstance(s, (tuple, list)): s = s[-1]
- caption = ustr(s) f]['type' ] == 'boolean'): f]['type' ] == 'boolean'):
-
+ if not (isinstance(s,bool) or self.fields[
+ caption = ustr(s)
+
for f in self.axis[1:]:
s = event[f]
if isinstance(s, (tuple, list)): s = s[-1]
-
- description += [ustr(s)]
+ if not (isinstance(s, bool) or self.fields[
+ description += [ustr(s)]
starts = event.get( self.date_ start) self.date_ delay) or 1.0
ends = event.get(