View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#716
@daperl

(In response to http://talk.maemo.org/showpost.php?p...&postcount=481)

After LD_PRELOADing g-inspector into maemo-launcher and having it popup with browser-ui, looking at the Quarks List, I can say that there is no function. But I did notice a shitton of GdkPixBuf references.

So, after some observation, I noticed that the File Manager has the 'Z' icon overlayed, like how MicroB overlays favicons.
Grepped hildon-desktop for "qgn_" and I found /usr/share/icons/hicolor/16x16/hildon/qgn_indi_bkilled.png. Guess what this icon was? Yep, the 'Z' that it overlays.

Ran the trusty g-inspector and used its Widget Picker on the icon with the 'Z' and it told me that its GType was HNAppButton.

I then grabbed the source to hildon-desktop, grepped for HNAppButton and it pointed me to src/hn-app-button.c

Looked in here and I saw a ton of PixBuf functions that got the current icon and overlayed that 'Z' over it if it found the program to be in a hibernated state.
 

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