aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
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
parentb3e9bc2921eacac30e81406bab99ee8fe8e74c26 (diff)
downloadgsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.tar
gsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.tar.gz
gsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.tar.bz2
gsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.tar.lz
gsoc2013-evolution-05217d5ace4a0e216ea6a0c107224db7e3b55baf.tar.xz
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')
-rw-r--r--widgets/misc/e-reflow.c1
-rw-r--r--widgets/text/e-entry.c1
2 files changed, 1 insertions, 1 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,
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c
index bbf65c76ff..d899af045d 100644
--- a/widgets/text/e-entry.c
+++ b/widgets/text/e-entry.c
@@ -131,7 +131,6 @@ e_entry_init (GtkObject *object)
"anchor", GTK_ANCHOR_NW,
"draw_borders", TRUE,
NULL));
-
gtk_table_attach_defaults(gtk_table, GTK_WIDGET(e_entry->canvas),
0, 1, 0, 1);
gtk_widget_show(GTK_WIDGET(e_entry->canvas));