From f7a63b4c249208122cfa17f668a19d853d158dfa Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 26 Aug 2010 11:28:11 +0100 Subject: 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 --- libempathy-gtk/empathy-individual-linker.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy-gtk') 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); -- cgit v1.2.3