diff options
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index ca618f5b35..d31ac118fc 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -83,6 +83,7 @@ enum { SHOW_ADDRESS_DIALOG, SUBJECT_CHANGED, HDRS_CHANGED, + FROM_CHANGED, LAST_SIGNAL }; @@ -170,6 +171,7 @@ from_changed (GtkWidget *item, gpointer data) EMsgComposerHdrs *hdrs = E_MSG_COMPOSER_HDRS (data); hdrs->account = gtk_object_get_data (GTK_OBJECT (item), "account"); + gtk_signal_emit (GTK_OBJECT (hdrs), signals [FROM_CHANGED]); } static GtkWidget * @@ -557,6 +559,15 @@ class_init (EMsgComposerHdrsClass *class) gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); + signals[FROM_CHANGED] = + gtk_signal_new ("from_changed", + GTK_RUN_LAST, + object_class->type, + GTK_SIGNAL_OFFSET (EMsgComposerHdrsClass, + from_changed), + gtk_marshal_NONE__NONE, + GTK_TYPE_NONE, 0); + gtk_object_class_add_signals (object_class, signals, LAST_SIGNAL); } |