View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#723
Originally Posted by daperl View Post
Ah, thanks, my bad. Time to dive into some code.
Apologies for taking this long, I actually had a post typed up but disabling swap killed Leafpad.

I was trying to get a screenshot but I had swap enabled (thanks tso) on both devices (and leaving the file manager running overnight didn't help). :\



With the numerous pixbuf references in browser (pretty sure I saw some WM references in there too, I'll have to attach g-inspector to maemo-launcher again sometime), and the fact that hildon-desktop overlays an image in about the same position as MicroB does with favicons, is why I think hildon-desktop does what browser does.

If I am wrong, there are at least two widgets, with open code, which display the favicon set by MicroB.




At the least, their code could be checked to see if they do anything special or, if not, just display the icon - set by the program - as-is. If it does just display the icon as-is, then it's more in favour of browser compositing the icon.

P.S: Nice work on that browser.

Oh, just to check that it wasn't done in the engine, I built the extremely old tablet-browser-ui-with-source (*gasp*):




My reckoning is: It gets the browser icon from the WM/hildon-desktop or from the png directly, does a request for the favicon, composites it over the browser icon, and sets the new icon for the window.

Last edited by qwerty12; 2009-08-02 at 12:03.
 

The Following User Says Thank You to qwerty12 For This Useful Post: