summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: baca2a5)
raw | patch | inline | side by side (parent: baca2a5)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 23 Jan 2009 04:00:08 +0000 (04:00 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 23 Jan 2009 04:00:08 +0000 (04:00 +0000) |
share/extensions/svgcalendar.inx | patch | blob | history | |
share/extensions/svgcalendar.py | patch | blob | history |
index 4fe45eed04eca4d1e110aa51b416518a83390ac2..7a33639a74c3718cc1c514da33194d9d48a84528 100644 (file)
<?xml version="1.0" encoding="UTF-8"?>\r
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">\r
- <_name>Calendar Generator</_name>
+ <_name>Calendar</_name>
<id>org.inkscape.calendar</id>\r
<dependency type="executable" location="extensions">svgcalendar.py</dependency>
index dba73ed11be6ab60d1323f66bd7b3760db5b4bff..7410d3079afdfb151d73f0a162236ecd07a3b1fe 100755 (executable)
txt_atts = {'style': simplestyle.formatStyle(style),\r
'x': str( self.day_w * week_x ),
'y': str( self.day_h * (week_y+2) ) }
- if day==0:
+ if day==0 and not self.options.fill_edb:
+ pass # draw nothing
+ elif day==0:
if before:
inkex.etree.SubElement(gdays, 'text', txt_atts).text = str( before_month[-bmd] )
bmd -= 1