diff options
Diffstat (limited to 'calendar/gui/e-meeting-store.c')
-rw-r--r-- | calendar/gui/e-meeting-store.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c index 9a86a16b28..a942d83779 100644 --- a/calendar/gui/e-meeting-store.c +++ b/calendar/gui/e-meeting-store.c @@ -159,8 +159,6 @@ role_to_text (icalparameter_role role) default: return _("Unknown"); } - - return NULL; } static gboolean @@ -224,8 +222,6 @@ partstat_to_text (icalparameter_partstat partstat) default: return _("Unknown"); } - - return NULL; } static GtkTreeModelFlags @@ -518,41 +514,6 @@ e_meeting_store_set_value (EMeetingStore *store, int row, int col, const gchar * } } -static gboolean -is_cell_editable (EMeetingStore *etm, int col, int row) -{ - EMeetingStore *store; - EMeetingStorePrivate *priv; - EMeetingAttendee *attendee; - EMeetingAttendeeEditLevel level; - - store = E_MEETING_STORE (etm); - priv = store->priv; - - if (col == E_MEETING_STORE_DELTO_COL - || col == E_MEETING_STORE_DELFROM_COL) - return FALSE; - - if (row == -1) - return TRUE; - if (row >= priv->attendees->len) - return TRUE; - - attendee = g_ptr_array_index (priv->attendees, row); - level = e_meeting_attendee_get_edit_level (attendee); - - switch (level) { - case E_MEETING_ATTENDEE_EDIT_FULL: - return TRUE; - case E_MEETING_ATTENDEE_EDIT_STATUS: - return col == E_MEETING_STORE_STATUS_COL; - case E_MEETING_ATTENDEE_EDIT_NONE: - return FALSE; - } - - return TRUE; -} - static void refresh_queue_remove (EMeetingStore *store, EMeetingAttendee *attendee) { |