From: Steve C. <ste...@ya...> - 2004-03-22 16:44:47
|
I had a look at backend_gtk.py and noticed that the toolbar code could be simplified. Instead of iconw = gtk.Image() iconw.set_from_stock(gtk.STOCK_GO_BACK, iconSize) you could do two steps in one with iconw = gtk.image_new_from_stock(gtk.STOCK_GO_BACK, iconSize) The pygtk Changelog says that gtk.image_new_from_stock() has been available since 1.99.5. Regards Steve |