aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-composer-prefs.c2
-rw-r--r--mail/mail-config.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index cbc865c72d..56518328fe 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2002-09-23 Radek Doulik <rodo@ximian.com>
+
+ * mail-config.c (mail_config_signature_run_script): pass name of
+ the script as 1st parameter
+
+ * mail-composer-prefs.c (sig_add_script_add): fix entry's glade
+ name
+
2002-09-23 Dan Winship <danw@ximian.com>
* mail-signature-editor.c (exit_dialog_cb): Fix non-ANSI switch
diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c
index fb5e0f455d..82ec642e47 100644
--- a/mail/mail-composer-prefs.c
+++ b/mail/mail-composer-prefs.c
@@ -286,7 +286,7 @@ sig_add_script_add (GtkWidget *widget, MailComposerPrefs *prefs)
entry = glade_xml_get_widget (prefs->sig_script_gui, "fileentry_add_script_script");
script = gtk_entry_get_text (GTK_ENTRY (gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (entry))));
- entry = glade_xml_get_widget (prefs->sig_script_gui, "entry_add_script_script");
+ entry = glade_xml_get_widget (prefs->sig_script_gui, "entry_add_script_name");
name = e_utf8_gtk_entry_get_text (GTK_ENTRY (entry));
if (script && *script) {
struct stat st;
diff --git a/mail/mail-config.c b/mail/mail-config.c
index bfe5608925..1985a504be 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -3117,7 +3117,7 @@ mail_config_signature_run_script (gchar *script)
}
- execlp (script, NULL);
+ execlp (script, script, NULL);
g_warning ("Could not execute %s: %s\n", script, g_strerror (errno));
_exit (255);
} else if (pid < 0) {