Page MenuHomePhabricator

Efl.Ui.Image: Add fallback when icon is not found in default theme
ClosedPublic

Authored by segfaultxavi on Feb 20 2020, 4:30 AM.

Details

Summary

If _icon_standard_set() fails, _icon_freedesktop_set() is tried.

This was causing missing icons in the homescreen example, which uses
application icons which are obviously not present in the default theme.

Thanks to @bu5hm4n!

Test Plan

The homescreen sample application from the examples repository now correctly shows all missing icons.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.