[california] Add ftp, ftps as support URL scheme for WebCal/CalDAV
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Add ftp, ftps as support URL scheme for WebCal/CalDAV
- Date: Thu, 5 Mar 2015 22:42:40 +0000 (UTC)
commit ccad0f8b4a78320e332fc7478df46f720ca26ec6
Author: Jim Nelson <jim yorba org>
Date: Thu Mar 5 14:41:43 2015 -0800
Add ftp, ftps as support URL scheme for WebCal/CalDAV
src/activator/caldav/caldav-subscribe.vala | 2 +-
src/activator/webcal/webcal-subscribe.vala | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/activator/caldav/caldav-subscribe.vala b/src/activator/caldav/caldav-subscribe.vala
index 15f0def..d2252e5 100644
--- a/src/activator/caldav/caldav-subscribe.vala
+++ b/src/activator/caldav/caldav-subscribe.vala
@@ -16,7 +16,7 @@ internal class Subscribe : California.Activator.Generic.Subscribe {
private Backing.CalDAVSubscribable store;
public Subscribe(Backing.CalDAVSubscribable store, Soup.URI? supplied_url) {
- base (supplied_url, iterate<string>("http://", "https://").to_hash_set());
+ base (supplied_url, iterate<string>("http://", "https://", "ftp://", "ftps://").to_hash_set());
this.store = store;
}
diff --git a/src/activator/webcal/webcal-subscribe.vala b/src/activator/webcal/webcal-subscribe.vala
index fc5bc33..e91c051 100644
--- a/src/activator/webcal/webcal-subscribe.vala
+++ b/src/activator/webcal/webcal-subscribe.vala
@@ -16,7 +16,8 @@ internal class Subscribe : California.Activator.Generic.Subscribe {
private Backing.WebCalSubscribable store;
public Subscribe(Backing.WebCalSubscribable store, Soup.URI? supplied_url) {
- base (supplied_url, iterate<string>("http://", "https://", "webcal://").to_hash_set());
+ base (supplied_url,
+ iterate<string>("http://", "https://", "webcal://", "ftp://", "ftps://").to_hash_set());
this.store = store;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]