[Elisa-commits] [MERGE] List widgets API changes regarding index related signals and properties

Florian Boucault florian at fluendo.com
Thu Jul 31 01:11:45 CEST 2008


bb: resubmit

A new merge request with the newest version of the code will have to be
issued.

Le mardi 17 juin 2008 à 20:28 +0200, Florian Boucault a écrit :
> That bundle introduces a number of changes to the API of the list
> widgets:
> - 'item-clicked' signal prototype changed to give the actual item
> instead of the index of the item in the model
> - 'selected-item-changed' signal prototype changed to give the actual
> items instead of their indexes in the model
> - 'selected_item' property renamed into 'selected_item_index' since it
> actually is the index of the selected item
> 
> It adapts all widgets inheriting from
> elisa.plugins.pigment.widgets.list.List and adapts the code of the Shelf
> and Amazon tutorial.
> 
> A good review shall include lots of greps on 'item-clicked',
> 'selected-item-changed', 'selected_item' and default closures for the
> signals: 'do_item_clicked', 'do_selected_item_changed', etc.
> 
> Thanks,
> 
> Florian


More information about the Elisa-commits mailing list