Hello, I've solved the problem by writting
playButton = ToolButton(stock_id = gtk.STOCK_MEDIA_PLAY) instead of playButton = ToolButton('gtk-media-play') Regards Le 9 mars 2012 18:01, laurent bernabe <laurent.bern...@gmail.com> a écrit : > Hello everyone, > > I'm implementing the new Sugar toolbar in my application LearningWriting. > I haven't done any commit yet for the problem I'm facing. > > I wrote the line > > playButton = ToolButton('gtk-media-play') #(line 99) > > in order to add a tool button with the play icon. But the space for the > button is allocated, and no icon is shown. > > > Whereas, if i replace by > > playButton = ToolButton('gtk-media-record') #(line 99) > > this time I can see the gtk icon for a record button. > > Here is my activity code : > > http://pastebin.com/kH2Y00i4 > > Regards > >
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel