daemon: notify user on studio save failure

This commit is contained in:
Nedko Arnaudov 2010-08-29 23:38:04 +03:00
parent 2d39e5eab0
commit 6a2a94b996
1 changed files with 5 additions and 0 deletions

View File

@ -442,6 +442,11 @@ free_filenames:
ASSERT(g_studio.filename != NULL);
exit:
if (!ret)
{
ladish_notify_simple(LADISH_NOTIFY_URGENCY_HIGH, "Studio save failed", "Please inspect the ladishd log (~/.ladish/ladish.log) for more info");
}
return ret;
}