aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client
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/cal-client
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/cal-client')
-rw-r--r--calendar/cal-client/cal-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index ca59840430..fc90c2a459 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -1295,7 +1295,7 @@ cal_client_get_one_alarm_only (CalClient *client)
g_return_val_if_fail (client != NULL, FALSE);
g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
- return check_capability (client, "one-alarm-only");
+ return check_capability (client, CAL_STATIC_CAPABILITY_ONE_ALARM_ONLY);
}
gboolean
@@ -1304,7 +1304,7 @@ cal_client_get_organizer_must_attend (CalClient *client)
g_return_val_if_fail (client != NULL, FALSE);
g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
- return check_capability (client, "organizer-must-attend");
+ return check_capability (client, CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ATTEND);
}
gboolean
@@ -1319,7 +1319,7 @@ cal_client_get_save_schedules (CalClient *client)
g_return_val_if_fail (client != NULL, FALSE);
g_return_val_if_fail (IS_CAL_CLIENT (client), FALSE);
- return check_capability (client, "save-schedules");
+ return check_capability (client, CAL_STATIC_CAPABILITY_SAVE_SCHEDULES);
}
/* Converts our representation of a calendar component type into its CORBA representation */