aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-26 18:28:11 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-26 18:28:11 +0800
commitf7a63b4c249208122cfa17f668a19d853d158dfa (patch)
tree3cc778417626c7f07429d3e44a19da3150f6523f
parent83d9b1cb0f1b3ff248b24e0b25a1139e475677ef (diff)
downloadgsoc2013-empathy-f7a63b4c249208122cfa17f668a19d853d158dfa.tar
gsoc2013-empathy-f7a63b4c249208122cfa17f668a19d853d158dfa.tar.gz
gsoc2013-empathy-f7a63b4c249208122cfa17f668a19d853d158dfa.tar.bz2
gsoc2013-empathy-f7a63b4c249208122cfa17f668a19d853d158dfa.tar.lz
gsoc2013-empathy-f7a63b4c249208122cfa17f668a19d853d158dfa.tar.xz
gsoc2013-empathy-f7a63b4c249208122cfa17f668a19d853d158dfa.tar.zst
gsoc2013-empathy-f7a63b4c249208122cfa17f668a19d853d158dfa.zip
Don't let the GtkCellRendererToggle get activated by clicking on a tree row
GtkTreeView activates a row when it's clicked or double-clicked, which ends up toggling the GtkCellRendererToggle in the linking dialogue even if it's insensitive, allowing the start Individual to be removed from the link, and causing chaos. See bgo#567481. Closes: bgo#628011
-rw-r--r--libempathy-gtk/empathy-individual-linker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-linker.c b/libempathy-gtk/empathy-individual-linker.c
index e94ea66b8..3713a8bda 100644
--- a/libempathy-gtk/empathy-individual-linker.c
+++ b/libempathy-gtk/empathy-individual-linker.c
@@ -110,6 +110,7 @@ contact_toggle_cell_data_func (GtkTreeViewColumn *tree_column,
g_object_set (cell,
"visible", !is_group,
"sensitive", individual != priv->start_individual,
+ "activatable", individual != priv->start_individual,
"active", individual_added || individual == priv->start_individual,
NULL);