Commit Graph

234 Commits

Author SHA1 Message Date
Matthew Barnes 7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
Matthew Barnes 53feeabf5d Remove mail_remove_folder().
Use e_mail_folder_remove() instead.
2011-06-29 18:42:17 +02:00
Matthew Barnes 54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
Matthew Barnes c7398b967e Fix compiler warnings.
Mostly dead assignments.
2011-06-29 18:42:06 +02:00
Matthew Barnes fc1034551e Drop 'folder_uri' param from em_utils_folder_is_outbox(). 2011-06-29 18:42:06 +02:00
Matthew Barnes bbf5ce3869 Drop 'folder_uri' param from em_utils_folder_is_sent(). 2011-06-29 18:42:06 +02:00
Matthew Barnes 9cf4104e04 Drop 'folder_uri' param from em_utils_folder_is_drafts(). 2011-06-29 18:42:05 +02:00
Matthew Barnes 801450b0f3 Remove redundant EAccountList utilities.
Kill itip_addresses_get() and itip_addresses_get_default(), and use
e_get_account_list() and e_get_default_account() instead.
2011-06-29 18:41:57 +02:00
Milan Crha eecdf6fc08 Bug #646197 - Crash with VALARM without ACTION property 2011-06-29 18:41:55 +02:00
Matthew Barnes f31b492945 Adapt to sealed up CamelService. 2011-06-29 18:41:55 +02:00
Matthew Barnes 274697623e Remove NULL checks for GObject methods.
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally.  Remove unnecessary checks.
2011-06-29 18:41:34 +02:00
Matthew Barnes dbc22f9de5 More whitespace cleanup. 2011-06-29 18:41:29 +02:00
Matthew Barnes dce5bdc369 Move calendar preferences to the calendar module.
Continue replacing the use of calendar-config functions with GObject
property bindings to EShellSettings properties.
2010-11-09 23:33:22 +01:00
Matthew Barnes c1e412618a Rename CalUnits to EDurationType.
And move the definition to e-util-enums.h so we get a GType for it.
2010-11-09 23:33:22 +01:00
Matthew Barnes c881b5bc5e Simplify EActivity.
With unintrusive error dialogs gone, we can cut some unnecessary bits
out of EActivity.

I'm also adding a new enum property called "state", which is one of:

    E_ACTIVITY_RUNNING
    E_ACTIVITY_WAITING
    E_ACTIVITY_CANCELLED
    E_ACTIVITY_COMPLETED

The state of an activity must be explicitly changed.  In particular,
when the user cancels an activity the state should be set only after
confirming the operation has been cancelled and not when cancellation
is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
widgets have been updated to make this distinction clearer in the UI.

E_ACTIVITY_WAITING will be used when activities have to be queued and
dispatched in sequence, which I haven't written yet.
2010-10-22 14:21:22 -04:00
Matthew Barnes 35e55a8d6e Send errors to an EAlertSink instead of the task bar.
This marks the end of unintrusive error dialogs, which were too
unintrusive.  We now show errors directly in the main window using
the EAlert / EAlertSink framework.
2010-10-18 12:32:37 -04:00
Matthew Barnes ed45d23b84 Remove mail_tools_folder_to_url().
Use camel_folder_get_uri() instead.
2010-10-12 13:59:00 -04:00
Milan Crha 1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +02:00
Matthew Barnes 75b078e997 Kill em_utils_temp_save_part().
Rewrite the last usage of it in itip-formatter.c to use EAttachments
instead.  This also allowed me to kill mail_save_part() in mail-ops.c.

I may need to reevaluate the EAttachment API at some point for all these
fringe EAttachment uses we're accumulating.  Having to asynchronously
"load" an EAttachment whose content is already in memory kinda sucks.
2010-09-30 13:55:38 -04:00
Milan Crha c7b1343774 Bug #629799 - Crash importing a mail with an ics attachment 2010-09-29 11:32:30 +02:00
Milan Crha 07bc66e30c Bug #630294 - Shouldn't send invitation reply when has no organizer 2010-09-29 11:20:13 +02:00
Matthew Barnes 31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
Matthew Barnes a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
Matthew Barnes cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
David Woodhouse 336000a2d7 Bug 627601 - Memory leak in itip_get_comp_attendee() 2010-08-24 01:17:33 +01:00
Milan Crha 03d626856b Bug #623204 - Be able to report detailed errors from backends 2010-07-09 14:29:51 +02:00
Matthew Barnes 137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
Milan Crha 6b8ce71cb5 Bug #478090 - Meeting acceptances for attendees who weren't listed are lost 2010-05-26 15:28:10 +02:00
Matthew Barnes 8ad0c51edf Adapt to Camel API changes.
This also removes the boxed CamelObject GType, since CamelObject is an
honest-to-goodness GObject now.
2010-05-07 18:32:16 -04:00
Matthew Barnes aec33928b7 Adapt to Camel API changes. 2010-04-30 11:30:19 -04:00
Roy Marples d6fd193f8f Bug #610495 - Plugins should define e_plugin_lib_enable 2010-04-27 16:31:05 +02:00
Matthew Barnes bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
Milan Crha 91020b05a3 Bug #360461 - Avoid markup in translatable messages 2010-04-23 11:20:50 +02:00
Matthew Barnes 1b9ca3faf6 Bug 610428 - Duplicate mnemonic in itip formatted message 2010-04-17 21:36:37 -04:00
Matthew Barnes 51e5ae5524 Adapt to Camel API changes. 2010-04-12 15:55:53 -04:00
Matthew Barnes 72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
Matthew Barnes a8feedf390 Adapt to Camel API changes. 2010-04-03 23:06:39 -04:00
Matthew Barnes 26240e0b18 Generate ChangeLog files for tarball releases.
Remove old ChangeLog files that predate our switch to git.
2010-04-02 18:18:33 -04:00
Matthew Barnes fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
Matthew Barnes 55d6580d86 Stop relying on CamelObject meta-data. 2010-03-31 20:12:48 -04:00
Matthew Barnes 2836a54dd6 Work around recent GTK+ deprecations. 2010-03-05 07:36:23 -05:00
Milan Crha 35b167f240 [itip-formatter] Show reason of failed calendar open 2010-02-12 13:15:26 +01:00
Gustavo Noronha Silva d635b839f8 Make authentication functionality available
This involves renaming the calendar auth-related functions to have a
prefix, and shipping the headers.

Part of https://bugzilla.gnome.org/show_bug.cgi?id=608175
2010-01-27 11:23:36 -02:00
Matthew Barnes cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
Milan Crha abaecf816e Bug #606340 - Crash on non-utf8 letter in mail folder name 2010-01-08 16:29:42 +01:00
Matthew Barnes 59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
Milan Crha 3f36489c67 Bug #329693 - Add contexts to translated "None" words 2009-12-23 17:11:59 +01:00
Jonathon Jongsma 65705e4f55 Make the mail folder cache a proper GObject
mail-folder-cache previously was a bit of a pseudo object (sort of a singleton)
that operated on some file static data.  This commit re-factors things so that
it is a proper class named MailFolderCache.  At the moment, this doesn't gain us
much, but in the future, it will allow us to add signals, etc so that we can
de-couple a lot of the interdependencies in here.  This is essentially a
pre-requisite to splitting up a lot of the mail backend stuff.

https://bugzilla.gnome.org/show_bug.cgi?id=604627
2009-12-15 14:16:08 -06:00
Milan Crha 4a9bf4dffd Bug #499322 - Use extension for "Save as" suggested file name 2009-12-10 16:08:52 +01:00
Jonathon Jongsma 31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h.  This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06:00