aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-13 03:01:33 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-13 03:01:33 +0800
commitf4d9a26f99304d0fed83289bb6411e3a14a01ef7 (patch)
tree0671bd5d51968fd9c49e927053947123bf1234c8 /mail
parent6bffa31112ca78585f3528bbd2ad52b84231e3f4 (diff)
downloadgsoc2013-evolution-f4d9a26f99304d0fed83289bb6411e3a14a01ef7.tar
gsoc2013-evolution-f4d9a26f99304d0fed83289bb6411e3a14a01ef7.tar.gz
gsoc2013-evolution-f4d9a26f99304d0fed83289bb6411e3a14a01ef7.tar.bz2
gsoc2013-evolution-f4d9a26f99304d0fed83289bb6411e3a14a01ef7.tar.lz
gsoc2013-evolution-f4d9a26f99304d0fed83289bb6411e3a14a01ef7.tar.xz
gsoc2013-evolution-f4d9a26f99304d0fed83289bb6411e3a14a01ef7.tar.zst
gsoc2013-evolution-f4d9a26f99304d0fed83289bb6411e3a14a01ef7.zip
Make MailSession available through EShellSettings so composer can use it.
svn path=/branches/kill-bonobo/; revision=37257
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-shell-module-settings.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/e-mail-shell-module-settings.c b/mail/e-mail-shell-module-settings.c
index e3d77e6a82..e657296de3 100644
--- a/mail/e-mail-shell-module-settings.c
+++ b/mail/e-mail-shell-module-settings.c
@@ -26,6 +26,7 @@
#include "e-util/e-signature-list.h"
#include "mail/e-mail-label-list-store.h"
+#include "mail/mail-session.h"
void
e_mail_shell_module_init_settings (EShell *shell)
@@ -53,6 +54,17 @@ e_mail_shell_module_init_settings (EShell *shell)
shell_settings, "mail-label-list-store", object);
g_object_unref (object);
+ e_shell_settings_install_property (
+ g_param_spec_pointer (
+ "mail-session",
+ NULL,
+ NULL,
+ G_PARAM_READWRITE));
+
+ camel_object_ref (session);
+ e_shell_settings_set_pointer (
+ shell_settings, "mail-session", session);
+
/*** Mail Preferences ***/
e_shell_settings_install_property (