Commit Graph

7577 Commits

Author SHA1 Message Date
Milan Crha a1527b02cb Bug 732502 - Ignore get_quota errors in folder properties 2014-07-01 18:13:26 +02:00
Milan Crha b07c2b006e Bug 732091 - Automatically mark message as read sometimes doesn't work 2014-07-01 16:46:42 +02:00
Milan Crha 4b213ded59 Bug 732180 - Excessive CPU usage due to GtkSpinner
Let's use our own spinner-like widget, which doesn't need as that
much of CPU as GtkSpinner.
2014-06-27 13:38:39 +02:00
Milan Crha ffc21b90ee Propagate Send/Receive errors to UI
A follow-up change to bug 719379, to propagate errors from Send/Receive
into UI, instead of to the console.
2014-06-24 12:34:42 +02:00
Milan Crha 4cda728c09 Bug 719379 - Send/Receive dialog doesn't close on errors properly 2014-06-24 11:45:37 +02:00
Milan Crha a1f29eb304 Drop the last references to GtkHTML
There still left some references to GtkHTML in the "active code",
which should be dropped. There still can be found couple "GtkHTML"
strings in the code, but mostly in disabled code or comments only.
These are to be fixed separately.
2014-06-24 08:52:00 +02:00
Milan Crha 9840648ed3 Bug 731770 - Sometimes crashes when trying to load images in e-mails 2014-06-18 14:07:09 +02:00
Milan Crha 1cb6d79063 Bug 731721 - Reorder junk filtering configuration UI 2014-06-18 11:10:14 +02:00
Milan Crha 4ba8b147ac Bug 731231 - Automatic 'mark as seen' sometimes cancelled incorrectly 2014-06-17 14:16:42 +02:00
Sebastian Keller 5fca7d6169 Bug 731549 - EMFolderTree: Text column doesn't expand with recent gtk+
gtk commit 73ff6a8e0ff307b8d14986c64918022364ff10e7 removed the code
that made the column expand previously, resulting in only ellipses being
shown.
2014-06-17 10:07:48 +02:00
Milan Crha 10186df707 Fix memory leaks when generating message list
It turned out that the values returned from ml_tree_value_at_ex() can
be dynamically allocated, thus proper free functions should be called
for these too.
2014-06-16 18:12:58 +02:00
Milan Crha 60d5ff7b71 Fix runtime warnings when opening Edit->Preferences
These were new after merging webkit-composer branch changes, but just
some leftovers.
2014-06-11 18:19:10 +02:00
Milan Crha 6576094f7e Bug 704663 - Crash under em_folder_tree_model_add_store() 2014-06-11 12:26:56 +02:00
Milan Crha 1ec775dd0e Bug 731278 - Next message is not selected after move 2014-06-11 10:49:16 +02:00
Tomas Popela 8650fb139a Bug 540362: [webkit-composer] Use webkit for composer
Merge wip/webkit-composer branch into master.
2014-06-09 16:32:25 +02:00
Milan Crha d6dcec1b55 Bug 731321 - Missing custom types when loading .ui definition 2014-06-06 12:02:13 +02:00
Milan Crha 402d1f16be Bug 227536 - Add "Message Location" filter option 2014-06-05 19:20:29 +02:00
Milan Crha 6e9e7b0676 Ignore false GSettings key change notifications
Similar to GObject::notify, the GSettings::changed can be emitted
even if a key didn't change. It's up to the user (aka evolution)
to test for real changes, thus let's do it. It may have certain
performance positive impact too.
2014-06-05 16:59:29 +02:00
Milan Crha 2e71c86143 Properly disconnect signal handlers added with e_signal_connect_notify*()
This is a follow-up for the previous commit, where e_signal_connect_notify*()
functions had been added. Due to a different callback and user data being
attached to the 'notify' signal, the g_signal_handlers_*() functions do not
work properly, thus these e_signal_connect_notify*() functions need
a different way for a signal handler disconnect.

A side-change was done in e-settings-web-view-gtkhtml.c, checking for a real
key change from GSettings.
2014-06-05 11:47:13 +02:00
Milan Crha 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
Milan Crha 70f58975e3 Bug 604346 - Ctrl+Enter sends mail without asking confirmation 2014-06-03 10:44:19 +02:00
Milan Crha 2f73b39bf2 Add "Send messages through Outbox folder" option
Users ask from time to time for the old behaviour when the messages
used to be saved through Outbox, rather than the composer being opened
all the time the message is sending. The change is pretty simple,
thus why not to add it.

Note the Outbox is not flushed after sending, the users is responsible
to invoke the Outbox flush on his/her own. This also allows a user
to postpone the message send for later.
2014-06-02 14:36:00 +02:00
Milan Crha d2127ba0d3 Bug 731082 - Send mail in offline mode should use Outbox folder 2014-06-02 14:05:59 +02:00
Milan Crha 3af14eff0c Bug 729667 - Create Folder window is much too short 2014-05-29 18:37:11 +02:00
Milan Crha 5669365429 Bug 730110 - Search results include also last email looked at 2014-05-27 19:13:13 +02:00
Milan Crha 82076f2fae Bug 730743 - Add an option to disable sender's photo search at gravatar.com 2014-05-27 16:12:51 +02:00
Milan Crha a3db47909e Bug 726746 - Allow to auto-empty trash without needing to exit 2014-05-26 16:41:48 +02:00
Milan Crha b3819be9f7 Bug #730199 - [MessageList] Support dates with value larger than 2^32 2014-05-23 18:57:12 +02:00
Carl Schaefer daee89cdda Bug #730145 - Switching folders marks message as seen 2014-05-23 15:24:09 +02:00
Milan Crha fd688bf25f Custom mail account order reset on an account add or remove
It was quite discouraging to change order of mail accounts when it
reset to default sort order when a new account had been added or
an old removed. Rather than reset the order, the Evolution should
adapt the account count change properly, same as sort newly added
accounts by the default sort function.
2014-05-20 12:12:44 +02:00
Milan Crha d46ad6d3cd Bug #678843 - May re-prompt password on account re-enable 2014-05-12 19:47:16 +02:00
Milan Crha 4c610e4945 Bug #666142 - Filtered message not opened in a separate window 2014-05-06 16:27:01 +02:00
Milan Crha d677d4d426 Leftover "Generating message list..." info in a message-list
In some cases, like on errors or cancel, there could be left
an information in the message-list that the list is generating
its content, while it didn't do it in reality. This always resets
the message-list information in case the current message-list
generation finished and was the last in the queue.
2014-04-25 07:55:37 +02:00
Milan Crha fdde333961 Fix various memory leaks 2014-04-24 18:59:16 +02:00
Milan Crha 61695f06c1 Newly created folders always marked as having subfolders
This corrects, a bit, a regression caused by commit b0106cc8, reported at
https://bugzilla.gnome.org/show_bug.cgi?id=722698#c13
2014-04-17 14:42:48 +02:00
Milan Crha 3bd387bc25 Bug #684425 - Do not pass NULL text to gtk_entry_set_text() 2014-04-11 10:49:15 +02:00
Milan Crha 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
Milan Crha 4e9f3b3ffb Fix few more memory leaks 2014-04-04 15:37:13 +02:00
Tomas Popela 0aad073202 EMailDisplay: Install HTML click event handlers on images in all frames
The handlers were installed just on main frame. Thus if subframe
contained +/- images to show/hide i.e. CC'ed people it was not working.
2014-04-04 10:37:25 +02:00
Milan Crha e888740b06 Cancel pending mail operations when going offline or on quit
This used to be done in mail_cancel_all(), but since commit 8ae3cc3283
the function is gone and the mail operations are not cancelled, which
prevents the application to go offline or to quit in a timely manner,
because it's waiting for a finish of possibly expensive operations.
2014-04-03 12:54:54 +02:00
Milan Crha ed405f45a5 Bug #726542 - Unpadded black border on various mail account settings pages 2014-03-27 17:08:58 +01:00
Matthew Barnes 5ebf0fd3c3 Add EMailFolderCreateDialog.
Subclass of EMFolderSelector, replaces em_folder_utils_create_folder().
2014-03-26 20:24:34 -04:00
Matthew Barnes b6cf2c3763 Add em_folder_selector_new_activity().
Returns a new EActivity configured to display status and error messages
directly in the selector dialog.
2014-03-26 20:24:34 -04:00
Matthew Barnes b1be80447d EMFolderSelector: Add an activity bar. 2014-03-26 20:24:34 -04:00
Matthew Barnes a9465c3506 EMFolderSelector: Use an ETreeViewFrame.
Convert the folder selector's "New" button to a [+] button on an inline
toolbar beneath the folder tree.  The symbolic button looks better, and
clicking it no longer triggers a "response" signal, which terminates a
gtk_dialog_run() call.  We don't want gtk_dialog_run() to terminate in
this case.
2014-03-26 20:24:34 -04:00
Matthew Barnes f7688facc9 EMFolderSelector: Add a "folder-selected" signal.
This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:34 -04:00
Matthew Barnes 613f58f776 Add em_folder_selector_set_selected().
Mostly a convenience function so callers don't have to dig up the
dialog's folder tree widget.
2014-03-26 20:24:34 -04:00
Matthew Barnes 79920ca23f Add em_folder_selector_get_selected().
Will eventually replace em_folder_selector_get_selected_uri().
2014-03-26 20:24:34 -04:00
Matthew Barnes d40a75af9d Add em_folder_selector_get_content_area().
A more useful alternative to gtk_dialog_get_content_area().
2014-03-26 20:24:34 -04:00
Matthew Barnes 70185ec1d2 EMFolderSelector: Override constructed() method.
Now that all the instantiation arguments have either been eliminated or
made into GObject properties, we can initialize the dialog properly via
the constructed() method instead of some custom internal function.

This makes EMFolderSelector a LOT more "subclassable".
2014-03-26 20:24:34 -04:00