aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorLarry Ewing <lewing@src.gnome.org>2004-06-12 02:20:45 +0800
committerLarry Ewing <lewing@src.gnome.org>2004-06-12 02:20:45 +0800
commit229b9765d305bf53a897d4896031dcc94ce556bf (patch)
tree30f8b67edd3f4bb9509c96b85973dd00d88c0adc /widgets
parenta27609a6b301222bf615bfa0375dd88f1995af7d (diff)
downloadgsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.tar
gsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.tar.gz
gsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.tar.bz2
gsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.tar.lz
gsoc2013-evolution-229b9765d305bf53a897d4896031dcc94ce556bf.tar.xz
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')
-rw-r--r--widgets/ChangeLog1
-rw-r--r--widgets/misc/e-source-selector.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 92a3ed6d2d..10dbdeb1da 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -5,6 +5,7 @@
color.
(pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).
(pixbuf_cell_data_func): clean up warnings. (double bad larry).
+ (pixbuf_cell_data_func): fix the appearance a little.
2004-05-20 Rodney Dawes <dobey@ximian.com>
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);