Commit c0af4429 authored by Jasper St. Pierre's avatar Jasper St. Pierre

gdesktopappinfo: Allow getting the desktop ID from the filename

parent 390115f3
......@@ -424,6 +424,8 @@ g_desktop_app_info_load_file (GDesktopAppInfo *self)
g_return_val_if_fail (self->filename != NULL, FALSE);
self->desktop_id = g_path_get_basename (self->filename);
key_file = g_key_file_new ();
if (g_key_file_load_from_file (key_file,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment