View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Originally Posted by daperl View Post
I agree; this is exactly what I'm looking for, but... where can I find the code?
Regarding hildon-desktop? g-inspector tells me that the widget that is able to display that "Z Z" is an HNAppButton; and the corresponding source file - in the hildon-desktop tarball - is src/hn-app-button.c and the function which checks to see if it hibernated, and draws that "Z Z" accordingly, is hn_app_button_compose_app_pixbuf.

Originally Posted by daperl View Post
Did you get your browser source from here?
https://garage.maemo.org/plugins/scm.../?root=browser
Yes, to be more precise, here: https://garage.maemo.org/plugins/scm.../?root=browser

Here's my quick hack of it to get it to build in the Diablo SDK: http://qwerty12.qole.org/tablet-browser-ui.tar.bz2

(I also messed around with gtk_adi_set_child_icon() but failed (I left the code in that tarball, not sure if I was doing it right) to see if it was that which was setting the icon.

GTK ADI is a library that was made by an MicroB developer, still linked to by browser.launch, and exists in the SDK repo; albeit in a source-only form ( http://repository.maemo.org/pool/dia...ibg/libgtkadi/ ) despite the libgtkadi1 deb being found in the Nokia SSU update repository. Not really sure why it was used as I've never seen multiple "documents" in one browser window so it caught my curiosity.
)

Originally Posted by daperl View Post
A fun exercise made possible by Bundyo and jmalonzo.
Ah, cool, thanks.

Personally, I think that the bigger problem is overriding the icon set by hildon-desktop (I don't know if it can be done, I just let hildon-desktop set it through the Icon= parameter in the desktop file). Because, if you can do that, you can get the icon it is currently using and composite your image over it and set the new icon.

Last edited by qwerty12; 2009-08-02 at 17:22.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post: