From 069c1918f0519758a66e067d0734cb0a1ec32518 Mon Sep 17 00:00:00 2001
From: Jeffrey Stedfast <fejj@ximian.com>
Date: Mon, 19 Aug 2002 20:45:57 +0000
Subject: Fix a copy/paste-o. Use the pgp_path GnomeFileEntry widget rather
 than the

2002-08-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-preferences.c (mail_preferences_apply): Fix a
	copy/paste-o. Use the pgp_path GnomeFileEntry widget rather than
	the notify_sound_file GnomeFileEntry widget for the pgp path stuff
	:-)

svn path=/trunk/; revision=17806
---
 mail/ChangeLog          | 7 +++++++
 mail/mail-preferences.c | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

(limited to 'mail')

diff --git a/mail/ChangeLog b/mail/ChangeLog
index b0fe5bc5a1..b5a7149073 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-19  Jeffrey Stedfast  <fejj@ximian.com>
+
+	* mail-preferences.c (mail_preferences_apply): Fix a
+	copy/paste-o. Use the pgp_path GnomeFileEntry widget rather than
+	the notify_sound_file GnomeFileEntry widget for the pgp path stuff
+	:-)
+
 2002-08-19  Dan Winship  <danw@ximian.com>
 
 	* mail-account-gui.c (mail_account_gui_setup): source_type_changed
diff --git a/mail/mail-preferences.c b/mail/mail-preferences.c
index 6462642040..06b11d2cee 100644
--- a/mail/mail-preferences.c
+++ b/mail/mail-preferences.c
@@ -409,7 +409,7 @@ mail_preferences_apply (MailPreferences *prefs)
 	mail_config_set_confirm_unwanted_html (gtk_toggle_button_get_active (prefs->prompt_unwanted_html));
 	
 	/* Security */
-	entry = gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (prefs->notify_sound_file));
+	entry = gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (prefs->pgp_path));
 	string = gtk_entry_get_text (GTK_ENTRY (entry));
 	
 	pgp_type = string && *string ? mail_config_pgp_type_detect_from_path (string) : MAIL_CONFIG_PGP_TYPE_NONE;
-- 
cgit v1.2.3