add permission/access control error type

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4791 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2001-06-26 00:22:35 +00:00
parent 208077c312
commit da38309eac

View File

@ -114,6 +114,12 @@ show_book_error (GNCBackendError io_error, const char *newfile)
gnc_error_dialog (buf);
break;
case ERR_BACKEND_PERM:
fmt = _("You do not have permission to access\n %s\n");
buf = g_strdup_printf (fmt, newfile);
gnc_error_dialog (buf);
break;
case ERR_BACKEND_MISC:
fmt = _("An error occurred while processing\n %s\n");
buf = g_strdup_printf (fmt, newfile);