<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div><div>Hi,</div><div><br></div><div>I'm trying to change an activity to the new system of bars (Sugar > 0.86)</div><div><br></div><div><a href="http://git.sugarlabs.org/puntillismo/mainline">http://git.sugarlabs.org/puntillismo/mainline</a></div><div><br></div><div>Someone knows how make this "old" objects in the new system?</div><div><br></div><div>gtk.Label()</div><div><span style="font-size: 10pt; ">gtk.SpinButton()</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">I have this code, for example:</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; "><div> item = gtk.ToolItem()</div><div> self.label= gtk.Label()</div><div> self.label.set_text('text of the label ')</div><div> item.add(self.label)</div><div> bar.insert(item, -1)</div></span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">If someone like.. can send a patch :-)</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">Regards!</span></div><div><span style="font-size: 10pt; "><br></span></div><div><span style="font-size: 10pt; ">Alan</span></div> </div></body>
</html>