evolution-3.6.4/modules/addressbook/e-book-shell-settings.c

No issues found

 1 /*
 2  * e-book-shell-settings.c
 3  *
 4  * This program is free software; you can redistribute it and/or
 5  * modify it under the terms of the GNU Lesser General Public
 6  * License as published by the Free Software Foundation; either
 7  * version 2 of the License, or (at your option) version 3.
 8  *
 9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with the program; if not, see <http://www.gnu.org/licenses/>
16  *
17  *
18  * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
19  *
20  */
21 
22 #ifdef HAVE_CONFIG_H
23 #include <config.h>
24 #endif
25 
26 #include "e-book-shell-settings.h"
27 
28 #define ADDRESSBOOK_SCHEMA "org.gnome.evolution.addressbook"
29 
30 void
31 e_book_shell_backend_init_settings (EShell *shell)
32 {
33 	e_shell_settings_install_property_for_key (
34 		"book-completion-show-address",
35 		ADDRESSBOOK_SCHEMA,
36 		"completion-show-address");
37 
38 	e_shell_settings_install_property_for_key (
39 		"book-primary-selection",
40 		ADDRESSBOOK_SCHEMA,
41 		"primary-addressbook");
42 
43 	e_shell_settings_install_property_for_key (
44 		"enable-address-formatting",
45 		ADDRESSBOOK_SCHEMA,
46 		"address-formatting");
47 }