aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2002-09-24 06:15:18 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-09-24 06:15:18 +0800
commit5ca425852cab78a782c1b354555f7c9c380d8e02 (patch)
tree05b1c9f893c42adcd5a9b9a7d56b840529b79463 /mail
parentc4c3730179f1026f2d97b777e621af2d58e78944 (diff)
downloadgsoc2013-evolution-5ca425852cab78a782c1b354555f7c9c380d8e02.tar
gsoc2013-evolution-5ca425852cab78a782c1b354555f7c9c380d8e02.tar.gz
gsoc2013-evolution-5ca425852cab78a782c1b354555f7c9c380d8e02.tar.bz2
gsoc2013-evolution-5ca425852cab78a782c1b354555f7c9c380d8e02.tar.lz
gsoc2013-evolution-5ca425852cab78a782c1b354555f7c9c380d8e02.tar.xz
gsoc2013-evolution-5ca425852cab78a782c1b354555f7c9c380d8e02.tar.zst
gsoc2013-evolution-5ca425852cab78a782c1b354555f7c9c380d8e02.zip
pass name of the script as 1st parameter
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 svn path=/trunk/; revision=18188
Diffstat (limited to 'mail')
-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) {