aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/GNOME_Evolution_Addressbook.oaf.in4
-rw-r--r--addressbook/gui/component/addressbook-component.c6
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/addressbook/gui/component/GNOME_Evolution_Addressbook.oaf.in b/addressbook/gui/component/GNOME_Evolution_Addressbook.oaf.in
index d62e1262f4..294db83fe9 100644
--- a/addressbook/gui/component/GNOME_Evolution_Addressbook.oaf.in
+++ b/addressbook/gui/component/GNOME_Evolution_Addressbook.oaf.in
@@ -163,6 +163,10 @@
<oaf_attribute name="evolution:config_item:icon_name" type="string"
value="ldap-settings.png"/>
+ <oaf_attribute name="evolution:config_item:type" type="stringv">
+ <item value="contacts/ldap"/>
+ </oaf_attribute>
+
<oaf_attribute name="evolution:config_item:priority" type="string" value="-6"/>
<oaf_attribute name="description" type="string"
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 7438576931..791e49ac48 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -72,12 +72,14 @@ 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 },
- { "ldap-contacts", "ldap.png", N_("LDAP Server"), N_("LDAP server containing contact information"),
+ { "contacts/ldap", "ldap.png", N_("LDAP Server"), N_("LDAP server containing contact information"),
+ FALSE, accepted_dnd_types, NULL },
+ { "contacts/public", "evolution-contacts.png", N_("Public Contacts"), N_("Public folder containing contact information"),
FALSE, accepted_dnd_types, NULL },
{ NULL }
};
-#define IS_CONTACT_TYPE(x) (g_strcasecmp((x), "contacts") == 0 || g_strcasecmp ((x), "ldap-contacts") == 0)
+#define IS_CONTACT_TYPE(x) (g_strcasecmp((x), "contacts") == 0 || g_strcasecmp ((x), "contacts/ldap") == 0 || g_strcasecmp((x), "contacts/public"))
/* EvolutionShellComponent methods and signals. */
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index 9dfebe4ca2..e0aa78b7ec 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -491,7 +491,7 @@ e_select_names_init (ESelectNames *e_select_names)
{
GladeXML *gui;
GtkWidget *widget, *button;
- const char *selector_types[] = { "contacts", "ldap-contacts", NULL };
+ const char *selector_types[] = { "contacts/*", NULL };
char *filename;
char *uri;
char *contacts_uri, *contacts_path;