On Mon, Jun 07, 2010 at 12:04:18AM +0530, anishmangal2...@gmail.com wrote: [...] > @@ -884,6 +939,10 @@ class UI: > kids[i].setButtClickedId(BUTT_CLICKED_ID) > > > + def actuallyHideAllWindows( self ): > + for i in range (0, len(self.windowStack)): > + self.windowStack[i].hide_all() > + > def hideAllWindows( self ): > for i in range (0, len(self.windowStack)): > self.moveWinOffscreen( self.windowStack[i] )
Why don't you just fix hideAllWindows()? > @@ -1913,22 +2036,22 @@ class ScrubberWindow(gtk.Window): > self.add( self.hbox ) > > self.button = gtk.Button() > - buttBox = gtk.EventBox() > - buttBox.add(self.button) > - buttBox.modify_bg( gtk.STATE_NORMAL, Constants.colorBlack.gColor ) > + self.buttBox = gtk.EventBox() > + self.buttBox.add(self.button) > + self.buttBox.modify_bg( gtk.STATE_NORMAL, > Constants.colorBlack.gColor ) great variable name that you inherited, there...might as well rename it to something more standard like "buttonBox" while you're at it.
pgpjHLFHt24Cl.pgp
Description: PGP signature
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel