empathy r2783 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Apr 10 16:54:03 2009
New Revision: 2783
URL: http://svn.gnome.org/viewvc/empathy?rev=2783&view=rev

Log:
Only check model rows that will have valid states

From: Davyd Madeley <davyd madeley id au>

Modified:
   trunk/libempathy-gtk/empathy-presence-chooser.c

Modified: trunk/libempathy-gtk/empathy-presence-chooser.c
==============================================================================
--- trunk/libempathy-gtk/empathy-presence-chooser.c	(original)
+++ trunk/libempathy-gtk/empathy-presence-chooser.c	Fri Apr 10 16:54:03 2009
@@ -567,7 +567,9 @@
 				COL_TYPE, &m_type,
 				-1);
 
-		if (m_type == ENTRY_TYPE_CUSTOM)
+		if (m_type == ENTRY_TYPE_CUSTOM ||
+		    m_type == ENTRY_TYPE_SEPARATOR ||
+		    m_type == ENTRY_TYPE_EDIT_CUSTOM)
 		{
 			continue;
 		}



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