[ekiga/v4_0] Show the address, not the unuseful "telephoneNumber" text in contextual menu of addressbook



commit 199ceede14969c1b061932c4c0b15b3605fa7643
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Dec 11 16:18:04 2012 +0100

    Show the address, not the unuseful "telephoneNumber" text in contextual menu of addressbook

 plugins/ldap/ldap-contact.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/ldap/ldap-contact.cpp b/plugins/ldap/ldap-contact.cpp
index ab8c80c..363f9ac 100644
--- a/plugins/ldap/ldap-contact.cpp
+++ b/plugins/ldap/ldap-contact.cpp
@@ -100,7 +100,7 @@ OPENLDAP::Contact::populate_menu (Ekiga::MenuBuilder &builder)
        iter++) {
     if (contact_core->populate_contact_menu (ContactPtr(this, null_deleter ()),
 					     iter->second, tmp_builder)) {
-      builder.add_ghost ("", iter->first);
+      builder.add_ghost ("", iter->second);
       tmp_builder.populate_menu (builder);
       result = true;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]