aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Leach <jasonleach@usa.net>2001-01-16 14:15:00 +0800
committerJacob Leach <jleach@src.gnome.org>2001-01-16 14:15:00 +0800
commit1511e09691ffb94c99b7e2343162aefd4d298f9d (patch)
treed6b62c06dc81aa297354f902cc6d8ef95349b636
parent8b275389fbb050f3ac2084d5b24e4f26770dc9fd (diff)
downloadgsoc2013-evolution-1511e09691ffb94c99b7e2343162aefd4d298f9d.tar.gz
gsoc2013-evolution-1511e09691ffb94c99b7e2343162aefd4d298f9d.tar.zst
gsoc2013-evolution-1511e09691ffb94c99b7e2343162aefd4d298f9d.zip
Emit a "changed" signal to the EText after we gtk_object_set a "model" arg
2001-01-16 Jason Leach <jasonleach@usa.net> * gal/e-text/e-text.c (e_text_set_arg): Emit a "changed" signal to the EText after we gtk_object_set a "model" arg and fill the EText with text from the model, which obviously changes the text. svn path=/trunk/; revision=7530
-rw-r--r--widgets/text/e-text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index d561a10d1f..74358a8b46 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1020,6 +1020,7 @@ e_text_set_arg (GtkObject *object, GtkArg *arg, guint arg_id)
e_text_free_lines(text);
text->text = e_text_model_get_text(text->model);
+ gtk_signal_emit (GTK_OBJECT (text), e_text_signals[E_TEXT_CHANGED]);
text->needs_split_into_lines = 1;
needs_reflow = 1;