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 b31b1ff..b02fd5c 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 28d2860..bdf7a38 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 da134d9..729fb18 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);