GNOME Bugzilla – Bug 438613
improve "permission denied" error message in calendar/addressbook
Last modified: 2012-02-08 11:51:04 UTC
http://svn.gnome.org/viewcvs/evolution/trunk/addressbook/gui/widgets/eab-gui-util.c?revision=33432 /* E_BOOK_ERROR_PERMISSION_DENIED */ N_("Permission denied"), when i reopen an appointment and change the calendar source to some read-only calendar (B&A), i get that error message. it's a stupid error message that does not help anybody - what did i do wrong? why? at least tell me that it is a read-only calendar. related to bug 329594.
the patch in bug 329594, linking to the quoted error ID could be nice here: <error id="prompt-read-only-cal" type="error" default="GTK_RESPONSE_YES"> <_primary>Cannot create a new event</_primary> <_secondary>You have a read-only calendar source selected. Change to Calendar View and highlight a calendar that can accept appointments.</_secondary> <button stock ="gtk-ok" response="GTK_RESPONSE_YES"/> </error>
The message itself isn't so smart here either, because of that little advice: "Change to Calendar View and highlight a calendar that can accept appointments.", you know, you are in an appointment editing dialog.
Patch Attachment #90668 [details] to Bug #329594 solves this issue as well, maybe only if Andre wants to change that message as I mentioned in previous comment... :)
Bumping version to a stable release.
Andre ping.
milan pong.
Created attachment 107071 [details] [review] proposed evo patch for evolution; Added one message to calendar to distinguish between read-only state recognized from editor and from UI itself. In address book change a bit "Permission Denied" text for a bit more verbose. i checked and that is not possible to call delete on the read-only contact, thus should be fine. If you've better idea what to write there, then I'm for it.
Seems fine to me. Commit to trunk.
Committed to trunk. Committed revision 35260.
*** Bug 438809 has been marked as a duplicate of this bug. ***