Update of /cvsroot/freevo/freevo/skins/main1 In directory sc8-pr-cvs1:/tmp/cvs-serv13528/skins/main1
Modified Files: info_area.py Log Message: Fixed a small bug when updating the info_area contents Index: info_area.py =================================================================== RCS file: /cvsroot/freevo/freevo/skins/main1/info_area.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** info_area.py 7 Jul 2003 16:25:10 -0000 1.9 --- info_area.py 9 Jul 2003 07:26:38 -0000 1.10 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.10 2003/07/09 07:26:38 gsbarbieri + # Fixed a small bug when updating the info_area contents + # # Revision 1.9 2003/07/07 16:25:10 dischi # changes to work with the new drawstringframed *************** *** 138,143 **** set self.content and self.layout_content if they need to be set (return 1) or does nothing (return 0) ! """ ! if self.layout_content is not self.layout.content: types = self.layout.content.types self.content = self.calc_geometry( self.layout.content, copy_object=TRUE ) --- 141,156 ---- set self.content and self.layout_content if they need to be set (return 1) or does nothing (return 0) ! """ ! update=0 ! try: ! if self.content.width != self.area_val.width or \ ! self.content.height != self.area_val.height or \ ! self.content.x != self.area_val.x or \ ! self.content.y != self.area_val.y: ! update=1 ! except: ! pass ! ! if self.layout_content is not self.layout.content or update: types = self.layout.content.types self.content = self.calc_geometry( self.layout.content, copy_object=TRUE ) *************** *** 332,336 **** shadow_y = element.font.shadow.y - # Calculate the geometry r = Geometry( x, y, element.width, element.height) --- 345,348 ---- ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog