aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVibha Yadav <yvibha@novell.com>2010-11-15 18:10:15 +0800
committerMilan Crha <mcrha@redhat.com>2010-11-15 18:10:15 +0800
commit41117c2b8c8fafe581608cd91f84803cacb08f5d (patch)
tree4ca10daa2cfacacc27c932e1d3821d29064730ab
parentdc1a8423f504113b1670b8bb833dd32bb8543702 (diff)
downloadgsoc2013-evolution-41117c2b8c8fafe581608cd91f84803cacb08f5d.tar
gsoc2013-evolution-41117c2b8c8fafe581608cd91f84803cacb08f5d.tar.gz
gsoc2013-evolution-41117c2b8c8fafe581608cd91f84803cacb08f5d.tar.bz2
gsoc2013-evolution-41117c2b8c8fafe581608cd91f84803cacb08f5d.tar.lz
gsoc2013-evolution-41117c2b8c8fafe581608cd91f84803cacb08f5d.tar.xz
gsoc2013-evolution-41117c2b8c8fafe581608cd91f84803cacb08f5d.tar.zst
gsoc2013-evolution-41117c2b8c8fafe581608cd91f84803cacb08f5d.zip
Bug #633774 - Headers are gone in grouped view
-rw-r--r--libgnomecanvas/gnome-canvas-rect.c2
-rw-r--r--widgets/table/e-table-group-container.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas-rect.c b/libgnomecanvas/gnome-canvas-rect.c
index aa1399b56e..1e44aa850e 100644
--- a/libgnomecanvas/gnome-canvas-rect.c
+++ b/libgnomecanvas/gnome-canvas-rect.c
@@ -171,7 +171,7 @@ gnome_canvas_rect_set_property (GObject *object,
case PROP_FILL_COLOR:
color_string = g_value_get_string (value);
if (color_string != NULL) {
- if (gdk_color_parse (color_string, &color)) {
+ if (!gdk_color_parse (color_string, &color)) {
g_warning (
"Failed to parse color '%s'",
color_string);
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c
index 39e7f0b812..12788ad6c4 100644
--- a/widgets/table/e-table-group-container.c
+++ b/widgets/table/e-table-group-container.c
@@ -1094,7 +1094,7 @@ etgc_reflow (GnomeCanvasItem *item, gint flags)
e_canvas_item_move_absolute (GNOME_CANVAS_ITEM (child_node->text),
GROUP_INDENT,
- running_height - BUTTON_PADDING);
+ running_height - GROUP_INDENT - BUTTON_PADDING);
e_canvas_item_move_absolute (GNOME_CANVAS_ITEM (child),
GROUP_INDENT,