varamfer / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

"None" icon logic #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If an image (like "image.png") does not exist, a "none" value is returned 
instead. Additionally, the user would have the possibility to define 
icon="none" on some widget to make the widget iconless. To be backward 
compatible, an empty png with the name none.png is put on images folder (so 
that if the UI does not catch the case that icon="none", it will be able to 
access a file with the according name).

Original issue reported on code.google.com by mishoboss on 19 Jan 2012 at 5:13

GoogleCodeExporter commented 9 years ago
Google Code doesn't like my Opera and despite I selected Feature request, it 
stayed as Bug report. Sorry for that...

Original comment by mishoboss on 19 Jan 2012 at 5:15

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 19 Jan 2012 at 5:20

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 25 Jan 2012 at 1:05

GoogleCodeExporter commented 9 years ago
Implemented as discussed in changeset 
http://code.google.com/p/openhab/source/detail?r=1d0d7f031da1b7769d2ff5ff9333a13
74c56a0fa.

Note that the CI server is currently not up, so you might have to do a local 
build yourself in order to test it.

Original comment by kai.openhab on 25 Jan 2012 at 1:12