Commit graph

18 commits

Author SHA1 Message Date
wwp
3d4be15e38 Fix missing initializers, taking for reference GLib 2.28 (with support
for up to 2.56) and Python 2.4 (with support for up to 3.6).
2018-05-26 15:14:44 +02:00
Andrej Kacian
87bce1bef5 Fix memory handling around SieveEditorPage. 2018-05-06 23:28:26 +02:00
Andrej Kacian
5ab9e6e799 Rework of alertpanel default button focus handling.
Instead of using "+" prefix with button labels and/or
the default_value parameter, we introduce "focus"
parameter, which will point to first, second or third
button.

Advantages:
- we got rid of the "+" prefix, which won't work with GTK3
  with GTK3
- instead of having two ways to indicate which button
  should have focus, which can be in conflict, and
  are not very straightforward, there is just one,
  arguably more intuitive
- some small memory leaks fixed along the way
  (using g_strconcat() directly as function argument)
2018-02-09 14:44:30 +01:00
Paul
129afc04be remove the internally used plus symbol from the translatable strings 2015-11-14 10:36:49 +00:00
Charles Lehner
8be3195502 managesieve: read literals in chunks, not line-by-line
This adds a way to read data chunks with a known length from a Session, rather
than until a newline or terminator string is reached. It is used to let Sieve
scripts be loaded faster.
2015-07-21 21:34:16 -04:00
Charles Lehner
510d72d37d managesieve: count script length in bytes, not characters 2015-07-21 21:16:02 -04:00
Charles Lehner
a5fcd7b5d7 managesieve: fix memory leak 2015-07-21 21:09:28 -04:00
Charles Lehner
38ea0d67f5 managesieve: close windows when unloading
fixes crash on plugin unload
2015-07-20 22:31:01 -04:00
Charles Lehner
53c39d90eb managesieve: add newly created scripts to manager window list 2015-07-17 01:21:06 -04:00
Charles Lehner
81acf6b893 managesieve: don't reset status while appending text 2015-07-16 23:51:00 -04:00
Charles Lehner
dc1d2b4ed5 managesieve: allow script loading to be interrupted
Prevent use after free when an editor window is closed while loading

Uses string "Loading..." which is already translated
2015-07-16 23:28:37 -04:00
Charles Lehner
32924ce7e8 managesieve: fix command aborting and discarding
- Add "aborted" callback argument to indicate command is cancelled
- Add helper function for issuing command callbacks
2015-07-16 23:24:32 -04:00
Paul
8e72324cbc revert the revert
because, as Charles pointed out, this string is already present in
compose.c, therefore, technically, it's not a new string
2015-07-16 18:46:49 +01:00
Paul
4e7ed5bd38 revert without breaking stuff
(fix for last commit)
2015-07-16 12:55:24 +01:00
Paul
65f1e6e443 revert, it's string-freeze right now 2015-07-16 12:53:23 +01:00
Charles Lehner
bf369b87a2 Mark string for translation which is already translated 2015-07-15 16:59:08 -04:00
Andrej Kacian
198db03ee8 Managesieve: use accessor for common preferences
Fixes crash on Windows when opening the script editor window.
2015-07-01 12:25:32 +02:00
Charles Lehner
952c6d7e35 Add ManageSieve plugin 2015-04-25 13:26:06 +02:00