Commit Graph

128 Commits

Author SHA1 Message Date
f960fd2dff Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
6fac903eab Add forgotten -include $(top_srcdir)/git.mk to Makefile.am files 2012-06-14 11:29:14 +02:00
b16443a316 Adapt evolution-settings capplet to the new ESource API. 2012-06-02 23:00:40 -04:00
7950d6a0c6 Adapt to libedataserver[ui] changes. 2012-04-21 17:07:15 -04:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
bdf598b524 Fix a compilation warning. 2012-02-17 16:09:59 +00:00
aeb3238ad0 Fix a crash in capplet. 2012-02-16 14:18:28 +00:00
02cbfd837a Make Capplet work again with new CamelSettings and other stuffs. Also add
EPlugin support to capplet so that exchange and other accoutns can be
configured via this. now.
2012-02-16 10:59:07 +00:00
1600064022 Bug #591436 - Add -avoid-version to LDFLAGS 2012-02-15 11:22:21 +01:00
61ae36351b Introduce libemail-engine and libemail-utils.
These libraries are bound for E-D-S so they live at the lowest layer of
Evolution for now -- even libeutil can link to them (but please don't).

This is the first step toward moving mail handing to a D-Bus service.
2012-01-18 23:48:47 -05:00
7c0c40f833 Reorder accounts by drag-and-drop.
This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3.

Account reordering is now done by drag-and-drop instead of up/down
buttons.

Turned out to be a wee bit more complicated than I initially thought.

This scraps EAccountManager and EAccountTreeView and replaces them with
new classes centered around EMailAccountStore, which EMailSession owns.

EMailAccountStore is the model behind the account list in Preferences.
The folder tree model now uses it to sort its own top-level rows using
gtk_tree_path_compare().  It also broadcasts account operations through
signals so we don't have to rely so heavily on EAccountList signals,
since EAccountList is going away soon.

Also as part of this work, the e-mail-local.h and e-mail-store.h APIs
have been merged into EMailSession and MailFolderCache.
2011-12-10 21:34:19 -05:00
c75f58d01b Fix compiler warnings. 2011-11-22 14:34:11 -05:00
7ab5ae3fc7 Merge branch 'master' into wip/gsettings 2011-11-14 13:08:57 +01:00
7f962687ba Bug #636214 fetch configuration details from server
Code changes
2011-11-09 21:16:12 +05:30
e13266896b Bug #636214 get configuration details from server part2
Deleting files from capplet/settings
2011-11-09 21:13:43 +05:30
b3b35231e2 Merge branch 'master' into wip/gsettings 2011-10-28 11:38:03 +02:00
6a13d1a9ee Remove g_thread_init() calls.
g_type_init() already calls it, and has for several GLib releases.
2011-10-26 15:28:35 -04:00
2b7bb054f0 e-mail-store.c: Take EMailSession instead of EMailBackend.
My apologies for flip-flopping the API again.

e-mail-store.c functions used to take an EMailSession, then I changed
it to take an EMailBackend in preparation for my account-mgmt branch.

Having rethought some API decisions on the branch, however, the first
flip-flop proved to be unnecessary.  And now Srini needs the API to use
EMailSession for his mail-factory branch, so I'm flip-flopping again.
2011-10-26 12:46:13 -04:00
bd149b2795 Merge branch 'master' into wip/gsettings 2011-10-24 11:30:20 +02:00
8c67e84f9b Call g_thread_init() conditionally 2011-10-24 09:42:48 +02:00
5f439e5e62 Trivial little cleanups.
To synchronize with the "wip/gsettings" branch.

Mostly just removing unneeded "gconf-bridge.h" includes.
2011-10-18 12:27:13 -04:00
65a7bac6c6 Last remainig bits that can migrated to GSettings in the capplet 2011-10-13 17:28:43 +02:00
7caabe9230 Migrate mail-account-view.c to GSettings 2011-10-13 17:13:34 +02:00
1f38f4d92c Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac.  Time to simplify.  Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel).  That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
2011-10-04 22:27:14 -04:00
e2b6ff7a6c Miscellaneous cleanups from the account-mgmt branch.
Reducing diff noise so I can see important changes easier when comparing
branches.  A few API changes, but nothing that affects functionality.
2011-09-27 09:31:13 -04:00
c51b960295 Bug #655564 - Express remembers settings of not finished account 2011-09-06 12:33:49 +02:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
079db2baea MailAccountView: Adapt to URL parameter renames.
It's "security-method" now instead of "use_ssl".
2011-08-15 11:56:26 -04:00
f59681796d Coding style and whitespace cleanup. 2011-08-13 11:27:51 -04:00
99d492b828 Adapt to CamelSession and e-passwords changes. 2011-07-04 10:20:54 -04:00
13bddd5581 Fix crash when adding account in express mode
The settings library started using an EMailBackend object, but since
it is abstract it can't be instantiated directly. So we use the EShell
to get the mail backend for us instead, after loading the modules.
2011-06-28 15:44:45 -03:00
644214f51a Bug #653358 Do not duplicate google address book
When a GMail account check that the address book does not already
exist before creating an ESource for it, and adding it to the list.

https://bugzilla.gnome.org/show_bug.cgi?id=653358
2011-06-27 16:53:38 -03:00
38790d8478 Do not use deprecated EBook/ECal API 2011-06-14 08:54:20 +02:00
756c8abcb8 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-05-27 15:23:07 +02:00
9692758dc5 EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops.
You can obtain an EMailSession from an EMailBackend, but not vice versa.

Creates lots of pretty ripples in the mail code, but ultimately reduces
complexity.  So it's a code cleanup of sorts.
2011-05-23 21:50:50 -04:00
cb97c2dc8f Coding style and whitespace cleanup. 2011-05-21 17:56:06 -04:00
8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
4cfb84c573 Whitespace and coding style cleanups. 2011-05-07 18:48:38 -04:00
a88e617009 Rip out Anjal-specific cruft we don't need.
Need to trim off the fat if we're ever going to merge the souped up mail
account wizard.  Still a long way to go...
2011-03-27 18:38:40 -04:00
c6fd77460f Coding style and whitespace cleanup. 2011-03-05 12:34:28 -05:00
1301cf02ef Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly 2011-02-25 16:20:41 +01:00
fcb29478f6 Coding style and whitespace cleanup. 2011-02-18 20:44:24 -05:00
08c98477b9 Bug #637924 - Shows duplicate sentence while click "Back-Sending" button 2011-02-11 13:55:15 +01:00
7f62e90b69 Bug #637923 - Wrap long text in Yahoo email setup 2011-02-11 13:34:17 +01:00
2c31a5bc23 Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
2011-02-08 11:57:50 -05:00
bd7a0270f0 Bug 641003 - Build failure in mail-capplet 2011-01-31 08:00:18 -05:00
0109aa3a92 More whitespace cleanup. 2011-01-30 11:33:28 -05:00
f191531136 Bug #640536 - Warnings when adding a google account in express mode 2011-01-27 10:35:39 +01:00
309060a4e7 No more "expose-event" on GtkWidget 2011-01-25 12:06:16 -05:00
72a11da2fc Adapt gdk_window_get_geometry for gtk+-3.0
Depth parameter has been removed now.
Some other random fixes for gtk+-3.0 too.
2011-01-25 10:37:16 -05:00