Commit Graph

411 Commits

Author SHA1 Message Date
5cd49dc1bb Bug 745951 - Disable "Create filter for Mailing-List" when not from ML 2015-03-10 14:24:12 +01:00
179495034c EMailReader - Fix more leaks of WebKit objects
Also remove outdated comment.
2015-02-27 11:01:14 +01:00
9dcac58b21 Use thread safe variants of g_object_bind_property*() functions from evolution-data-server 2015-02-24 09:54:41 +01:00
c569546604 Bug 741129 - Correct couple translatable strings 2015-01-06 11:20:02 +01:00
2d83d7655f Bug 724039 - Message preview shows a wrong message 2014-12-12 13:45:07 +01:00
f28796508e Bug 524365 - Expand folder tree for message Move/Copy folder selector 2014-12-03 13:59:57 +01:00
59e2efa774 Share GSettings objects with e_util_ref_settings()
A simple Evolution run and move between all views means creation of
more than 100 GSettings objects, with only a bit more than 10 schemas.
Reusing the objects should have a positive impact on a performance too.
2014-11-13 10:06:04 +01:00
a5513b3ea6 Provide descriptive error message when an e-mail is not available in offline 2014-11-06 10:36:42 +01:00
4a8c3fa737 Bug 300871 - Ignore a specific thread 2014-10-27 22:26:29 +01:00
ba3c08c710 Change shortcut and remove icon for Message->Archive mail menu option
The previous shortcut clashes with File->New->Appointment. The icon
was removed due to a lack of a better descriptive image and to not
have three almost identical icons beside each other in the menu.
2014-10-22 12:40:18 +02:00
f6c0c8226e Bug 223621 - Add per-account mail Archive Folder option 2014-10-20 15:17:39 +02:00
198f5b7cd1 EMailReader - Call zoom in/out methods from EWebView instead of the WebKit ones
The methods in the EWebView are limiting the zoom level.
2014-09-01 16:49:19 +02:00
a4f7954b64 Bug 732091 - Automatically mark message as read sometimes doesn't work (take 2) 2014-07-08 14:12:47 +02:00
b07c2b006e Bug 732091 - Automatically mark message as read sometimes doesn't work 2014-07-01 16:46:42 +02:00
4ba8b147ac Bug 731231 - Automatic 'mark as seen' sometimes cancelled incorrectly 2014-06-17 14:16:42 +02:00
8650fb139a Bug 540362: [webkit-composer] Use webkit for composer
Merge wip/webkit-composer branch into master.
2014-06-09 16:32:25 +02:00
2f3fbdd6c6 Ignore false GObject property change notifications
This is related to bug 698275, which did not cover all cases.
The problem here is that the dconf can in certain situation claim
that everything changed (path "/" changed), which GSettingsBinding
propagates to a GObject property unconditionally and GObject's
property setter (g_object_set_property()) also notifies about
the property change unconditionally, despite the real descendant
property setter properly checks for the value change. After all
these false notifications a callback on "notify" signal is called
and possibly an expensive operation is run.

Checking whether the value really changed helps in performance, for
which were added new e-util functions:
   e_signal_connect_notify()
   e_signal_connect_notify_after()
   e_signal_connect_notify_swapped()
   e_signal_connect_notify_object()
which have the same prototype as their GLib counterparts, but they allow
only "notify::..." signals and they test whether the value really changed
before they call the registered callback.
2014-06-04 19:46:25 +02:00
daee89cdda Bug #730145 - Switching folders marks message as seen 2014-05-23 15:24:09 +02:00
4c610e4945 Bug #666142 - Filtered message not opened in a separate window 2014-05-06 16:27:01 +02:00
26ce0bb516 Reset MessageList::seen_id in mail_reader_message_seen_cb()
Otherwise invalid source ID is used in the call of g_source_remove()
when is tried to remove "pending" auto-mark-as-seen timeout callback.
It can show a runtime warning on a console too.
2014-04-10 18:03:06 +02:00
a0015666b9 EMFolderSelector: Remove 'title' argument when creating.
Just call gtk_window_set_title() after creating the dialog.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:34 -04:00
7624730674 EMFolderSelector: Add a "default-button-label" property.
Replaces the 'oklabel' argument when creating a new dialog, and can be
changed after the dialog is created.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:33 -04:00
c70e8e9ea2 EMFolderSelector: Add a "caption" property.
Replaces the 'text' argument when creating a new dialog, and can be
changed after the dialog is created.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:33 -04:00
5747a285f7 EMFolderSelector: Add a "can-create" property.
Replaces the EM_FOLDER_SELECTOR_CAN_CREATE flag, and can also be set
after the selector dialog is instantiated.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:33 -04:00
733462ca84 Fix two memory leaks
a) ETableColumnSpecification: the 'title' property is always overwritten
   during the spec file loading, thus no need to allocate it here
b) the 'uids' are leaked on message move, because the GPtrArray is
   supposed to be always unreffed
2014-03-26 16:48:03 +01:00
ddffaf3bce Bug #725615 - Disable Delete button in a vTrash folder 2014-03-06 11:49:03 +01:00
c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
5c60d57082 Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build
when this word is used in the code, thus replace it to 'iface',
the same way as GLib or GTK+ code use to have it. (See bug #722068.)
2014-02-26 16:15:21 +01:00
c0c4200149 Bug #724854 - Cursor moves to incorrect message when deleting multiple messages 2014-02-25 09:30:13 +01:00
0d52e31571 e_menu_tool_action_new: Remove unused stock_id parameter 2014-02-13 17:12:31 +01:00
b48e21d9aa Stop using deprecated gtk-stock items 2014-02-12 20:47:07 +01:00
8924b0bd5e Bug 723377 - Add alternate zoom shortcuts
The zoom in shortcut (Ctrl+) can be confusing for some users because on
keyboards with a [+ =] key the '+' requires holding Shift.  To mitigate
the confusion, also accept (Ctrl=) for zoom in.

And while we're add it, also support Ctrl+ and Ctrl- on keypads, as well
as keyboards with dedicated Zoom In / Zoom Out keys.
2014-02-02 11:55:16 -05:00
1c53fdf558 Fix a runtime warning after a change for bug #583773
Missed a case when an EMailReader is an EMailBrowser, which is not
an EMailView, which produced a runtime warning on a console when
a message was shown in a separate window (like after double-clicking it).
2014-01-27 15:49:59 +01:00
51cafd4067 Bug #583773 - Does not always mark mails as read automatically 2014-01-23 21:30:38 +01:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
570c637480 Fix/mute issues found by Coverity scan
This makes the code free of Coverity scan issues.
It is sometimes quite pedantic and expects/suggests some
coding habits, thus certain changes may look weird, but for a good
thing, I hope. The code is also tagged with Coverity scan
suppressions, to keep the code as is and hide the warning too.
Also note that Coverity treats g_return_if_fail(), g_assert() and
similar macros as unreliable, and it's true these can be disabled
during the compile time, thus it brings in other set of 'weird'
changes.
2013-11-15 09:06:57 +01:00
3c30fb1747 Convert libemail-engine to a single-include model.
Use: #include <libemail-engine/libemail-engine.h>
2013-11-11 12:07:43 -05:00
9c1975632e Generate enum GTypes for libevolution-mail.
Steals some enum types that libemail-engine doesn't need to know about.
2013-11-11 08:29:20 -05:00
4c2233114d Rename e-mail-enums.h to e-mail-engine-enums.h. 2013-11-11 08:29:20 -05:00
bc0d5d40ed Bug 710797 - Name all the timeouts added with g_timeout_add() 2013-10-29 15:22:35 -04:00
82010c57ec Adapt to Camel API changes. 2013-09-23 12:03:17 -04:00
34547da643 EMailReader cleanups. 2013-08-23 10:07:36 -04:00
83134a75c3 EWebView: Add an "image-save" action.
There's now enough hooks in EWebView that it can take over image saving
from EMailDisplay / EMailReader, with the added perk that a "Save Image"
pop-up menu item now appears for images in ALL preview panes.
2013-07-27 21:24:02 -04:00
3f3ae7f2c8 Rename e_mail_display_set_parts_list().
Rename to e_mail_display_set_part_list().

Function takes an EMailPartList, not an "EMailPartsList".
2013-07-27 02:16:47 -04:00
a8d2cba23a Rename e_mail_display_get_parts_list().
Rename to e_mail_display_get_part_list().

Function returns an EMailPartList, not an "EMailPartsList".
2013-07-26 08:16:39 -04:00
f642e03d49 message_list_get_selected: Give the returned array a free func.
The returned UID array now has a built-in "free" function for its
elements and should be released by callers with g_ptr_array_unref()
rather than em_utils_uids_free() or some equivalent.
2013-06-15 08:19:27 -04:00
5b1742b202 Add e_mail_reader_ref_folder().
Replaces e_mail_reader_get_folder().
2013-06-14 23:21:41 -04:00
cf669f10f2 MessageList: Add a "group-by-threads" property.
Bind this to EMailReader's "group-by-threads" property.

New functions:

  message_list_get_group_by_threads()
  message_list_set_group_by_threads()
2013-06-14 23:21:40 -04:00
9c4500a9b5 MessageList: Add a "folder" property.
Also move the CamelFolder pointer into the private structure.

New functions:

  message_list_ref_folder()
2013-06-14 23:21:40 -04:00
ef54e65fb9 message_list_set_folder: Remove unused "outgoing" parameter. 2013-06-12 19:45:56 -04:00