aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-09 04:32:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-09 04:32:54 +0800
commit9d39da64dcef90dde5a28ec9ab6401a4146d8a7e (patch)
tree1da0106d47af0d4abc4fa2a9a8d8cf6e318e12f9
parenta4db79a6d67be58e2922bc101e9db92b5a24d6cf (diff)
downloadgsoc2013-evolution-9d39da64dcef90dde5a28ec9ab6401a4146d8a7e.tar
gsoc2013-evolution-9d39da64dcef90dde5a28ec9ab6401a4146d8a7e.tar.gz
gsoc2013-evolution-9d39da64dcef90dde5a28ec9ab6401a4146d8a7e.tar.bz2
gsoc2013-evolution-9d39da64dcef90dde5a28ec9ab6401a4146d8a7e.tar.lz
gsoc2013-evolution-9d39da64dcef90dde5a28ec9ab6401a4146d8a7e.tar.xz
gsoc2013-evolution-9d39da64dcef90dde5a28ec9ab6401a4146d8a7e.tar.zst
gsoc2013-evolution-9d39da64dcef90dde5a28ec9ab6401a4146d8a7e.zip
When connecting to the transport username changed event, pass the
2002-01-08 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): When connecting to the transport username changed event, pass the gui->transport not the gui->source. svn path=/trunk/; revision=15266
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-account-gui.c2
-rw-r--r--mail/mail-session.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 18e9198358..099e8e80a9 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-08 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-account-gui.c (mail_account_gui_new): When connecting to
+ the transport username changed event, pass the gui->transport not
+ the gui->source.
+
2002-01-08 Iain Holmes <iain@ximian.com>
* importers/evolution-mbox-importer.c (string_to_int): Takes a hex
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 8672d4e0d9..3009b7666c 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1310,7 +1310,7 @@ mail_account_gui_new (MailConfigAccount *account)
GTK_SIGNAL_FUNC (service_changed), &gui->transport);
gui->transport.username = GTK_ENTRY (glade_xml_get_widget (gui->xml, "transport_user"));
gtk_signal_connect (GTK_OBJECT (gui->transport.username), "changed",
- GTK_SIGNAL_FUNC (service_changed), &gui->source);
+ GTK_SIGNAL_FUNC (service_changed), &gui->transport);
gui->transport.use_ssl = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui->xml, "transport_use_ssl"));
gui->transport.no_ssl = glade_xml_get_widget (gui->xml, "transport_ssl_disabled");
gui->transport_needs_auth = GTK_TOGGLE_BUTTON (glade_xml_get_widget (gui->xml, "transport_needs_auth"));
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 98d5968364..2eaa4a4510 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -811,6 +811,8 @@ get_folder (CamelFilterDriver *d, const char *uri, void *data, CamelException *e
static void
session_play_sound (CamelFilterDriver *driver, const char *filename, gpointer user_data)
{
+ printf ("playing sound file: %s\n", filename);
+
if (!filename || !*filename)
gdk_beep ();
else