From 9d39da64dcef90dde5a28ec9ab6401a4146d8a7e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 8 Jan 2002 20:32:54 +0000 Subject: When connecting to the transport username changed event, pass the 2002-01-08 Jeffrey Stedfast * 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 --- mail/ChangeLog | 6 ++++++ mail/mail-account-gui.c | 2 +- mail/mail-session.c | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) (limited to 'mail') 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 + + * 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 * 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 -- cgit