aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-04-11 18:41:37 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-04-11 18:41:37 +0800
commitfff54e119823ba14123eb8273ec9a724eb81500a (patch)
tree7d49f525b56ac2a0440c81110cc331cd911b3e4b /calendar/gui/e-calendar-table.c
parent09b7c557f7b10d08147eea91993460ad226c56eb (diff)
downloadgsoc2013-evolution-fff54e119823ba14123eb8273ec9a724eb81500a.tar.gz
gsoc2013-evolution-fff54e119823ba14123eb8273ec9a724eb81500a.tar.zst
gsoc2013-evolution-fff54e119823ba14123eb8273ec9a724eb81500a.zip
added missing capabilities.
2003-04-11 Rodrigo Moya <rodrigo@ximian.com> * cal-util/cal-util.h: added missing capabilities. * cal-client/cal-client.c (cal_client_get_one_alarm_only, cal_client_get_organizer_must_attend, cal_client_get_save_schedules): * gui/itip-utils.c (itip_organizer_is_user): * gui/e-calendar-table.c (e_calendar_table_on_right_click): * gui/dialogs/task-editor.c (set_menu_sens): * gui/dialogs/event-page.c (event_page_fill_widgets): * gui/dialogs/meeting-page.c (meeting_page_fill_widgets): * gui/dialogs/alarm-page.c (button_options_clicked_cb): use the macros defined in cal-util.h for static capabilities. svn path=/trunk/; revision=20815
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 0cf38eedd1..41d12685b8 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -995,7 +995,8 @@ e_calendar_table_on_right_click (ETable *table,
if (cal_client_is_read_only (calendar_model_get_cal_client (e_calendar_table_get_model (cal_table))))
disable_mask |= MASK_EDITABLE;
- if (cal_client_get_static_capability (calendar_model_get_cal_client (e_calendar_table_get_model (cal_table)), "no-task-assignment"))
+ if (cal_client_get_static_capability (calendar_model_get_cal_client (e_calendar_table_get_model (cal_table)),
+ CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT))
disable_mask |= MASK_ASSIGNABLE;
e_popup_menu_run (tasks_popup_menu, (GdkEvent *) event,