Hello Mobliners, I am currently trying to port an application to Moblin v2.1 and ran into a problem with the Mutter/myzone-panel. The idea is that the application should change its icon dependent on its status. E.g. if it is currently doing something in the background the icon has to look different compared to when it is idle. In the applications-panel it is easy to achieve this: Just changing the icon in the corresponding *.desktop file and touching the /usr/share/applications folder brings the applications-panel icons up to date. However, the icon of the same application is not changed in the myzone-panel (provided that the application has been bookmarked as favourite application before). So far I haven't found a satisfactory solution for this problem. I took a look at the libmoblin-panel API and I tried out the bookmark management API in /usr/include/libmoblin-panel/mpl-app-bookmark-manager.h This API offers however "only" the option to remove and add bookmarks but not, e.g., to update the bookmarks. An obvious workaround would be to remove and then add again the bookmark but this does not lead to the desired result: The icon in the myzone-panel does not change at all even though it has been changed in the *.desktop file.
Is there an easy way to force the myzone panel to reparse the *.desktop files of its bookmarked/favourite apps? (Other than rebooting or killing the myzone panel) Any hint or idea would be welcome! Thanks & best regards, Marcel --------------------------------------------------------------------- Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen Germany Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer Registergericht: Muenchen HRB 47456 Ust.-IdNr. VAT Registration No.: DE129385895 Citibank Frankfurt (BLZ 502 109 00) 600119052 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
