aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-source-selector.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-source-selector.c')
-rw-r--r--widgets/misc/e-source-selector.c5
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);