builder: better error messages if failing to find desktop file

tingping/wmclass
Alexander Larsson 2016-04-11 11:20:12 +02:00
parent 3cc45ccf13
commit d52cb3b378
1 changed files with 4 additions and 1 deletions

View File

@ -1467,7 +1467,10 @@ builder_manifest_cleanup (BuilderManifest *self,
if (!g_file_load_contents (desktop, NULL,
&desktop_contents, &desktop_size, NULL, error))
return FALSE;
{
g_prefix_error (error, "Can't load desktop file %s: ", desktop_basename);
return FALSE;
}
if (!g_key_file_load_from_data (keyfile,
desktop_contents, desktop_size,