After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 545263 - Use e_cal_get_static_capability() instead of...
Use e_cal_get_static_capability() instead of...
Status: RESOLVED WONTFIX
Product: evolution-data-server
Classification: Platform
Component: Calendar
2.24.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
aklapper[codecleanup]
Depends on:
Blocks:
 
 
Reported: 2008-07-29 06:08 UTC by Suman Manjunath
Modified: 2017-08-25 10:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Suman Manjunath 2008-07-29 06:08:34 UTC
Deprecate and discard: 
* e_cal_get_one_alarm_only()
* e_cal_get_organizer_must_attend()
* e_cal_get_recurrences_no_master()
* e_cal_get_save_schedules()
* e_cal_get_organizer_must_accept()

Instead use appropriately: 
* e_cal_get_static_capability()
Comment 1 Suman Manjunath 2008-07-29 06:31:17 UTC
instances of usage in evolution (SVN r35711)

[11:58:43 evolution] $ z e_cal_get_one_alarm_only
./calendar/gui/dialogs/alarm-list-dialog.c:109: if ((e_cal_get_one_alarm_only (dialog->ecal) && have_selected) || read_only)
[11:58:51 evolution] $ z e_cal_get_organizer_must_attend
./calendar/gui/dialogs/task-editor.c:547:               } else if (e_cal_get_organizer_must_attend (client)) {
./calendar/gui/dialogs/event-editor.c:745:                      } else if (e_cal_get_organizer_must_attend (client)) {
[11:59:03 evolution] $ z e_cal_get_recurrences_no_master
[11:59:12 evolution] $ z e_cal_get_save_schedules
./plugins/itip-formatter/itip-formatter.c:1655: save_schedules = e_cal_get_save_schedules (pitip->current_ecal);
./calendar/gui/itip-utils.c:1151:       if (method != E_CAL_COMPONENT_METHOD_PUBLISH && e_cal_get_save_schedules (client))
./calendar/gui/e-calendar-table.c:710:                          e_cal_get_save_schedules (client)))
./calendar/gui/e-itip-control.c:2558:   if (e_cal_get_save_schedules (priv->current_ecal))
./calendar/gui/e-calendar-view.c:893:                           e_cal_get_save_schedules (client)))
./calendar/gui/e-calendar-view.c:1103:                                  comp, TRUE) && !e_cal_get_save_schedules (event->comp_data->client)) {
./calendar/gui/dialogs/cancel-comp.c:70:        if (deleting && e_cal_get_save_schedules (client))
./calendar/gui/dialogs/send-comp.c:44:  if (e_cal_get_save_schedules (client))
./calendar/gui/dialogs/comp-editor.c:880:       if ((delegate && !e_cal_get_save_schedules (priv->client)) || (send && send_component_dialog ((GtkWindow *) editor, priv->client, priv->comp, !priv->existing_org))) {
./calendar/gui/e-cal-popup.c:641:               if (!e_cal_get_save_schedules (comp_data->client))
[11:59:25 evolution] $ z e_cal_get_organizer_must_accept
./calendar/gui/dialogs/event-page.c:1108:                               if (page->client && e_cal_get_organizer_must_accept (page->client))
./calendar/gui/dialogs/task-page.c:749:                         if (page->client && e_cal_get_organizer_must_accept (page->client))
[12:00:06 evolution] $ 
Comment 2 Milan Crha 2017-08-25 10:18:42 UTC
I'm closing this as WontFix. Those functions are easy-to-read wrappers, without a need to know the exact capability name everywhere.