fix forward and save to special folder
authorColin Leroy <colin@colino.net>
Thu, 14 Nov 2002 16:35:48 +0000 (16:35 +0000)
committerColin Leroy <colin@colino.net>
Thu, 14 Nov 2002 16:35:48 +0000 (16:35 +0000)
ChangeLog.claws
configure.in
src/compose.c

index 07f9124d977b1266d3a1e8678e8af80b3bb97cd8..b7aa64ac865ceda3ba5a6517a884258a3128517b 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-14 [colin]     0.8.5claws148
+
+       * src/compose.c
+               Fix sent folder not set to folder properties when 
+               forwarding.
+
 2002-11-14 [thorsten]  0.8.5claws147
 
        * src/inc.c
index a8f2544a46ce83111f714d2511baa15625436f68..66095cd0709efa70fe4bb9aab7be3ff5f9397a47 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws146
+EXTRA_VERSION=claws148
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index d0a86537960eb9b3d3fa4a5f12aee6900c10a011..ec6f04b7f799a477330b4027bf001a036c91e2ed 100644 (file)
@@ -1064,6 +1064,16 @@ Compose *compose_forward(PrefsAccount *account, MsgInfo *msginfo,
 
        if (prefs_common.auto_exteditor)
                compose_exec_ext_editor(compose);
+       
+       /*save folder*/
+       if (msginfo->folder && msginfo->folder->prefs && msginfo->folder->prefs->save_copy_to_folder) {
+               gchar *folderidentifier;
+
+               gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(compose->savemsg_checkbtn), TRUE);
+               folderidentifier = folder_item_get_identifier(msginfo->folder);
+               gtk_entry_set_text(GTK_ENTRY(compose->savemsg_entry), folderidentifier);
+               g_free(folderidentifier);
+       }
 
         return compose;
 }