No issues found
Tool | Failure ID | Location | Function | Message | Data |
---|---|---|---|---|---|
clang-analyzer | no-output-found | e-mail-config-receiving-page.c | Message(text='Unable to locate XML output from invoke-clang-analyzer') | None | |
clang-analyzer | no-output-found | e-mail-config-receiving-page.c | Message(text='Unable to locate XML output from invoke-clang-analyzer') | None |
1 /*
2 * e-mail-config-receiving-page.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
19 #include "e-mail-config-receiving-page.h"
20
21 #include <config.h>
22 #include <glib/gi18n-lib.h>
23
24 /* Forward Declarations */
25 static void e_mail_config_receiving_page_interface_init
26 (EMailConfigPageInterface *interface);
27
28 G_DEFINE_TYPE_WITH_CODE (
29 EMailConfigReceivingPage,
30 e_mail_config_receiving_page,
31 E_TYPE_MAIL_CONFIG_SERVICE_PAGE,
32 G_IMPLEMENT_INTERFACE (
33 E_TYPE_MAIL_CONFIG_PAGE,
34 e_mail_config_receiving_page_interface_init))
35
36 static void
37 e_mail_config_receiving_page_class_init (EMailConfigReceivingPageClass *class)
38 {
39 EMailConfigServicePageClass *service_page_class;
40
41 service_page_class = E_MAIL_CONFIG_SERVICE_PAGE_CLASS (class);
42 service_page_class->extension_name = E_SOURCE_EXTENSION_MAIL_ACCOUNT;
43 service_page_class->provider_type = CAMEL_PROVIDER_STORE;
44 service_page_class->default_backend_name = "imapx";
45 }
46
47 static void
48 e_mail_config_receiving_page_interface_init (EMailConfigPageInterface *interface)
49 {
50 interface->title = _("Receiving Email");
51 interface->sort_order = E_MAIL_CONFIG_RECEIVING_PAGE_SORT_ORDER;
52 }
53
54 static void
55 e_mail_config_receiving_page_init (EMailConfigReceivingPage *page)
56 {
57 }
58
59 EMailConfigPage *
60 e_mail_config_receiving_page_new (ESourceRegistry *registry)
61 {
62 g_return_val_if_fail (E_IS_SOURCE_REGISTRY (registry), NULL);
63
64 return g_object_new (
65 E_TYPE_MAIL_CONFIG_RECEIVING_PAGE,
66 "registry", registry, NULL);
67 }