aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 756fbd2c67..669be6b39c 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -37,6 +37,7 @@
#include "mail-session.h"
#include "mail-send-recv.h"
#include "mail-signature-editor.h"
+#include "mail-composer-prefs.h"
#define d(x)
@@ -1322,39 +1323,35 @@ sig_set_and_write (MailAccountGui *gui)
static void
sig_new_text (GtkWidget *w, MailAccountGui *gui)
{
-#if 0
if (!gui->dialog)
return;
sig_switch_to_list (w, gui);
- gui->text_signature = mail_composer_prefs_new_signature (gui->dialog, FALSE);
+ gui->text_signature = mail_composer_prefs_new_signature (NULL, FALSE);
gui->text_random = FALSE;
gtk_option_menu_set_history (GTK_OPTION_MENU (gui->sig_option_text), sig_get_index (gui->text_signature));
sig_set_and_write (gui);
gtk_widget_set_sensitive (gui->sig_edit_text, TRUE);
-#endif
}
static void
sig_new_html (GtkWidget *w, MailAccountGui *gui)
{
-#if 0
if (!gui->dialog)
return;
sig_switch_to_list (w, gui);
- gui->html_signature = mail_accounts_dialog_new_signature (gui->dialog, TRUE);
+ gui->html_signature = mail_composer_prefs_new_signature (NULL, TRUE);
gui->html_random = FALSE;
gtk_option_menu_set_history (GTK_OPTION_MENU (gui->sig_option_html), sig_get_index (gui->html_signature));
sig_set_and_write (gui);
gtk_widget_set_sensitive (gui->sig_edit_html, TRUE);
-#endif
}
static void