Commit Graph

250 Commits

Author SHA1 Message Date
Matthew Barnes d00c445e8e Bug 588851 - Don't show unsubscribe option for local folders 2010-10-05 08:39:36 -04:00
Matthew Barnes 9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
Matthew Barnes a69cbcd79a Bug 510020 - Add "Manage Subscriptions" to store context menus 2010-10-03 09:39:10 -04:00
Matthew Barnes ec089b4a41 Rewrite the folder subscription editor.
Redesign the "Folder Subscriptions" dialog and use Camel's async API
instead of the MailMsg infrastructure to simplify the implementation.
2010-10-02 15:22:07 -04:00
Matthew Barnes e41b4083a6 camel_operation_new() now returns a GCancellable pointer. 2010-09-29 09:33:36 -04:00
Milan Crha a28f6db7fc Bug #629266 - Crash on search in Current Account 2010-09-29 11:02:35 +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 afe6f502c3 Use new GDK keysym names if available.
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.

I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
2010-09-17 18:39:59 -04:00
Matthew Barnes 5310e4a0b1 Adapt to CamelOperation API changes. 2010-09-14 23:48:02 -04:00
Matthew Barnes c7f5d54cb7 Kill the subject-thread plugin.
All this time I never realized the subject-thread plugin was nothing
more than a stupid checkbox.  The actual thread-by-subject code lives
in the core mail library.
2010-09-14 14:56:15 -04:00
Matthew Barnes 95fe925630 Fix a crapload of run-time warnings.
EConfig and EMAccountEditor are very, very brittle.
2010-09-14 13:49:08 -04:00
Matthew Barnes 2798ae38f4 mail-config.ui cleanups.
- Fix GtkVBox orientations.
- Reduce container widgets.
- Remove unused widgets.
2010-09-13 08:28:59 -04:00
Matthew Barnes e7247d6d60 Remove uninteresting mail options from Preferences.
Remove some options from Mail Preferences that aren't worth the screen
real estate they take up.  For now, the corresponding GConf keys still
remain and are honored by Evolution.  These same options were already
removed for Express mode.

Options removed are:

[ ] Mark messages as read after XXX seconds

[ ] Do not display messages when text size exceeds XXX KB

[ ] Shrink To / Cc / Bcc headers to XXX addresses

[ ] Enable Magic Spacebar

[ ] Enable Search Folders
2010-09-13 08:28:59 -04:00
Milan Crha aa61df9527 Bug #580623 - Mishandling of evolution's proxy ignore_hosts key 2010-09-03 12:04:03 +02:00
Matthew Barnes 429234ff21 Convert composer autosave to an EExtension.
Given the way the autosave feature was awkwardly bolted on to the
composer, an EExtension seemed like a natural fit.  And it helped
clean up some object lifecycle hacks (and bugs).

What we have now is a new module consisting of two EExtensions:

   EComposerAutosave extends EMsgComposer and determines when to
   kick off an asynchronous autosave operation.

   EComposerRegistry extends EShell and offers to restore orphaned
   autosave files on startup (which is also asynchronous now).

e-autosave-utils.c holds the actual asynchronous functions and a few
other miscellaneous utility functions.

Source code for the new module lives in /modules/composer-autosave.
2010-09-02 13:37:31 -04:00
Matthew Barnes 4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
Matthew Barnes 935bc4be07 Bug 628141 - Duplicate signal connections in EMailReader
EMailShellContent implements the EMailReader interface but acts as a
proxy for EMailPanedView, from which it obtains MessageList and EWebView
widgets.  The problem was both classes call e_mail_reader_init_private()
which connects to signals emitted from the MessageList and EWebView
widgets.  But since EMailShellContent is a proxy for EMailPanedView,
the signals were being connected twice.

This commit does away with e_mail_reader_init_private(), instead adding
options to e_mail_reader_init() to control what parts of initialization
to run.  It's an ugly and temporary hack.

I'm beginning to realize EMailReader is too bloated and needs rethought.
EMailReader should just manage actions.  EMailView should own and manage
the widgets, and EMailReader should just have a get_mail_view() method
so it has access to those widgets.  That way the EMailView subclasses
won't have to implement EMailReader themselves and wind up allocating
a bunch of duplicate, unused actions.

It's too close to a stable release to rip these interfaces apart and
reorganize them.  I'll try to do that for 2.33 to help make the design
more intuitive.
2010-08-27 15:44:25 -04:00
Matthew Barnes 87a3fac95c Mail module + EMailView cleanups. 2010-08-26 13:14:01 -04:00
Matthew Barnes ecf3434da0 GObject boilerplate cleanup.
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.

This is just a start... lots more to do.
2010-08-24 14:37:02 -04:00
Michael Meeks acb73cd105 Fix more non-removal of signals on user_data object distruction by
using g_signal_connect_object in many places; fixes bgo#627525#
2010-08-20 20:04:37 +01:00
Matthew Barnes 4e9050bc1e Whitespace and coding style cleanup. 2010-08-13 21:32:32 -04:00
Matthew Barnes 8f7b23276d Fix a runtime warning. 2010-08-13 21:00:35 -04:00
Matthew Barnes 6cb0cbd0be Pass an EShell to EMsgComposer instances.
Reduce the composer's dependency on e_shell_get_default().
2010-08-13 20:56:33 -04:00
Michael Meeks 18813ccd8f Defer the load / creation of configuration UI with changes to
e_preferences_window to take factory callbacks and store a reference
to the shell. - This makes start-up substantially faster, particularly
on Atom (eg.).

Remove a number of idle handlers used to create these UIs in the
first instance, cleaning the code.
2010-08-10 21:17:40 +01:00
Matthew Barnes 36b9debed0 More code cleanup. 2010-07-26 12:26:55 -04:00
Matthew Barnes 9279429501 Drop the "quote-from-selection" property.
David's solution is simpler: check if the HTML widget is mapped.
Avoids having to propagate the property to Srini's new classes.
2010-07-26 07:40:48 -04:00
Matthew Barnes 81e5428a59 Coding style and whitespace cleanup. 2010-07-26 01:16:42 -04:00
Srinivasa Ragavan 21f5bfa2ab Fix right click issues. 2010-07-25 21:30:01 -04:00
Srinivasa Ragavan fa7a4af975 Add switch for tab & non-tab mode. 2010-07-25 21:30:01 -04:00
Srinivasa Ragavan b9564c4d01 Add folder pane for tabbed browser. 2010-07-25 21:29:59 -04:00
Srinivasa Ragavan 75de89ef04 Make the update-actions work across tabs. 2010-07-25 21:29:59 -04:00
Srinivasa Ragavan 34900a5909 More bug fixes. 2010-07-25 21:29:59 -04:00
Srinivasa Ragavan 10df2a43b8 Add EMailReader i/f recurrsive from tne Content. 2010-07-25 21:29:59 -04:00
Srinivasa Ragavan 9097741700 Rewrite the content piece of evolution. 2010-07-25 21:29:59 -04:00
David Woodhouse 51a41db621 Add nag popup when mailing list hijacks private reply with Reply-To: header 2010-07-15 17:20:16 +01:00
David Woodhouse 21b0925061 Change 'Reply to All' toolbar button into configurable 'Group Reply'
...with a dropdown menu like the Forward button, and configuration for
whether it tries to do 'Reply to List' by default.
2010-07-15 16:48:45 +01:00
David Woodhouse 1e6adfccc8 Add support for ignoring mailing list Reply-To: headers 2010-07-15 16:48:45 +01:00
David Woodhouse 8b8fdabfa6 Warn on reply-to-all with too many recipients 2010-07-15 16:48:45 +01:00
David Woodhouse 0f7b73d639 Bug 624204 - Warn when replying privately to a mailing list message 2010-07-15 16:48:45 +01:00
Matthew Barnes a972d9ab59 Bug 624285 - When replying, ignore text selection if preview is hidden 2010-07-13 19:30:20 -04:00
Matthew Barnes 78bf9d9d70 Bug 624128 - Folder -> Subscriptions is always enabled 2010-07-12 11:26:47 -04:00
Matthew Barnes 137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
Matthew Barnes 71e92f3f2c EShellContent: Add a focus_search_results() method.
This gives EShellSearchbar something concrete to call to direct focus
away from itself instead of tabbing forward and hoping for the best.
2010-06-24 20:42:09 -04:00
Matthew Barnes 5d0878967e Coding style and whitespace cleanup. 2010-06-20 08:06:19 -04:00
Matthew Barnes 0439c01a9a Bug 616724 - Initialize message window with threaded state of main window 2010-06-19 11:39:49 -04:00
Jonathon Jongsma 524a26232b Bug 619098 - mail_shell_backend_sync_store_cb() has wrong signature 2010-06-18 10:34:19 -04:00
Matthew Barnes 8dc6fd1344 Bug 621839 - Improve auto-selection of messages 2010-06-17 00:12:04 -04:00
Chenthill Palanisamy b5b45ab7e8 Bug 501534 - apply new customized view to all folders 2010-06-08 17:26:52 +05:30
Matthew Barnes a15a295323 Bug 620602 - Next/prev shortcuts should focus message list 2010-06-05 13:52:25 -04:00