diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-07-22 11:50:07 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-07-22 11:50:07 +0800 |
commit | ced2af332134dcdf783ef6d86d6f6ab8b948589b (patch) | |
tree | dfdd86946d12ac9d791cac635ff57faa6d7106ce /calendar | |
parent | 01101330717eca3f06233281fa40eefa5293f378 (diff) | |
download | gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.tar.gz gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.tar.zst gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.zip |
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
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 4 | ||||
-rw-r--r-- | calendar/gui/component-factory.c | 4 |
3 files changed, 10 insertions, 4 deletions
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 <ettore@ximian.com> + + * 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 <federico@ximian.com> * 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 } }; |