Wanderer: adjust handling of volume icons
commitab0c6c676ebd61bf39c3dfabea861cb71116a262
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 27 Sep 2013 18:53:05 +0000 (27 18:53 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 27 Sep 2013 18:53:05 +0000 (27 18:53 +0000)
tree91e1440dcc8adafabc2691a2b1ae868f0916eca8
parentd82f954fb25a0af253acff9ced587589f784e318
Wanderer: adjust handling of volume icons

- when looking for icon to match a volume, first match offline volumes
by volume name
- set and clear OFFLINE and DISABLED state, previously it was only set
- update private flags when updating an icon entry

First change solves the following problem:
Have "AROS Live CD:" OFFLINE and CDO:BUSY ONLINE
When AROS Live CD goes online it is assigned to CD0: device and
previous code was matching it to icon entry representing CD0:BUSY.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48156 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/system/Wanderer/Classes/iconvolumelist.c