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 /addressbook | |
parent | 01101330717eca3f06233281fa40eefa5293f378 (diff) | |
download | gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.tar gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.tar.gz gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.tar.bz2 gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.tar.lz gsoc2013-evolution-ced2af332134dcdf783ef6d86d6f6ab8b948589b.tar.xz 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 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <ettore@ximian.com> + + * 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 <toshok@ximian.com> [ patch contributed by Jos Dehaes <jos.dehaes@bigfoot.com> ] 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 } }; |