aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2002-06-08 04:15:19 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-06-08 04:15:19 +0800
commit32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6 (patch)
tree802ab8afdaf0e58933128d59201dd91f077c3783 /mail
parent8b2a189cf7255d02323d9ff11c6627982d9739c0 (diff)
downloadgsoc2013-evolution-32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6.tar
gsoc2013-evolution-32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6.tar.gz
gsoc2013-evolution-32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6.tar.bz2
gsoc2013-evolution-32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6.tar.lz
gsoc2013-evolution-32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6.tar.xz
gsoc2013-evolution-32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6.tar.zst
gsoc2013-evolution-32a3fdfe3dc9a4d18cc445703d5dc0a2f0fd2ae6.zip
hook this to cancel button in signature script dialog
2002-06-07 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (sig_add_script_cancel): hook this to cancel button in signature script dialog svn path=/trunk/; revision=17150
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-composer-prefs.c7
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d12fe6e337..e2831a51f7 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2002-06-07 Radek Doulik <rodo@ximian.com>
+ * mail-composer-prefs.c (sig_add_script_cancel): hook this to
+ cancel button in signature script dialog
+
* mail-signature-editor.c (mail_signature_editor): fix some typos,
set label usize to 500, -2
(menu_help): added help link to Help menu
diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c
index 88b4b58405..3c835f7446 100644
--- a/mail/mail-composer-prefs.c
+++ b/mail/mail-composer-prefs.c
@@ -303,6 +303,12 @@ sig_add_script_add (GtkWidget *widget, MailComposerPrefs *prefs)
}
static void
+sig_add_script_cancel (GtkWidget *widget, MailComposerPrefs *prefs)
+{
+ gnome_dialog_close (prefs->sig_script_dialog);
+}
+
+static void
sig_add_script (GtkWidget *widget, MailComposerPrefs *prefs)
{
GtkWidget *entry;
@@ -858,6 +864,7 @@ mail_composer_prefs_construct (MailComposerPrefs *prefs)
gtk_box_pack_start_defaults (GTK_BOX (GNOME_DIALOG (prefs->sig_script_dialog)->vbox),
glade_xml_get_widget (prefs->sig_script_gui, "vbox_add_script_signature"));
gnome_dialog_button_connect (GNOME_DIALOG (prefs->sig_script_dialog), 0, sig_add_script_add, prefs);
+ gnome_dialog_button_connect (GNOME_DIALOG (prefs->sig_script_dialog), 1, sig_add_script_cancel, prefs);
glade_xml_signal_connect_data (gui, "cmdSignatureAddScriptClicked", sig_add_script, prefs);