Hi Eliad, I downloaded the source from upstream (1.6.8) and the debian orig.tar.gz (1.6.9). There are some small changes (see diff bellow), but the answer is that with have version 1.6.8 sources.
I guess the best way to fix this is just package the right 1.6.9 sources or even newer upstream releases (1.7.1 is available). Kaplan $ diff -ruw jalali-calendar-1.6.8.oldsite jalali-calendar-1.6.9.debian Only in jalali-calendar-1.6.8.oldsite/pixmaps: cday-2.png Only in jalali-calendar-1.6.8.oldsite/pixmaps: cday.png Only in jalali-calendar-1.6.9.debian: .project Only in jalali-calendar-1.6.9.debian: .pydevproject diff -ruw jalali-calendar-1.6.8.oldsite/src/calendar.py jalali-calendar-1.6.9.debian/src/calendar.py --- jalali-calendar-1.6.8.oldsite/src/calendar.py 2009-04-19 13:45:15.000000000 +0300 +++ jalali-calendar-1.6.9.debian/src/calendar.py 2009-08-31 08:30:30.000000000 +0300 @@ -269,7 +269,7 @@ break customday =False - if (gray==False): + if ((gray==False)and(self.extraday!=None)): cd = 0 for ctmp in self.extraday: if ((self.jmonth==int(ctmp[0]))and (self.day[i][j]==int(ctmp[1]))): diff -ruw jalali-calendar-1.6.8.oldsite/src/jcalendar.py jalali-calendar-1.6.9.debian/src/jcalendar.py --- jalali-calendar-1.6.8.oldsite/src/jcalendar.py 2009-04-21 07:41:07.000000000 +0300 +++ jalali-calendar-1.6.9.debian/src/jcalendar.py 2009-08-31 08:30:30.000000000 +0300 @@ -191,7 +191,7 @@ def __init__(self,applet,iid): self.propxml=""" <popup name="button3"> - <menuitem name="Item1" verb="Customday" label="_Custom day" pixtype="stock" pixname="gtk-add"/> + <menuitem name="Item1" verb="Customday" label="_Event day" pixtype="stock" pixname="gtk-add"/> <menuitem name="Item2" verb="Preferences" label="_Preferences" pixtype="stock" pixname="gtk-preferences"/> <menuitem name="Item3" verb="About" label="_About..." pixtype="stock" pixname="gnome-stock-about"/> </popup>""" diff -ruw jalali-calendar-1.6.8.oldsite/src/utility.py jalali-calendar-1.6.9.debian/src/utility.py --- jalali-calendar-1.6.8.oldsite/src/utility.py 2009-02-24 13:12:49.000000000 +0200 +++ jalali-calendar-1.6.9.debian/src/utility.py 2010-01-04 20:41:13.000000000 +0200 @@ -238,7 +238,7 @@ redirect = ((n_years * YEAR_LEND) - math.floor(n_years * YEAR_LEND)) if (redirect <= SEGMENT_REDIRECTION): - today = math.ceil(fn_days - (n_years * YEAR_LEND)) + today = math.ceil(fn_days - (n_years * YEAR_LEND)) -1 elif ((redirect > SEGMENT_REDIRECTION) and (redirect < 0.88)): today = (fn_days - (n_years * YEAR_LEND)) + 1 else: