From 2c488d4c817a8876bae0011692ff9e0fe9c8353c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 26 Feb 2003 12:49:04 +0000 Subject: Added a key for /apps/evolution/version - seems the best place to put it. 2003-02-26 Not Zed * apps_evolution_shell.schemas: Added a key for /apps/evolution/version - seems the best place to put it. This should not return any value if unset, so i'm not sure if this is the right mechanism ... * e-config-upgrade.c: Upgrade settings from earlier versions of evolution. * main.c (upgrade_from_1_0_if_needed): Removed. (main): Call e_config_upgrade before going into gmainloop. (main): Turn off the --force-upgrade option, since it doesn't work yet ... svn path=/trunk/; revision=20068 --- shell/e-config-upgrade.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 shell/e-config-upgrade.h (limited to 'shell/e-config-upgrade.h') diff --git a/shell/e-config-upgrade.h b/shell/e-config-upgrade.h new file mode 100644 index 0000000000..c012e30526 --- /dev/null +++ b/shell/e-config-upgrade.h @@ -0,0 +1,28 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* e-config-upgrade.h + * + * Copyright (C) 2003 Ximian, Inc. + * + * Author: Michael Zucchi + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef _E_CONFIG_UPGRADE_H +#define _E_CONFIG_UPGRADE_H + +int e_config_upgrade(const char *edir); + +#endif /* _E_CONFIG_UPGRADE_H */ -- cgit v1.2.3