From: <cl...@us...> - 2003-09-26 01:20:19
|
Update of /cvsroot/todo-manager/todo-manager In directory sc8-pr-cvs1:/tmp/cvs-serv13752 Modified Files: ChangeLog.txt tdm_calendar.py Log Message: The current date on the calendar will be highlighted in a delightful shade of blue. Oooo, doesn't that sound lovely? Index: ChangeLog.txt =================================================================== RCS file: /cvsroot/todo-manager/todo-manager/ChangeLog.txt,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- ChangeLog.txt 21 Jun 2003 15:09:43 -0000 1.44 +++ ChangeLog.txt 26 Sep 2003 01:20:14 -0000 1.45 @@ -11,6 +11,7 @@ * Added a script that will update any translation with new translations strings that have been added (i18n/updatepo.py) * Added a scrollbar to the Note textbox + * The current date on the calendar is highlighted in blue Version 0.70.2 (03/16/2003): * Groups with multilingual characters no longer cause an exception Index: tdm_calendar.py =================================================================== RCS file: /cvsroot/todo-manager/todo-manager/tdm_calendar.py,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- tdm_calendar.py 14 Mar 2003 23:42:48 -0000 1.16 +++ tdm_calendar.py 26 Sep 2003 01:20:14 -0000 1.17 @@ -90,9 +90,12 @@ if (self.year, self.month, DayCount) in self.__important_dates: # All important dates in blue + fg = 'darkgreen' + + if (self.year, self.month, DayCount) == (self.year, self.month, self.day): fg = 'blue' - elif (self.year, self.month, DayCount) == self.__seldate: + if (self.year, self.month, DayCount) == self.__seldate: fg = 'darkred' # The current day in red # Black border around the selected date self._calcanvas.create_rectangle((i*30)+5, (j*25)+20, (i*30)+25, (j*25)+40, |