From 84e13943704d86c5a4145cacca6a59d91db38caf Mon Sep 17 00:00:00 2001 From: Paul Mangan Date: Fri, 6 Jun 2003 09:35:57 +0000 Subject: [PATCH] fix bug where the insert sig button would be effective only when auto_sig was set --- ChangeLog.claws | 6 ++++++ configure.ac | 2 +- src/compose.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index b31b1ff8c..b02fd5cbe 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,9 @@ +2003-06-06 [paul] 0.9.0claws13 + + * src/compose.c + fix bug where the insert sig button would be effective + only when auto_sig was set + 2003-06-06 [paul] 0.9.0claws12 * sync with 0.9.2 release diff --git a/configure.ac b/configure.ac index 28d2860ed..bdf7a38a8 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws12 +EXTRA_VERSION=claws13 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/compose.c b/src/compose.c index da134d91c..729fb1850 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1927,7 +1927,7 @@ static void compose_insert_sig(Compose *compose, gboolean replace) g_free(compose->sig_str); compose->sig_str = compose_get_signature_str(compose); - if (!compose->sig_str || !compose->account->auto_sig) + if (!compose->sig_str || (replace && !compose->account->auto_sig)) compose->sig_str = g_strdup(""); gtk_stext_insert(text, NULL, NULL, NULL, compose->sig_str, -1); -- 2.25.1