Files
evolution/shell/e-shell-constants.h
Dan Winship a1720426f1 New. Check that things that need to be in the config db are. Right now it
* e-setup.c (e_setup_check_db): New. Check that things that need
	to be in the config db are. Right now it sets up the default
	folders.

	* e-shell.c (e_shell_construct): Call e_setup_check_db after
	getting the config db.

	* e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc.

	* e-shortcuts.c (e_shortcuts_add_default_group): Use
	E_LOCAL_INBOX_URI, etc.

	* e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI

svn path=/trunk/; revision=16405
2002-04-09 15:54:24 +00:00

48 lines
1.5 KiB
C

/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-shell-utils.h
*
* Copyright (C) 2000 Ximian, Inc.
*
* 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.
*
* Author: Ettore Perazzoli
*/
#ifndef E_SHELL_CONSTANTS_H
#define E_SHELL_CONSTANTS_H
#define E_SHELL_URI_PREFIX "evolution:"
#define E_SHELL_URI_PREFIX_LEN 10
#define E_SHELL_DEFAULTURI_PREFIX "default:"
#define E_SHELL_DEFAULTURI_PREFIX_LEN 8
#define E_SHELL_MINI_ICON_SUFFIX "-mini"
#define E_SHELL_MINI_ICON_SUFFIX_LEN 5
#define E_SHELL_ICON_SIZE 48
#define E_SHELL_MINI_ICON_SIZE 16
#define E_LOCAL_STORAGE_NAME "local"
#define E_SUMMARY_STORAGE_NAME "summary"
#define E_SUMMARY_URI "evolution:/summary"
#define E_LOCAL_INBOX_URI "evolution:/local/Inbox"
#define E_LOCAL_CONTACTS_URI "evolution:/local/Contacts"
#define E_LOCAL_CALENDAR_URI "evolution:/local/Calendar"
#define E_LOCAL_TASKS_URI "evolution:/local/Tasks"
#endif