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 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/component/addressbook-component.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 78a8d0360d..359745c7de 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2001-07-21 Ettore Perazzoli + + * gui/component/addressbook-component.c: Make the "contacts" + folders user-creatable by setting `user_creatable' to %TRUE in the + `EvolutionShellComponentFolderType's. + 2001-07-18 Chris Toshok [ patch contributed by Jos Dehaes ] diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 667904e4d1..02e3fb85f9 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -63,7 +63,7 @@ static char *accepted_dnd_types[] = { }; static const EvolutionShellComponentFolderType folder_types[] = { - { "contacts", "evolution-contacts.png", accepted_dnd_types, NULL }, + { "contacts", "evolution-contacts.png", TRUE, accepted_dnd_types, NULL }, { NULL, NULL, NULL, NULL } }; -- cgit v1.2.3