aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-component.c2
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 46e9e7a6a7..ea74122399 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -67,7 +67,7 @@ static char *accepted_dnd_types[] = {
static const EvolutionShellComponentFolderType folder_types[] = {
{ "contacts", "evolution-contacts.png", N_("Contacts"), N_("Folder containing contact information"),
TRUE, accepted_dnd_types, NULL },
- { NULL, NULL, FALSE, NULL, NULL }
+ { NULL }
};
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index 7a40a14c76..7316458630 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -361,11 +361,11 @@ new_folder (EvolutionStorageListener *storage_listener,
if (!strcmp(folder->type, "contacts")) {
ESelectNamesFolder *e_folder = g_new(ESelectNamesFolder, 1);
e_folder->description = g_strdup(folder->description );
- e_folder->display_name = g_strdup(folder->display_name);
- if (!strncmp (folder->physical_uri, "file:", 5))
- e_folder->uri = g_strdup_printf ("%s/addressbook.db", folder->physical_uri);
+ e_folder->display_name = g_strdup(folder->displayName);
+ if (!strncmp (folder->physicalUri, "file:", 5))
+ e_folder->uri = g_strdup_printf ("%s/addressbook.db", folder->physicalUri);
else
- e_folder->uri = g_strdup(folder->physical_uri);
+ e_folder->uri = g_strdup(folder->physicalUri);
g_hash_table_insert(e_select_names->folders,
g_strdup(path), e_folder);
update_option_menu(e_select_names);