diff options
author | Dan Winship <danw@src.gnome.org> | 2002-09-26 05:41:19 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-09-26 05:41:19 +0800 |
commit | c56047966f0d46eb2d62e4e4e5ef73e1f464d0b4 (patch) | |
tree | 1846a7fbcf881a5d34a114992a2af7c1914a8893 /calendar/gui/e-itip-control.c | |
parent | 521b129893815d023cef2828c5a44dad6a75b731 (diff) | |
download | gsoc2013-evolution-c56047966f0d46eb2d62e4e4e5ef73e1f464d0b4.tar.gz gsoc2013-evolution-c56047966f0d46eb2d62e4e4e5ef73e1f464d0b4.tar.zst gsoc2013-evolution-c56047966f0d46eb2d62e4e4e5ef73e1f464d0b4.zip |
Add "calendar/public" and "tasks/public". (type_is_calendar,
* gui/component-factory.c (folder_types): Add "calendar/public"
and "tasks/public".
(type_is_calendar, type_is_tasks): New utility functions
(create_view, create_folder, remove_folder, xfer_folder,
sc_user_create_new_item_cb): Use type_is_calendar/type_is_tasks
* importers/icalendar-importer.c (get_uri_from_folder_path): allow
importing into public calendar/task folders too.
* gui/e-itip-control.c: Note that it's intentional that we use
"calendar" and "tasks" here instead of "calendar/*" and "tasks/*".
(31032)
svn path=/trunk/; revision=18222
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 39ac6add91..7b1dd28689 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -87,6 +87,9 @@ struct _EItipControlPrivate { extern EvolutionShellClient *global_shell_client; +/* We intentionally use "calendar" instead of "calendar/*" here. We + * don't want public calendars. + */ static const char *calendar_types[] = { "calendar", NULL }; static const char *tasks_types[] = { "tasks", NULL }; |