On 2023-04-18 13:38, Stefan Hundhammer wrote:
On 2023-04-18 12:00, Gaurav Kumar wrote:
I was searching for a way to load icons in table.
And got the yast example for this in git
https://raw.githubusercontent.com/yast/yast-ycp-ui-bindings/master/examples/Table-icons.rb

I tried executing this example on SLES 15 SP4 there icon Name are
loading but icons are not loading in table.

The way icons are loaded changed; it now tries several locations:

- A theme icon provided by the desktop, if there is one by that name

- A compiled-in icon (using Qt's resource system)

- A full path.

It turned out that the last fallback (full path) stopped working about 5 years ago after the last major change; the one that introduced loading theme icons and then trying compiled-in icons.

https://github.com/libyui/libyui/pull/94 (WIP)


Kind regards
--
Stefan Hundhammer  <[email protected]>
YaST Developer

SUSE Software Solutions Germany GmbH
GF: Ivo Totev; HRB 36809, AG Nürnberg

Reply via email to