Reply
Thread Tools
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#1
hi everybody
im thinking about making a menu app for maemo devices with python
i could get a list of some icons from the folder usr/share/pixmaps
but i guess all icons are not there
briefly what i need is some kind of a code snippet to get a list of installed apps and their icons like personal launcher do in its setting menu
i hope you understand what i mean
i'll be waiting for your helps
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2
Installed application that are meant to run from launcher have a .desktop file in /usr/share/applications/hildon/ directory. You can parse those files, which include then name of the executable.
 

The Following User Says Thank You to Matan For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
You can use Glib's GKeyFile stuff to parse a desktop file.

I imagine Personal Launcher and Personal Menu have code for doing this, along with hildon-desktop itself.
 

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 00:41.