Changed logic for deleting sources / selection.
Authored by: bruno.herbelin@gmail.com 2012-01-02
Parent: [r499]
Child: [r501]