[evolution] Bug #629645 - Sets negative 'width' property
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #629645 - Sets negative 'width' property
- Date: Tue, 21 Sep 2010 16:20:21 +0000 (UTC)
commit dae7739b3f3427e21ffb989d775c66b1e81bfee0
Author: Milan Crha <mcrha redhat com>
Date: Tue Sep 21 18:19:19 2010 +0200
Bug #629645 - Sets negative 'width' property
widgets/table/e-table-click-to-add.c | 2 +-
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 ca564cb..a905e2b 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]