mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
208077c312
commit
da38309eac
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user