diff options
author | Larry Ewing <lewing@src.gnome.org> | 2004-06-12 02:20:45 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2004-06-12 02:20:45 +0800 |
commit | 229b9765d305bf53a897d4896031dcc94ce556bf (patch) | |
tree | 30f8b67edd3f4bb9509c96b85973dd00d88c0adc /widgets/misc | |
parent | a27609a6b301222bf615bfa0375dd88f1995af7d (diff) | |
download | gsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.tar.gz gsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.tar.zst gsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.zip |
(pixbuf_cell_data_func): fix the appearance a little.
svn path=/trunk/; revision=26316
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-source-selector.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/misc/e-source-selector.c b/widgets/misc/e-source-selector.c index 7891a53281..2f85b5d534 100644 --- a/widgets/misc/e-source-selector.c +++ b/widgets/misc/e-source-selector.c @@ -403,12 +403,12 @@ pixbuf_cell_data_func (GtkTreeViewColumn *column, if (E_IS_SOURCE_GROUP (data)) { g_object_set (renderer, - "pixbuf", NULL, + "visible", FALSE, NULL); } else { ESource *source; guint32 color; - GdkPixbuf *pixbuf; + GdkPixbuf *pixbuf = NULL; g_assert (E_IS_SOURCE (data)); source = E_SOURCE (data); @@ -419,6 +419,7 @@ pixbuf_cell_data_func (GtkTreeViewColumn *column, } g_object_set (renderer, + "visible", pixbuf != NULL, "pixbuf", pixbuf, NULL); |