I fixed it destroying and creating the adjustment control each time I need to change its upper value.<br clear="all">--<br>Rodrigo Pérez Fulloni - <a href="http://www.rodripf.com" target="_blank">http://www.rodripf.com</a><br>
<br><br><div class="gmail_quote">2011/6/8 Rodrigo Pérez Fulloni <span dir="ltr"><<a href="mailto:rodripf@gmail.com">rodripf@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi, I having a problem with a gtk.adjustment (<a href="http://www.pygtk.org/docs/pygtk/class-gtkadjustment.html" target="_blank">http://www.pygtk.org/docs/pygtk/class-gtkadjustment.html</a>): when I try to use the <a href="http://www.pygtk.org/docs/pygtk/class-gtkadjustment.html#method-gtkadjustment--set-upper" target="_blank">set_upper(upper)</a> function I get an error that says that function doesn't exist.<br clear="all">
</div><div>If you wanna try my code it is already on an activity: <a href="http://activities.sugarlabs.org/es-ES/sugar/addon/4446/" target="_blank">http://activities.sugarlabs.org/es-ES/sugar/addon/4446/</a> The activity raises the error when you try to write a number in the blackboard and the applications tries to update the upper limit of the history scroll.</div>
<div><br></div><div>In the emulator the app is working without problems. The problem could be that I'm using a laptop with Sugar 0.82? An old version of GTK?</div><div>Thanks</div>--<br><font color="#888888">Rodrigo Pérez Fulloni<br>
</font></blockquote></div><br>