[Gpephone-devel] Adding new entry to .desktop file
Florian Boor
florian.boor at kernelconcepts.de
Thu Jan 3 13:23:01 CET 2008
Hi,
WANG Gang RD-ILAB-PEK schrieb:
> When applauncher parses the .desktop file, it will store the
> information in a hash table by using each mime/action pair (in form of
> 'mime:action') as the key and application's name as the value.
yes, that would be a good start. We need to take care about how to store the
information about applications. There are several entities inside
gpe-applauncher that need to access this information in different ways and we
must avoid both data duplication and excessive searching.
A hash table is good, but the value should be a pointer to the whole application
data structure, so that you can access all the application information such as
the icon and if multiple instances are allowed.
Greetings
Florian
--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] florian.boor at kernelconcepts.de
1D78 2D4D 6C53 1CA4 5588 D07B A8E7 940C 25B7 9A76
More information about the Gpephone-devel
mailing list