Re: .desktop
- From: Ulrik Sverdrup <ulrik sverdrup gmail com>
- To: Chmouel Boudjnah <chmouel chmouel com>
- Cc: Kupfer list <kupfer-list gnome org>
- Subject: Re: .desktop
- Date: Tue, 24 Nov 2009 01:30:59 +0100
2009/11/24 Chmouel Boudjnah <chmouel chmouel com>:
> If needs to be implemented I was thinking about something like that :
>
> http://www.google.com/codesearch/p?hl=en&sa=N&cd=4&ct=rc#y2oIrqJBKrg/deskbar/handlers/programs.py&q=parse%20\.desktop%20lang:python
Gio is wonderful. All that code in that file, replaced by simply
asking for all installed applications with gio.app_info_get_all() --
what is not to like? Kupfer is possible because of GIO and GLib and
the recently added pleasant high-level libraries. Writing code to
parse stuff like that is no fun (and will have bugs too).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]