Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pchenthill
evolution-data-server
fix-eds-bnc-210961-quota-exceeded.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-eds-bnc-210961-quota-exceeded.diff of Package evolution-data-server
Index: calendar/libecal/e-cal.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/calendar/libecal/e-cal.c,v retrieving revision 1.132 diff -u -p -r1.132 e-cal.c --- calendar/libecal/e-cal.c 8 Nov 2006 12:48:15 -0000 1.132 +++ calendar/libecal/e-cal.c 13 Nov 2006 12:02:40 -0000 @@ -4430,6 +4430,14 @@ e_cal_create_object (ECal *ecal, icalcom g_mutex_unlock (our_op->mutex); e_calendar_free_op (our_op); + if (status == E_CALENDAR_STATUS_PERMISSION_DENIED) { + const char *msg = _("Unable to create the event either due lack of permissions or \ +this account's storage limit is exceeded"); + + g_set_error ((error), E_CALENDAR_ERROR, (status), msg, (status)); + return FALSE; + } + E_CALENDAR_CHECK_STATUS (status, error); } Index: calendar/backends/groupwise/e-cal-backend-groupwise.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise.c,v retrieving revision 1.191 diff -u -p -r1.191 e-cal-backend-groupwise.c --- calendar/backends/groupwise/e-cal-backend-groupwise.c 26 Sep 2006 13:45:21 -0000 1.191 +++ calendar/backends/groupwise/e-cal-backend-groupwise.c 13 Nov 2006 12:02:41 -0000 @@ -1849,6 +1849,9 @@ e_cal_backend_groupwise_create_object (E if (status == E_GW_CONNECTION_STATUS_UNKNOWN_USER) return GNOME_Evolution_Calendar_UnknownUser; + /*FIXME replace the code with enum. This had been done to avoid ABI breakage */ + else if (status == 58652) + return GNOME_Evolution_Calendar_PermissionDenied; else return GNOME_Evolution_Calendar_OtherError; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor