From ced2af332134dcdf783ef6d86d6f6ab8b948589b Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 22 Jul 2001 03:50:07 +0000 Subject: Add a `user_creatable' property to folder types and make components use it, so that e.g. you cannot create a folder of type "mailstorage" or "vtrash". svn path=/trunk/; revision=11298 --- calendar/ChangeLog | 6 ++++++ calendar/gui/calendar-component.c | 4 ++-- calendar/gui/component-factory.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index c576c94afb..4d74592553 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2001-07-21 Ettore Perazzoli + + * gui/component-factory.c: Make folders of type "calendar" and + "tasks" user-creatable by setting `user_creatable' to %TRUE in the + `EvolutionShellComponentFolderType's. + 2001-07-19 Federico Mena Quintero * gui/dialogs/event-editor.h (event_editor_update_widgets): diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index ebcf207884..dd161a46dc 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -47,8 +47,8 @@ static BonoboGenericFactory *factory = NULL; char *evolution_dir; static const EvolutionShellComponentFolderType folder_types[] = { - { "calendar", "evolution-calendar.png" }, - { "tasks", "evolution-tasks.png" }, + { "calendar", "evolution-calendar.png", TRUE, NULL, NULL }, + { "tasks", "evolution-tasks.png", TRUE, NULL, NULL }, { NULL, NULL } }; diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c index ebcf207884..dd161a46dc 100644 --- a/calendar/gui/component-factory.c +++ b/calendar/gui/component-factory.c @@ -47,8 +47,8 @@ static BonoboGenericFactory *factory = NULL; char *evolution_dir; static const EvolutionShellComponentFolderType folder_types[] = { - { "calendar", "evolution-calendar.png" }, - { "tasks", "evolution-tasks.png" }, + { "calendar", "evolution-calendar.png", TRUE, NULL, NULL }, + { "tasks", "evolution-tasks.png", TRUE, NULL, NULL }, { NULL, NULL } }; -- cgit v1.2.3