Ignacy Kuchciński
f310caad7a
gdesktopappinfo: Handle minimal app infos when saving
...
Currently `g_desktop_app_info_ensure_saved()` assumes that if the object
does not have a filename, it was created with
`g_app_info_create_from_commandline()`, and therefore assumes
`info->exec`, `info->name` and `info->comment` are not NULL.
However, app info could have been also created with
`g_desktop_app_info_new_from_keyfile()`, which does not guarantee any of
those values. This results in failed assertions and broken resulting
filename, if these keys are not set in the key file.
The Name key is required by the Desktop Entry Specification, so make
`g_desktop_app_info_new_from_keyfile()` error out when the name is
missing, and check the remaining values in
`g_desktop_app_info_ensure_saved()`.
2026-10-21 14:43:08 +02:00
..
2022-01-07 11:27:56 -06:00
2025-05-17 15:43:13 +02:00
2024-03-13 03:32:56 +05:30
2022-10-13 20:53:56 -04:00
2026-07-31 10:25:17 +00:00
2025-11-25 15:08:30 +00:00
2025-09-05 22:34:44 +02:00
2026-10-21 14:43:08 +02:00
2022-12-12 15:58:13 +01:00
2026-10-21 14:43:08 +02:00
2023-11-27 14:15:36 +00:00
2024-11-13 14:24:50 +01:00
2023-10-03 09:10:21 +01:00
2022-11-02 12:34:19 +00:00
2026-08-22 14:26:52 +02:00
2023-05-22 22:44:52 +02:00
2025-12-18 23:17:11 +00:00
2025-09-03 21:47:11 +02:00
2025-11-02 11:18:37 +00:00
2025-11-02 11:18:37 +00:00
2024-11-08 22:34:38 +00:00
2022-12-13 14:07:58 +00:00
2026-08-09 15:23:10 -04:00
2026-09-22 09:24:01 +00:00
2022-11-02 12:34:19 +00:00
2023-10-12 11:45:03 +02:00
2024-10-17 11:42:49 +01:00
2024-04-25 00:37:47 +01:00
2026-08-08 12:48:51 +05:30
2022-05-18 09:20:07 +01:00
2023-08-03 09:16:26 -05:00
2024-10-08 13:57:30 +01:00
2024-01-23 21:35:54 -08:00
2026-10-13 12:32:08 -07:00
2026-08-08 12:48:51 +05:30
2024-06-13 20:00:12 +01:00
2025-10-21 19:17:46 +02:00
2024-12-10 11:47:43 +00:00
2026-08-09 18:46:27 +05:30
2025-10-16 20:29:32 +02:00
2023-01-17 21:08:49 +01:00
2026-08-17 10:57:34 +00:00
2026-06-25 17:23:46 +01:00
2022-12-08 05:21:19 +01:00
2025-10-27 21:33:54 +00:00
2026-08-04 12:18:42 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2025-03-21 14:02:49 +00:00
2026-05-25 21:15:38 +03:00
2022-11-02 12:34:19 +00:00
2025-12-16 12:53:40 +00:00
2025-02-26 21:48:30 +00:00
2025-02-26 21:48:30 +00:00
2025-02-26 21:48:30 +00:00
2023-05-22 22:44:52 +02:00
2025-10-16 19:16:26 +00:00
2022-06-23 10:47:13 +01:00
2022-11-23 11:15:20 +00:00
2026-04-29 16:43:00 +01:00
2026-07-31 13:33:07 +01:00
2026-06-25 17:23:46 +01:00
2026-06-25 17:23:46 +01:00
2022-05-18 09:20:07 +01:00
2026-06-25 17:23:46 +01:00
2022-11-23 11:15:20 +00:00
2025-09-19 13:44:37 +01:00
2025-04-03 13:04:05 +00:00
2024-05-16 22:52:23 +01:00
2024-05-16 22:52:23 +01:00
2023-01-31 11:44:44 +00:00
2026-06-25 17:23:46 +01:00
2024-05-16 22:52:23 +01:00
2024-05-16 22:52:22 +01:00
2026-07-14 12:42:00 +01:00
2026-04-16 15:27:37 +01:00
2026-04-29 12:13:32 +01:00
2024-05-16 22:52:23 +01:00
2024-05-16 22:52:22 +01:00
2022-06-23 10:47:13 +01:00
2022-11-23 11:15:20 +00:00
2024-09-26 12:48:16 +01:00
2026-07-14 12:42:00 +01:00
2024-05-16 22:52:23 +01:00
2022-11-23 11:15:20 +00:00
2022-11-23 11:15:20 +00:00
2024-05-16 22:52:22 +01:00
2022-07-18 19:39:41 +01:00
2026-07-09 10:41:21 +00:00
2025-11-07 22:44:35 -08:00
2024-09-27 17:08:21 +01:00
2024-09-27 17:08:21 +01:00
2025-09-19 13:44:05 +01:00
2024-05-16 22:52:23 +01:00
2022-11-23 11:15:20 +00:00
2025-09-19 13:44:05 +01:00
2025-09-19 13:44:05 +01:00
2024-09-26 12:48:16 +01:00
2024-10-08 13:57:30 +01:00
2026-02-06 19:32:36 +00:00
2022-06-28 11:19:21 +01:00
2024-03-27 12:07:42 +00:00
2026-07-28 23:06:10 +00:00
2022-11-07 11:30:32 +00:00
2023-01-06 11:46:01 +00:00
2024-07-24 00:21:35 +02:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2024-06-14 23:05:25 +01:00
2022-06-23 10:47:13 +01:00
2026-08-09 15:23:10 -04:00
2024-07-09 17:40:16 +01:00
2025-05-28 14:37:08 +01:00
2025-02-18 15:04:06 +00:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2025-09-03 21:47:11 +02:00
2026-06-25 17:23:46 +01:00
2025-07-07 15:45:50 -05:00
2022-11-02 12:34:19 +00:00
2026-07-15 09:01:33 +02:00
2025-11-07 22:44:35 -08:00
2022-10-27 14:50:48 +01:00
2022-11-02 12:34:19 +00:00
2024-01-23 11:02:48 +00:00
2026-06-17 16:29:14 +08:00
2024-01-30 07:38:13 +00:00
2026-07-02 14:02:16 +01:00
2026-06-17 16:29:14 +08:00
2022-05-18 09:20:07 +01:00
2024-06-26 14:18:41 -04:00
2025-09-03 21:47:11 +02:00
2026-10-06 15:14:53 +00:00
2025-08-18 13:44:23 +00:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:20:07 +01:00
2025-07-07 15:45:50 -05:00
2022-06-01 12:44:23 +01:00
2026-07-05 18:46:03 +09:00
2025-09-03 21:47:11 +02:00
2024-10-01 18:25:52 +02:00
2025-10-16 22:12:00 +02:00
2026-08-09 15:23:10 -04:00
2025-09-03 21:47:11 +02:00
2022-11-02 12:34:19 +00:00
2026-08-12 23:49:04 +08:00
2023-10-02 15:00:23 +01:00
2022-11-24 20:03:39 +01:00
2022-11-24 20:03:39 +01:00
2022-11-24 20:03:39 +01:00
2022-11-24 20:03:39 +01:00
2022-11-24 20:03:39 +01:00
2023-05-30 12:28:45 +01:00
2023-05-30 12:28:45 +01:00
2023-05-30 12:28:45 +01:00
2023-05-30 12:28:45 +01:00
2025-02-07 00:55:35 +01:00
2025-02-07 00:55:35 +01:00
2022-05-18 09:20:07 +01:00
2023-12-20 16:14:57 +00:00
2022-05-18 09:20:07 +01:00
2024-07-09 21:41:03 +01:00
2023-04-27 12:23:25 +01:00
2022-10-13 20:53:56 -04:00
2026-09-14 10:34:53 -04:00
2022-11-24 20:03:39 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2025-10-17 03:48:55 +02:00
2025-10-17 03:48:55 +02:00
2026-10-06 12:35:19 +01:00
2025-07-03 16:11:29 -05:00
2025-08-19 21:31:13 +08:00
2022-05-18 09:20:07 +01:00
2025-07-03 16:11:29 -05:00
2023-04-29 21:48:03 +03:00
2026-04-22 15:54:14 +02:00
2024-06-28 14:25:38 +01:00
2025-11-25 15:25:38 +00:00
2025-03-04 14:20:48 +00:00
2025-12-18 17:36:43 +01:00
2024-09-09 17:37:52 +01:00
2023-06-30 22:59:37 +02:00
2022-05-18 09:20:07 +01:00
2026-06-25 17:23:46 +01:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2025-11-07 22:44:35 -08:00
2026-09-20 10:02:36 +05:30
2022-11-02 12:34:19 +00:00
2022-06-23 10:47:13 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2023-12-20 16:14:57 +00:00
2026-08-25 19:25:17 +08:00
2026-07-15 16:21:37 +02:00
2026-01-06 10:57:07 -08:00
2022-11-02 12:34:19 +00:00
2023-08-29 11:22:43 +01:00
2022-11-02 12:34:19 +00:00
2023-10-12 11:32:03 +02:00