aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2002-03-19 21:25:33 +0800
committerIain Holmes <iain@src.gnome.org>2002-03-19 21:25:33 +0800
commit84e13e55846950db7a5ab1debebdf9e3fd977343 (patch)
tree70929a45e6c411730f4c2c40a0432e398768966b /my-evolution/e-summary.c
parent02b379173a834e87d0db9ba141e725f26c1ed1cb (diff)
downloadgsoc2013-evolution-84e13e55846950db7a5ab1debebdf9e3fd977343.tar
gsoc2013-evolution-84e13e55846950db7a5ab1debebdf9e3fd977343.tar.gz
gsoc2013-evolution-84e13e55846950db7a5ab1debebdf9e3fd977343.tar.bz2
gsoc2013-evolution-84e13e55846950db7a5ab1debebdf9e3fd977343.tar.lz
gsoc2013-evolution-84e13e55846950db7a5ab1debebdf9e3fd977343.tar.xz
gsoc2013-evolution-84e13e55846950db7a5ab1debebdf9e3fd977343.tar.zst
gsoc2013-evolution-84e13e55846950db7a5ab1debebdf9e3fd977343.zip
Move the preferences from a per-view setting to a global setting
svn path=/trunk/; revision=16205
Diffstat (limited to 'my-evolution/e-summary.c')
-rw-r--r--my-evolution/e-summary.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index 2b85958f74..f5945aeda2 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -494,8 +494,6 @@ e_summary_init (ESummary *summary)
priv->protocol_hash = NULL;
priv->connections = NULL;
- e_summary_preferences_init (summary);
-
CORBA_exception_init (&ev);
db = bonobo_get_object ("wombat:", "Bonobo/ConfigDatabase", &ev);
if (BONOBO_EX (&ev) || db == CORBA_OBJECT_NIL) {
@@ -529,13 +527,16 @@ E_MAKE_TYPE (e_summary, "ESummary", ESummary, e_summary_class_init,
e_summary_init, PARENT_TYPE);
GtkWidget *
-e_summary_new (const GNOME_Evolution_Shell shell)
+e_summary_new (const GNOME_Evolution_Shell shell,
+ ESummaryPrefs *prefs)
{
ESummary *summary;
summary = gtk_type_new (e_summary_get_type ());
summary->shell = shell;
-
+ /* Just get a pointer to the global preferences */
+ summary->preferences = prefs;
+
e_summary_add_protocol_listener (summary, "evolution", e_summary_evolution_protocol_listener, summary);
e_summary_mail_init (summary, shell);