
Hi, Today I was debugging how to show icons in Report module because I remembered seeing them while calling, e.g., Report::Error() functions in the past. Then I found that *UI::GetDisplayInfo* doesn't return *HasLocalImageSupport* key and some modules rely on that information: seven:/usr/share/YaST2 # grep -r "HasLocalImageSupport" * | grep -v "^Binary file" clients/hwinfo.ycp: if ((boolean) ui_info["HasLocalImageSupport"]:false == false) return `Empty(); modules/SignatureCheckDialogs.ycp: has_local_image_support = ui_capabilities["HasLocalImageSupport"]:false; modules/SourceManagerSLP.ycp: if ((boolean) ui_info["HasLocalImageSupport"]:false == false) return `Empty(); modules/SlideShowCallbacks.ycp: if ( ui_capabilities[ "HasLocalImageSupport" ]:false ) (I've already fixed the Popup library...) This is what UI::GetDisplayInfo currently returns for me: $[ "Colors":16777216, "DefaultHeight":735, "DefaultWidth":1176, "Depth":24, "HasAnimationSupport":true, "HasFullUtf8Support":true, "HasIconSupport":true, "HasImageSupport":true, "Height":1050, "LeftHandedMouse":false, "RichTextSupportsTable":true, "TextMode":false, "Width":1680 ] Has the key been dropped or changed to "HasImageSupport" or "HasIconSupport"? Is there a documentation for the keys returned? Well, there is something, I wrote that examples there :) http://forgeftp.novell.com/yast/doc/SL11.1/tdg/YCP_UI_GetDisplayInfo.html but it might be helpful to describe every single key. Any volunteer, please? Thx && Bye Lukas -- Lukas Ocilka, YaST Developer (xn--luk-gla45d) ----------------------------------------------------------------- Ano, ano. Moudry rozkaz. Sam jsem nemel v tech gratulacich jasno.