ekiga r6510 - trunk/lib/engine/addressbook/evolution



Author: jpuydt
Date: Fri Jul 25 16:28:54 2008
New Revision: 6510
URL: http://svn.gnome.org/viewvc/ekiga?rev=6510&view=rev

Log:
Made Evolution::Contact use the ghost entry

Modified:
   trunk/lib/engine/addressbook/evolution/evolution-contact.cpp

Modified: trunk/lib/engine/addressbook/evolution/evolution-contact.cpp
==============================================================================
--- trunk/lib/engine/addressbook/evolution/evolution-contact.cpp	(original)
+++ trunk/lib/engine/addressbook/evolution/evolution-contact.cpp	Fri Jul 25 16:28:54 2008
@@ -215,11 +215,11 @@
       std::string attr_value = get_attribute_value (attr_type);
       if ( !attr_value.empty ()) {
 
-	// get_attribute_name_from_type (attr_type) will tell the name of
-	// this attribute
-	populated = populated || core->populate_contact_menu (*this,
-							      attr_value,
-							      builder);
+	populated = true;
+	builder.add_ghost ("", get_attribute_name_from_type (attr_type));
+	core->populate_contact_menu (*this,
+				     attr_value,
+				     builder);
       }
     }
 



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