aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@ximian.com>2001-01-12 15:09:51 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2001-01-12 15:09:51 +0800
commit891d37dac8f9a80a8f007c825af2987692d1be63 (patch)
treea2027d66f0073b2cf00613350d80f166422ea4e6 /composer/e-msg-composer-hdrs.c
parent5aa11827ce3c662631be7e0fd681394c7f179207 (diff)
downloadgsoc2013-evolution-891d37dac8f9a80a8f007c825af2987692d1be63.tar
gsoc2013-evolution-891d37dac8f9a80a8f007c825af2987692d1be63.tar.gz
gsoc2013-evolution-891d37dac8f9a80a8f007c825af2987692d1be63.tar.bz2
gsoc2013-evolution-891d37dac8f9a80a8f007c825af2987692d1be63.tar.lz
gsoc2013-evolution-891d37dac8f9a80a8f007c825af2987692d1be63.tar.xz
gsoc2013-evolution-891d37dac8f9a80a8f007c825af2987692d1be63.tar.zst
gsoc2013-evolution-891d37dac8f9a80a8f007c825af2987692d1be63.zip
Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOX
2001-01-12 Miguel de Icaza <miguel@ximian.com> * e-msg-composer-hdrs.c (add_header): Only attach to "changed" if the widget is an EEntry. The HEADER_COMBOBOX and the HEADER_ADDRBOOK are a ComboBox and a remote Bonobo control respectively. * evolution-composer.c (get_object): Move getObject functionality here from e-msg-composer.c svn path=/trunk/; revision=7441
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 1e144e3cbc..bb1bbe1fec 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -274,6 +274,8 @@ add_header (EMsgComposerHdrs *hdrs,
"use_ellipsis", TRUE,
"allow_newlines", FALSE,
NULL);
+ gtk_signal_connect (GTK_OBJECT (entry), "changed",
+ GTK_SIGNAL_FUNC (entry_changed), hdrs);
}
if (entry != NULL) {
@@ -285,9 +287,6 @@ add_header (EMsgComposerHdrs *hdrs,
2, 2);
gtk_tooltips_set_tip (hdrs->priv->tooltips, entry, tip, tip_private);
-
- gtk_signal_connect (GTK_OBJECT (entry), "changed",
- GTK_SIGNAL_FUNC (entry_changed), hdrs);
}
priv->num_hdrs++;