Oops, that's r=john [EMAIL PROTECTED] wrote: > Revision > 15586 <http://viewcvs.osafoundation.org/chandler?view=rev&rev=15586> > Author > jeffrey > Date > 2007-10-24 15:49:45 -0700 (Wed, 24 Oct 2007) > > > Log Message > > - Enhancements for bug 11103 > <http://bugzilla.osafoundation.org/show_bug.cgi?id=11103>, use move drag > icon when dragging items into > the minicalendar, and refresh more often to avoid having the last hover > date painted > > > Modified Paths > > * trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py > <#trunkchandlerparcelsosafframeworkblockscalendarCalendarBlockspy> > > > Diff > > > Modified: > > trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py > (15585 => 15586) > > --- trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py > 2007-10-24 22:36:15 UTC (rev 15585) > +++ trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarBlocks.py > 2007-10-24 22:49:45 UTC (rev 15586) > @@ -87,14 +87,15 @@ > if self.hoverDate != value: > self.hoverDate = value > self.Refresh() > - else: > + elif self.hoverDate is not None: > self.hoverDate = None > + self.Refresh() > > # only allow drag and drop of items > if self.GetDraggedFromWidget() is None: > return wx.DragNone > else: > - return dragResult > + return wx.DragMove > > def AddItems(self, itemList): > """ > @@ -120,6 +121,7 @@ > Override this to perform an action when hovering terminates. > """ > self.hoverDate = None > + self.Refresh() > > def __init__(self, *arguments, **keywords): > super (wxMiniCalendar, self).__init__(*arguments, **keywords) > > > ------------------------------------------------------------------------ > > _______________________________________________ > Commits mailing list > [EMAIL PROTECTED] > http://lists.osafoundation.org/mailman/listinfo/commits _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list http://lists.osafoundation.org/mailman/listinfo/chandler-dev
