aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2000-12-26 06:15:34 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-12-26 06:15:34 +0800
commit05217d5ace4a0e216ea6a0c107224db7e3b55baf (patch)
tree2c781b3f0fdfd2516e9bb3dc32b5c62b64b72c6d /widgets/misc
parentb3e9bc2921eacac30e81406bab99ee8fe8e74c26 (diff)
downloadgsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.tar.gz
gsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.tar.zst
gsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.zip
Always have some text. Fixes crash.
2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gal/e-text/e-text.c (e_text_init): Always have some text. Fixes crash. * gal/widgets/e-reflow.c (set_empty): Set draw_background to FALSE. svn path=/trunk/; revision=7172
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-reflow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/misc/e-reflow.c b/widgets/misc/e-reflow.c
index bbfd37fa10..88e9dc590a 100644
--- a/widgets/misc/e-reflow.c
+++ b/widgets/misc/e-reflow.c
@@ -771,6 +771,7 @@ set_empty(EReflow *e_reflow)
"fill_color", "black",
"justification", GTK_JUSTIFY_CENTER,
"text", e_reflow->empty_message,
+ "draw_background", FALSE,
NULL);
e_canvas_item_move_absolute(e_reflow->empty_text,
e_reflow->minimum_width / 2,