aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-source-selector.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 7d17f85730..09dbb12325 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,10 @@
+2003-12-02 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-source-selector.c (init): Set the mode on the text cell
+ renderer to GTK_CELL_RENDERER_MODE_ACTIVATABLE so clicking on the
+ text doesn't change the status of the checkbox. [Many thanks to
+ Jonathan Blandford for telling me how to do this!]
+
2003-12-01 JP Rosevear <jpr@ximian.com>
* e-source-selector.c (class_init): list the signal args properly
diff --git a/widgets/misc/e-source-selector.c b/widgets/misc/e-source-selector.c
index ae0e507f1d..443129c6d8 100644
--- a/widgets/misc/e-source-selector.c
+++ b/widgets/misc/e-source-selector.c
@@ -469,6 +469,7 @@ init (ESourceSelector *selector)
g_signal_connect (cell_renderer, "toggled", G_CALLBACK (cell_toggled_callback), selector);
cell_renderer = gtk_cell_renderer_text_new ();
+ g_object_set (G_OBJECT (cell_renderer), "mode", GTK_CELL_RENDERER_MODE_ACTIVATABLE, NULL);
gtk_tree_view_column_pack_start (column, cell_renderer, TRUE);
gtk_tree_view_column_set_cell_data_func (column, cell_renderer, (GtkTreeCellDataFunc) text_cell_data_func, selector, NULL);