fix bug where the insert sig button would be effective only when auto_sig was set
authorPaul Mangan <paul@claws-mail.org>
Fri, 6 Jun 2003 09:35:57 +0000 (09:35 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 6 Jun 2003 09:35:57 +0000 (09:35 +0000)
ChangeLog.claws
configure.ac
src/compose.c

index b31b1ff8c8803559ac4f495c93178b37f4c90334..b02fd5cbe3d0a9ef8c995470ca3dfbb8f9e77c48 100644 (file)
@@ -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
index 28d2860ede59569123249ef9242902060f80923c..bdf7a38a89bd556d8735a92d8111d0a3e211834f 100644 (file)
@@ -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
index da134d91c81ca4a9a7507944a929f17ae66990df..729fb1850a6b9547624dca13dca574753bf688a2 100644 (file)
@@ -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);