From c633a80c1e353f8c56e6a97bd8996a33fbf3b384 Mon Sep 17 00:00:00 2001 From: Jesse Pavel <jpavel@src.gnome.org> Date: Tue, 14 Nov 2000 00:26:12 +0000 Subject: I created this file to store some commonly used enumeration to string * gui/itip-utils.[ch]: I created this file to store some commonly used enumeration to string mappings and functions. * gui/Makefile.am: this was changed to reflect the addition of the above file. * gui/e-itip-control.c: added code to take action on a REPLY message. * gui/e-meeting-edit.c: bug fixes. svn path=/trunk/; revision=6566 --- calendar/gui/e-meeting-edit.c | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) (limited to 'calendar/gui/e-meeting-edit.c') diff --git a/calendar/gui/e-meeting-edit.c b/calendar/gui/e-meeting-edit.c index daf5c73035..6d72ea2c66 100644 --- a/calendar/gui/e-meeting-edit.c +++ b/calendar/gui/e-meeting-edit.c @@ -28,6 +28,7 @@ #include <Evolution-Composer.h> #include <string.h> #include "e-meeting-edit.h" +#include "itip-utils.h" #define E_MEETING_GLADE_XML "e-meeting-dialog.glade" @@ -63,41 +64,6 @@ struct _EMeetingEditorPrivate { enum column_names {ADDRESS_COL, ROLE_COL, RSVP_COL, STATUS_COL}; -static gchar *partstat_values[] = { - "Needs action", - "Accepted", - "Declined", - "Tentative", - "Delegated", - "Completed", - "In Progress", - "Unknown" -}; - -static gchar *role_values[] = { - "Chair", - "Required Participant", - "Optional Participant", - "Non-Participant", - "Other" -}; - - -/* Note that I have to iterate and check myself because - ical_property_get_xxx_parameter doesn't take into account the - kind of parameter for which you wish to search! */ -static icalparameter * -get_icalparam_by_type (icalproperty *prop, icalparameter_kind kind) -{ - icalparameter *param; - - for (param = icalproperty_get_first_parameter (prop, ICAL_ANY_PARAMETER); - param != NULL && icalparameter_isa (param) != kind; - param = icalproperty_get_next_parameter (prop, ICAL_ANY_PARAMETER) ); - - return param; -} - static void save_organizer (EMeetingEditorPrivate *priv) -- cgit