]> git.0d.be Git - empathy.git/commitdiff
Only check model rows that will have valid states
authorDavyd Madeley <davyd@madeley.id.au>
Fri, 10 Apr 2009 16:54:03 +0000 (16:54 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 10 Apr 2009 16:54:03 +0000 (16:54 +0000)
From: Davyd Madeley <davyd@madeley.id.au>

svn path=/trunk/; revision=2783

libempathy-gtk/empathy-presence-chooser.c

index 2eb5550d226b0b1f10f12d7e038fe773e03bb2e4..d362280106de7394f508df7d628862149c184fa3 100644 (file)
@@ -567,7 +567,9 @@ presence_chooser_presence_changed_cb (EmpathyPresenceChooser *chooser)
                                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;
                }