aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-10-18 05:03:02 +0800
committerChris Toshok <toshok@src.gnome.org>2001-10-18 05:03:02 +0800
commit3e7e7bb07b4f40adfdb76f4e63ff8e7108089ebd (patch)
tree14051230ffe650eeff5fd6bce2f757d94e4a0dbb /addressbook
parentcf1d544b1068c0f04fe5da5344521f140af24016 (diff)
downloadgsoc2013-evolution-3e7e7bb07b4f40adfdb76f4e63ff8e7108089ebd.tar.gz
gsoc2013-evolution-3e7e7bb07b4f40adfdb76f4e63ff8e7108089ebd.tar.zst
gsoc2013-evolution-3e7e7bb07b4f40adfdb76f4e63ff8e7108089ebd.zip
make sure to also add "ldap-contacts" folders to the option menu.
2001-10-17 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names.c (new_folder): make sure to also add "ldap-contacts" folders to the option menu. svn path=/trunk/; revision=13733
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 3b980fbd83..968a80578c 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-17 Chris Toshok <toshok@ximian.com>
+
+ * gui/component/select-names/e-select-names.c (new_folder): make
+ sure to also add "ldap-contacts" folders to the option menu.
+
2001-10-17 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): sync all
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index ccb17a79f3..3a5a9a75ea 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -403,7 +403,8 @@ new_folder (EvolutionStorageListener *storage_listener,
const GNOME_Evolution_Folder *folder,
ESelectNames *e_select_names)
{
- if (!strcmp(folder->type, "contacts")) {
+ if (!strcmp(folder->type, "contacts")
+ || !strcmp(folder->type, "ldap-contacts")) {
ESelectNamesFolder *e_folder = g_new(ESelectNamesFolder, 1);
e_folder->description = g_strdup(folder->description );
e_folder->display_name = g_strdup(folder->displayName);