Commit Graph

65 Commits

Author SHA1 Message Date
7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
c24038c4f6 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-06-29 18:42:20 +02:00
696ccbe4f8 Reimplement part of the "templates" plugin.
Now uses camel_folder_get_message().
2011-06-29 18:42:15 +02:00
1a75a7d808 Miscellaneous cleanups. 2011-06-29 18:42:15 +02:00
6693730cc1 Add a 'message_uid' param to em_utils_edit_message().
So we can remove the internal edit_message() function and do the work
directly in em_utils_edit_message().
2011-06-29 18:42:12 +02:00
54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
578214584c Whitespace and coding style cleanups. 2011-06-29 18:42:10 +02:00
708ce51377 Adapt to CamelFolderInfo.name -> display_name. 2011-06-29 18:42:10 +02:00
2abbff4651 Bug #641845 - Add default expansion variables to templates plugin
Users can read values from original message in the template
by $ORIG[header] and with a special value $ORIG[body].
2011-06-29 18:41:57 +02:00
a4e2599f95 Fix few memory leaks 2011-06-29 18:41:35 +02:00
c36bd27fa8 Bug #634403 - Mails Label popup menu is not updated properly 2011-06-29 18:41:20 +02:00
824a754c58 Bug #633854 - [templates] Crash in build_template_menus_recurse 2011-06-29 18:41:15 +02:00
1182cdfec8 Avoid a crash when building templates menu. 2011-06-29 18:41:07 +02:00
58727dbb22 Kill mail_append_mail().
Use e_mail_folder_append_message() instead.
2010-11-09 23:33:19 +01:00
ae478d1e3c Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch].

Also, the glib-gen.mak script forced me to add a <mail/e-mail.h>
top-level header, which really isn't a bad idea anyway.

TODO: We should do this for calendar and addressbook too.
2010-10-18 14:31:16 -04:00
4118d671d4 Composer: Show cancellable operations and errors inline.
'Send' and 'Save Draft' are now asynchronous and run outside of
Evolution's MailMsg infrastructure.

Add an EActivityBar to the composer window so these asynchronous
operations can be tracked and cancelled even in the absense of a main
window.  Also add an EAlertBar to the composer window so error messages
can be shown directly in the window.

Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit()
and pass the EMsgComposer as the widget argument.  The EMsgComposer will
decide whether to show an EAlertDialog or use the EAlertBar, depending
on the GtkMessageType of the alert.
2010-10-12 13:59:00 -04:00
a06e4484b8 Give MailSession a permanent home.
Global variables in shared libraries are a bad idea.  EMailBackend now
owns the MailSession instance, which is actually now EMailSession.

Move the blocking utility functions in mail-tools.c to e-mail-session.c
and add asynchronous variants.  Same approach as Camel.

Replace EMailReader.get_shell_backend() with EMailReader.get_backend(),
which returns an EMailBackend.  Easier access to the EMailSession.
2010-10-12 13:58:59 -04:00
31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
035fbcd841 Composer autosave cleanups.
This simplifies the async autosave logic and improves error handling.

Hoping this will solve bug #616987 but I've yet to reproduce it myself.
2010-08-30 14:26:00 -04:00
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
137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
aec33928b7 Adapt to Camel API changes. 2010-04-30 11:30:19 -04:00
bc90469e7f Camel is now GObject-based. 2010-04-24 11:05:27 -04:00
96421ff37c Use accessor functions instead direct access (GSEAL work)
Still remaining:
GtkAccessible::widget
GtkAssistant::forward
GtkAssistant::back
GtkObject::flags
GtkTreeStore::stamp

The GtkAssistant fields are related to bug #596428.  We don't
need accessor functions so much as the enhancement described
there implemented.

https://bugzilla.gnome.org/show_bug.cgi?id=615613
2010-04-13 16:23:16 +02:00
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
fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
c4cde23066 Actually respect the --disable-schemas-install configure option 2010-03-15 14:51:13 +01:00
48462592cb Add a EShellWindow::shell-view-created signal.
The signal uses the name of the newly created shell view as the detail,
so for example "shell-view-created::mail" is emitted when the "mail"
view is created.

Also, add e_shell_window_peek_shell_view() to obtain a shell view if it
exists but without instantiating it.

Using these new tools, teach the templates plugin to wait for the user
to switch to the "mail" view before connecting to its "update-actions"
signal.  Previously is was instantiating the "mail" view itself.
2010-01-22 11:46:34 -05:00
59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
859c8b5a8f Bug #603342 - Memory leak fixes 2009-12-15 11:12:41 +01:00
5e938b590f Expand the EMailReader interface so it's easier to use.
Adds the following methods:

  CamelFolder *   (*get_folder)          (EMailReader *reader);
  const gchar *   (*get_folder_uri)      (EMailReader *reader);
  GPtrArray *     (*get_selected_uids)   (EMailReader *reader);
2009-12-01 15:01:14 -05:00
d94534c367 Merge bits and pieces of the anjal-evo-2-30 branch. 2009-11-30 18:34:38 -05:00
c2ee0afbc8 Rename EError to EAlert to match general use better
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.

This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
054c088169 Bug 589153 - Use GtkBuilder instead of libglade 2009-11-16 19:33:32 -05:00
214f3a8038 Bug 600926 - Fails to build due to missing dependencies 2009-11-09 19:11:03 -05:00
a952dca522 Bug #575208 - Use complete template message with all attachments 2009-10-23 22:28:56 +02:00
f62728b55e Bug 596848 - Use per-target CPPFLAGS in automake files 2009-09-30 23:37:50 -04:00
acb28fef9d Goodbye libgnome and libgnomeui!! 2009-09-18 12:34:47 -04:00
959ebe30bd Bug 594284 - FTBFS: missing links 2009-09-06 08:33:56 -04:00
fddcc93ac6 Cleanup up templates using EPluginUI callback feature. 2009-09-01 15:51:00 -04:00
7d37241d11 Bug 593675 - Freeze on startup 2009-08-31 20:00:45 -04:00
672adf12a0 Fix compiler warnings and deprecated GTK+ API usage. 2009-08-16 11:42:26 -04:00
81884fbeae Remove debug messages. 2009-08-10 10:51:06 -04:00
45d475c31b Kill EMMenu and EMPopup.
Also finish adapting Templates plugin to EPluginUI.
It was still leaning pretty hard on EMPopup.
2009-08-10 10:32:03 -04:00
374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
bfc5ba2511 Fix "make distcheck" errors and other build cleanups. 2009-06-30 18:34:08 -04:00
af91eb424b Get the "templates" plugin working again. 2009-06-24 23:10:57 -04:00
433eac7844 More code cleanup. 2009-06-02 10:35:03 -04:00