diff options
Diffstat (limited to 'widgets/misc/e-source-config-backend.h')
-rw-r--r-- | widgets/misc/e-source-config-backend.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/widgets/misc/e-source-config-backend.h b/widgets/misc/e-source-config-backend.h index 72cef5d4d1..8141cea1a5 100644 --- a/widgets/misc/e-source-config-backend.h +++ b/widgets/misc/e-source-config-backend.h @@ -56,9 +56,14 @@ struct _ESourceConfigBackend { struct _ESourceConfigBackendClass { EExtensionClass parent_class; - const gchar *parent_uid; + /* This should match backend names used in ESourceBackend. */ const gchar *backend_name; + /* Optional. Collection-based backends can leave this NULL. + * This is only for sources which have a fixed parent source, + * usually one of the "stub" placeholders ("local-stub", etc). */ + const gchar *parent_uid; + gboolean (*allow_creation) (ESourceConfigBackend *backend); void (*insert_widgets) (ESourceConfigBackend *backend, ESource *scratch_source); |