You can change the behavior of the display by adding new icons, so it's
necessary to test which icons are present in order to draw the correct
display. We test for availability by getting an icon and checking if it
wasn't found. The filesystem is pretty well cached on each of the
platforms, but if we measure performance problems we could build
another cache.
John
Heikki Toivonen wrote:
John Anderson wrote:
These are probably situations where we look for an icon, and if it
exists we use it, otherwise we use an alternative icon. So this is the
correct behavior.
This seems less than optimal. Shouldn't the app know which image it
should display, rather than try the file system for different images?
>From performance point of view it seems like hitting the file system for
these images slows us down (this would need to be profiled to be sure).
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev