[empathy] Don't let the GtkCellRendererToggle get activated by clicking on a tree row



commit f7a63b4c249208122cfa17f668a19d853d158dfa
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Aug 26 11:28:11 2010 +0100

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-linker.c b/libempathy-gtk/empathy-individual-linker.c
index e94ea66..3713a8b 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);
 



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