On Saturday, March 19, 2011 11:03:06 am Ed Leafe wrote:
> dabo Commit
> Revision 6502
> Date: 2011-03-19 11:03:06 -0700 (Sat, 19 Mar 2011)
> Author: Ed
> Trac: http://trac.dabodev.com/changeset/6502
> 
> Changed:
> U   trunk/demo/samples/dLabel.py
> 
> Log:
> Fix for the problem of the dLabel demo freezing
> 
> Diff:
> Modified: trunk/demo/samples/dLabel.py
> ===================================================================
> --- trunk/demo/samples/dLabel.py      2011-03-19 14:16:26 UTC (rev 6501)
> +++ trunk/demo/samples/dLabel.py      2011-03-19 18:03:06 UTC (rev 6502)
> @@ -54,7 +54,7 @@
>               lbl.DynamicFontSize = lambda: self.Width * .05
>               lbl.DynamicCaption = self.getDynamicCaption
>               sz.append(lbl)
> -             dabo.ui.callAfter(self.update)
> +             dabo.ui.callAfterInterval(200, self.update)
> 
>               sz.appendSpacer(20)
>               sz.append(dabo.ui.dLine(self, Width=500), halign="Center")
> 
> 
> 

Still testing python 2.7 on openSUSE.  If click on either dLabel or dLed in 
the DaboDemo.py it will hang.  I do see the following:

(python:15268): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to 
allocate widget with width -5 and height 15 

Sometimes I can click on the dLabel and things will still work but Never after 
clicking on the dLed.


Johnf

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to