EDataServer.SourceCollection.set_contacts_enabled

### Method

# EDataServer SourceCollectionset_contacts_enabled

since: 3.6

#### Declaration [src]

    void
    e_source_collection_set_contacts_enabled (
      ESourceCollection* extension,
      gboolean contacts_enabled
    )

#### Description [src]

Sets whether address book sources within the collection should be enabled.

An `ECollectionBackend` running within the registry D-Bus service will automatically synchronize any address book sources it maintains with the `ESourceCollection:contacts-enabled` property.

Calling this function from a registry service client has no effect until the change is submitted to the registry service through e_source_write(), but there should rarely be any need for clients to call this.

Available since: 3.6

Sets property | `EDataServer.SourceCollection:contacts-enabled`

#### Parameters

`contacts_enabled`

  Type: `gboolean`

  Whether address book sources should be enabled.