aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-12-03 04:31:02 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-12-03 04:31:02 +0800
commit3db4f804fda057ff60bc019b3ce7082134eb80fc (patch)
tree0f187fb785fd9dce103e6f1c0c9e8a1c9b31c8c3
parent00bae1514aefb8d92d4931380a3cf053fefddc51 (diff)
downloadgsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.tar.gz
gsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.tar.zst
gsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.zip
(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!] svn path=/trunk/; revision=23588
-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);