changeset 32355:3fb4cad5ad2d

Use the new API in v3.0.0 to hide the UserId column in the search-results.
author andrew.victor@mxit.com
date Sun, 21 Aug 2011 14:50:21 +0000
parents 5603360c16a4
children 93cb9f408df4
files libpurple/protocols/mxit/profile.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/profile.c	Sun Aug 21 14:39:51 2011 +0000
+++ b/libpurple/protocols/mxit/profile.c	Sun Aug 21 14:50:21 2011 +0000
@@ -281,6 +281,7 @@
 
 	/* define columns */
 	column = purple_notify_searchresults_column_new( _( "UserId" ) );
+	purple_notify_searchresult_column_set_visible( column, FALSE );
 	purple_notify_searchresults_column_add( results, column );
 	column = purple_notify_searchresults_column_new( _( "Display Name" ) );
 	purple_notify_searchresults_column_add( results, column );