diff options
| author | OPNA2608 <opna2608@protonmail.com> | 2024-04-10 13:46:56 +0200 |
|---|---|---|
| committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-14 21:38:40 +0200 |
| commit | 93e91c150ec90232f456137ad3bee44d6a9fe4b5 (patch) | |
| tree | 2812290c1a8684481c45e2d13e18a84dd228659c /pkgs/development/python-modules/rangehttpserver | |
| parent | 8d0a5773b2fbfba337f403318f1194931175ddcd (diff) | |
ayatana-indicator-messages: Fix desktop parsing
Not *great*, but a start.
MessagingMenu has a function for mapping an app to desktop file data. This relies on GLib to parse the desktop file,
which needs the binary from the 'Exec=' entry on PATH, otherwise it bails.
messaging_menu_app_set_desktop_id calls g_desktop_app_info_new:
https://github.com/AyatanaIndicators/ayatana-indicator-messages/blob/334668ad5ad33c6bd342f34b159dbcbed8c65df1/libmessaging-menu/messaging-menu-app.c#L245-L252
Which, after some jumps inbetween, ends up in g_desktop_app_info_load_from_keyfile and calls g_find_program_for_path:
https://github.com/GNOME/glib/blob/204a76669bd46c5eb656946e21bd746685c67174/gio/gdesktopappinfo.c#L1920-L1951
Which uses PATH:
https://github.com/GNOME/glib/blob/204a76669bd46c5eb656946e21bd746685c67174/glib/gutils.c#L371
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
