diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-12-03 04:31:02 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-12-03 04:31:02 +0800 |
commit | 3db4f804fda057ff60bc019b3ce7082134eb80fc (patch) | |
tree | 0f187fb785fd9dce103e6f1c0c9e8a1c9b31c8c3 /widgets/misc/e-source-selector.c | |
parent | 00bae1514aefb8d92d4931380a3cf053fefddc51 (diff) | |
download | gsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.tar gsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.tar.gz gsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.tar.bz2 gsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.tar.lz gsoc2013-evolution-3db4f804fda057ff60bc019b3ce7082134eb80fc.tar.xz 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
Diffstat (limited to 'widgets/misc/e-source-selector.c')
-rw-r--r-- | widgets/misc/e-source-selector.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |