Commit graph

1077 commits

Author SHA1 Message Date
Paul 9a84275f94 automatically use external editor on fwd-as-attachment if option is set 2016-01-29 13:33:25 +00:00
Andrej Kacian d0c7241757 Remove the outer scrollbar from header area.
This means the sender address line, with account
selector is always visible.
2016-01-28 20:13:45 +01:00
Andrej Kacian bfb18150ef Make procmsg_msginfo_free() zero out pointers to freed memory.
The function's argument type changes from MsgInfo* to MsgInfo**,
so that we can zero out the pointer.

This closes bug #3598, reported by Hanno Boeck.
2016-01-23 16:45:02 +01:00
Paul 6eb02a5598 fix bug 2358, '"Disposition-Notification-To:" should default to same value as "From:' 2015-12-28 19:12:33 +00:00
Paul 225ab1ccaf call 'new' address book 'alternate' address book 2015-12-07 10:40:25 +00:00
Ricardo Mones 388820da80 Adjust menus for external embedded editor 2015-11-24 11:41:32 +01:00
Ricardo Mones a5bd5e1504 Bug #2355: don't send while external editor is open 2015-11-24 10:26:18 +01:00
Ricardo Mones 8b99c246a1 Fix bug #2355: Embedding external editor through GtkSocket
Original patch by David Schneider, updated by Darko Koruga,
Also added emacs command as suggested by Marcel van der Boom.

Many thanks to all of them! :-)
2015-11-23 20:07:24 +01:00
Paul 5a62dd7ed4 more sanitizing of translatable strings 2015-11-15 12:59:23 +00:00
Paul 129afc04be remove the internally used plus symbol from the translatable strings 2015-11-14 10:36:49 +00:00
Colin Leroy ea54e7760f Fix unchecked return value 2015-10-08 19:13:17 +02:00
Ricardo Mones 98b12b276f Remove line breaks from g_warning() 2015-10-01 22:05:12 +02:00
Ricardo Mones 5ef1df1e1b Fix bug 2458 “Option to force header type to pre-defined-only”
As suggested by the comments in the report this  adds a new
hidden preference namely 'type_any_header', which controls
the editable status of the compose header entries.

For RELEASE_NOTES: the option is set to FALSE by default, so it
changes current default behaviour.
2015-08-09 11:33:42 +02:00
Andrej Kacian 3b14f47606 Fixed handling of drag&drop onto compose text area on Windows.
Fixes bug #3475.
2015-07-25 14:02:33 +02:00
Andrej Kacian 0158a5105c Make right-click behavior more intuitive in compose attachment list. 2015-07-09 12:31:22 +02:00
Ricardo Mones f3d84861e4 Fix build with hardened compiler flags
Error was:
compose.c: In function 'compose_write_to_file':
compose.c:5782:5: error: format not a string literal and no format
arguments [-Werror=format-security]
     alertpanel_error(msg);
     ^
cc1: some warnings being treated as errors
Makefile:1430: recipe for target 'compose.o' failed
make[6]: *** [compose.o] Error 1
2015-07-09 03:17:16 +02:00
Andrej Kacian a36b173660 Get rid of last remaining "struct stat" variables.
GStatBuf is used instead.
2015-06-29 11:44:13 +02:00
Andrej Kacian eb9beace00 Handle an unlikely fopen failure in compose_write_to_file() 2015-06-25 17:58:50 +02:00
Andrej Kacian a7c0255395 Encrypt message just before writing it to queue dir.
This fixes bug #2965.
As a side effect, if "Save sent encrypted messages as clear text" is
enabled, a copy will be saved to outbox when queuing, not when sending.
2015-06-25 13:01:58 +02:00
Andrej Kacian f061b67c93 Use 'GStatBuf' instead of 'struct stat' type where possible. 2015-06-05 13:33:32 +02:00
Ricardo Mones 6fc7c18a81 Switch core from strerror to g_strerror 2015-05-18 22:42:37 +02:00
Andrej Kacian 9cf5b73b47 Compose window: Fix bug #3421 - Recipients list doesn't scroll when moving with arrow keys. 2015-04-22 18:31:46 +02:00
Paul b6a112c69c Mac-Cyrillic menu updates. patch by Anton Butanaev 2015-01-26 05:03:29 +00:00
Paul 72dbf64f39 add support for x-mac-cyrillic encoding.
patch by Anton Butanaev.
2015-01-19 09:21:52 +00:00
Colin Leroy 2fc36b1cd4 Better fix for bug #3349 (almost all the needed code was there :-) 2014-12-19 16:23:00 +01:00
Ricardo Mones ff2f663ebc Improve feedback to user when bug #3349 2014-12-17 17:08:15 +01:00
Paul 9f4528e13e when cancelling a msg written with an external editor, get rid of the draft copy. thanks to Darko Koruga. 2014-12-09 10:46:49 +00:00
Andrej Kacian e19ba17f94 Compose window: Change Subject mnemonic from 's' to 'u', since 's' is already used by Spelling menu. 2014-12-09 10:14:40 +01:00
Andrej Kacian fcd8492f73 Compose window: sender address line gets its own label with a mnemonic, similar to Subject line. 2014-12-08 23:08:29 +01:00
Andrej Kacian e746281f5f Compose window: activating the GtkEntry with sender address activates the account selection combobox. Closes bug #3345, reported by Barry Warsaw. 2014-12-07 22:33:26 +01:00
Andrej Kacian a2068001ee Use GLib's implementation of Base64 instead of our own. 2014-11-15 19:59:29 +01:00
Paul 8c7418e621 add Reply-To to template config 2014-09-03 11:49:17 +01:00
Andrej Kacian 18d334146b Fix b976c1d by actually having a mnemonic char in the Subject label, so alt+s works. 2014-06-22 02:09:12 +02:00
Andrej Kacian 8e65767973 Added comments explaining the use of gtk_container_set_focus_chain(), for future generations. 2014-06-18 21:10:51 +02:00
Andrej Kacian 7975defae6 In compose window, prevent account selection combobox to get focus when navigating widgets using arrow keys. Closes bug #3216. 2014-06-18 21:03:54 +02:00
Andrej Kacian 3fc9e21801 Revert "Make Up key bring focus to Subject line, if the cursor is on the first line of body textview." 2014-06-18 13:13:36 +02:00
Colin Leroy 04314da118 Drop old unsupported GTK+ conditionals too 2014-06-10 11:18:48 +02:00
Colin Leroy 767368e898 More Coverity fixes 2014-06-05 21:29:31 +02:00
Ricardo Mones 0fff967430 Fix “File (null) doesn't exist” error dialog
When attaching a non-existing file via --attach
2014-05-29 01:18:59 +02:00
Colin Leroy 78965aa3b7 Add a per-account preference to allow automatically accepting unknown
and changed SSL certificates, if they're valid (that is, if the root CA
is trusted by the distro).
2014-05-28 21:18:34 +02:00
Colin Leroy 7c1bb13b90 Fix the race fix, now preventing the compose window to be closed. 2014-05-28 20:23:33 +02:00
Colin Leroy 5e1e3a0cb3 Better place to remove the draft callback, where we hold the mutex 2014-05-23 11:37:26 +02:00
Colin Leroy f19a85fc67 Remove draft_timeout_tag too before destroying 2014-05-23 11:29:16 +02:00
Colin Leroy a873d8f791 Better solution than a global function call, use our hook infrastructure
(with minor modifications for moving)
2014-05-22 22:46:07 +02:00
Colin Leroy 6086f18b85 Fix bug #2447, "Compose window crashes if moving a folder that is being replied to". Also constify compose_get_compose_list() 2014-05-22 22:11:07 +02:00
Colin Leroy 0dbb415b36 Fix Undo after wrapping a paragraph, which undid every line wrap one by one, and make it atomic. 2014-05-22 20:57:01 +02:00
Colin Leroy eba3ff6f6f Fix bug #2179, "Improve quotation wrapping support": Make manual wrapping also wrap quotes. 2014-05-22 15:40:24 +02:00
Colin Leroy ab2c7af982 Don't go up in subject if we're selecting 2014-05-14 15:55:42 +02:00
Andrej Kacian 668e757b05 Use the GtkPaned's position value to store compose_notebook_height, since setting this position is what we're using it for now. Since GtkPaned doesn't have any "resize done" signal available, we have to do it in the notebook's "size-allocate" callback. 2014-05-12 19:03:19 +02:00
Andrej Kacian a5a0678195 Make Up key bring focus to Subject line, if the cursor is on the first line of body textview. 2014-05-12 18:39:29 +02:00