Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use YQUI icon loader in YQImage whenever possible #100
Header icons for all the views of the partitioner were gone after the migration to theme icons and SVGs.
Cause and Fix
The YQImage had used an inconsistent approach to load the icons: If they could not be found in the desktop's theme, it would prepend
But that was wrong: It should have been either
Worse, it was a lot of code duplication; the reference how to do that is now the new
This results in less code and more robust code.
(Notice the icons at the page headers)
Pretty sure no. This is only for the YQImage widget. That other thing is a menu button.
But the problem might be the same there, and the fix should be even easier: Just use
I just checked: it does use YQUI::loadIcon(). So maybe the icon names are just wrong (using a suffix or a path?).