aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-22 00:19:19 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-22 00:19:19 +0800
commitdae7739b3f3427e21ffb989d775c66b1e81bfee0 (patch)
tree1dd21ea1803657088508e57c22d043702ac73ded /widgets/table
parentf1df51436d594394746446256a3c9259dcaf659e (diff)
downloadgsoc2013-evolution-dae7739b3f3427e21ffb989d775c66b1e81bfee0.tar.gz
gsoc2013-evolution-dae7739b3f3427e21ffb989d775c66b1e81bfee0.tar.zst
gsoc2013-evolution-dae7739b3f3427e21ffb989d775c66b1e81bfee0.zip
Bug #629645 - Sets negative 'width' property
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-click-to-add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index ca564cbbcd..a905e2bdb7 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -225,7 +225,7 @@ etcta_set_property (GObject *object,
NULL);
if (etcta->text)
gnome_canvas_item_set (etcta->text,
- "width", etcta->width - 4,
+ "width", (etcta->width < 4 ? 4 : etcta->width) - 4,
NULL);
if (etcta->rect)
gnome_canvas_item_set (etcta->rect,