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 /my-evolution | |
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 'my-evolution')
-rw-r--r-- | my-evolution/ChangeLog | 6 | ||||
-rw-r--r-- | my-evolution/component-factory.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 82c5b45d90..cbed15a205 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,9 @@ +2001-07-21 Ettore Perazzoli <ettore@ximian.com> + + * component-factory.c: Make the "My Evolution" folder + non-creatable by setting the `user_creatable' member of + `EvolutionShellComponentFolderType' to %FALSE. + 2001-07-20 Jason Leach <jleach@ximian.com> * e-summary-tasks.c: Revert last changes, URIs are now back to diff --git a/my-evolution/component-factory.c b/my-evolution/component-factory.c index d41c059440..659342506f 100644 --- a/my-evolution/component-factory.c +++ b/my-evolution/component-factory.c @@ -27,7 +27,7 @@ static gint running_objects = 0; static const EvolutionShellComponentFolderType folder_types[] = { - { "My Evolution", "evolution-today.png" }, + { "My Evolution", "evolution-today.png", FALSE, NULL, NULL }, { NULL, NULL } }; |