aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-04-11 00:54:03 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-04-11 00:54:03 +0800
commit09911cd8e706a78db1c52692516dddd9a3cbffda (patch)
treee0da08246591a5c94e0cd8c29892bc4fef32e4df
parent2ec8873ddafe1313180c37e3a6ded187aa8a1be3 (diff)
downloadgsoc2013-empathy-09911cd8e706a78db1c52692516dddd9a3cbffda.tar
gsoc2013-empathy-09911cd8e706a78db1c52692516dddd9a3cbffda.tar.gz
gsoc2013-empathy-09911cd8e706a78db1c52692516dddd9a3cbffda.tar.bz2
gsoc2013-empathy-09911cd8e706a78db1c52692516dddd9a3cbffda.tar.lz
gsoc2013-empathy-09911cd8e706a78db1c52692516dddd9a3cbffda.tar.xz
gsoc2013-empathy-09911cd8e706a78db1c52692516dddd9a3cbffda.tar.zst
gsoc2013-empathy-09911cd8e706a78db1c52692516dddd9a3cbffda.zip
Only check model rows that will have valid states
From: Davyd Madeley <davyd@madeley.id.au> svn path=/trunk/; revision=2783
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 2eb5550d2..d36228010 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -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;
}