aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-10-21 04:11:11 +0800
committerDan Winship <danw@src.gnome.org>2000-10-21 04:11:11 +0800
commit06ef60fa04a5b10f5238c9eb39ade9dc152fcb04 (patch)
treec2e7320b98c17b9969e2ed119b8c47151f194d32
parent57da605d2f486a99f949a0ce274a561e224b88b6 (diff)
downloadgsoc2013-evolution-06ef60fa04a5b10f5238c9eb39ade9dc152fcb04.tar
gsoc2013-evolution-06ef60fa04a5b10f5238c9eb39ade9dc152fcb04.tar.gz
gsoc2013-evolution-06ef60fa04a5b10f5238c9eb39ade9dc152fcb04.tar.bz2
gsoc2013-evolution-06ef60fa04a5b10f5238c9eb39ade9dc152fcb04.tar.lz
gsoc2013-evolution-06ef60fa04a5b10f5238c9eb39ade9dc152fcb04.tar.xz
gsoc2013-evolution-06ef60fa04a5b10f5238c9eb39ade9dc152fcb04.tar.zst
gsoc2013-evolution-06ef60fa04a5b10f5238c9eb39ade9dc152fcb04.zip
Declare composer factory.
* evolution-mail.oafinfo: Declare composer factory. * main.c (main): Initialize it svn path=/trunk/; revision=6079
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/GNOME_Evolution_Mail.oaf.in47
-rw-r--r--mail/GNOME_Evolution_Mail.oafinfo47
-rw-r--r--mail/evolution-mail.oafinfo47
-rw-r--r--mail/main.c2
5 files changed, 116 insertions, 33 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index fbae8149de..4d874a4210 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-10-20 Dan Winship <danw@helixcode.com>
+
+ * evolution-mail.oafinfo: Declare composer factory.
+
+ * main.c (main): Initialize it
+
2000-10-19 Chris Toshok <toshok@helixcode.com>
* message-list.c (nuke_uids): e-tree-model is now opaque. use the
diff --git a/mail/GNOME_Evolution_Mail.oaf.in b/mail/GNOME_Evolution_Mail.oaf.in
index fda8e0ed6a..81edb07292 100644
--- a/mail/GNOME_Evolution_Mail.oaf.in
+++ b/mail/GNOME_Evolution_Mail.oaf.in
@@ -38,6 +38,21 @@
</oaf_server>
+<oaf_server iid="OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b"
+ type="factory"
+ location="OAFIID:evolution-shell-component-factory:evolution-mail:0ea887d5-622b-4b8c-b525-18aa1cbe18a6">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:Evolution/ShellComponent:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ value="Evolution component for handling mail."/>
+
+ <oaf_attribute name="evolution:shell-component-icon" type="string"
+ value="evolution-inbox.png"/>
+</oaf_server>
+
<oaf_server iid="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217"
type="exe"
location="evolution-mail">
@@ -50,31 +65,41 @@
value="Factory for the Mail Summary component."/>
</oaf_server>
-<oaf_server iid="OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b"
- type="factory"
- location="OAFIID:evolution-shell-component-factory:evolution-mail:0ea887d5-622b-4b8c-b525-18aa1cbe18a6">
+<oaf_server iid="OAFIID:evolution-executive-summary-component:evolution-mail:157f86b4-ff6a-4618-86b8-4789024c4043"
+ type="factory"
+ location="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217">
<oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:Evolution/ShellComponent:1.0"/>
+ <item value="IDL:Evolution:SummaryComponent:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
- value="Evolution component for handling mail."/>
+ value="Evolution mail executive summary component."/>
+</oaf_server>
- <oaf_attribute name="evolution:shell-component-icon" type="string"
- value="evolution-inbox.png"/>
+<oaf_server iid="OAFIID:evolution-composer-factory:evolution-mail:fcfda393-60ee-485f-b782-e9323434bff3"
+ type="exe"
+ location="evolution-mail">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME:GenericFactory:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ value="Factory for the Evolution composer."/>
</oaf_server>
-<oaf_server iid="OAFIID:evolution-executive-summary-component:evolution-mail:157f86b4-ff6a-4618-86b8-4789024c4043"
+<oaf_server iid="OAFIID:evolution-composer:evolution-mail:cd8618ea-53e1-4b9e-88cf-ec578bdb903b"
type="factory"
- location="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217">
+ location="OAFIID:evolution-composer-factory:evolution-mail:fcfda393-60ee-485f-b782-e9323434bff3">
<oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:Evolution:SummaryComponent:1.0"/>
+ <item value="IDL:Evolution:Composer:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
- value="Evolution mail executive summary component."/>
+ value="Evolution mail composer."/>
</oaf_server>
+
</oaf_info>
diff --git a/mail/GNOME_Evolution_Mail.oafinfo b/mail/GNOME_Evolution_Mail.oafinfo
index fda8e0ed6a..81edb07292 100644
--- a/mail/GNOME_Evolution_Mail.oafinfo
+++ b/mail/GNOME_Evolution_Mail.oafinfo
@@ -38,6 +38,21 @@
</oaf_server>
+<oaf_server iid="OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b"
+ type="factory"
+ location="OAFIID:evolution-shell-component-factory:evolution-mail:0ea887d5-622b-4b8c-b525-18aa1cbe18a6">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:Evolution/ShellComponent:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ value="Evolution component for handling mail."/>
+
+ <oaf_attribute name="evolution:shell-component-icon" type="string"
+ value="evolution-inbox.png"/>
+</oaf_server>
+
<oaf_server iid="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217"
type="exe"
location="evolution-mail">
@@ -50,31 +65,41 @@
value="Factory for the Mail Summary component."/>
</oaf_server>
-<oaf_server iid="OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b"
- type="factory"
- location="OAFIID:evolution-shell-component-factory:evolution-mail:0ea887d5-622b-4b8c-b525-18aa1cbe18a6">
+<oaf_server iid="OAFIID:evolution-executive-summary-component:evolution-mail:157f86b4-ff6a-4618-86b8-4789024c4043"
+ type="factory"
+ location="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217">
<oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:Evolution/ShellComponent:1.0"/>
+ <item value="IDL:Evolution:SummaryComponent:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
- value="Evolution component for handling mail."/>
+ value="Evolution mail executive summary component."/>
+</oaf_server>
- <oaf_attribute name="evolution:shell-component-icon" type="string"
- value="evolution-inbox.png"/>
+<oaf_server iid="OAFIID:evolution-composer-factory:evolution-mail:fcfda393-60ee-485f-b782-e9323434bff3"
+ type="exe"
+ location="evolution-mail">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME:GenericFactory:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ value="Factory for the Evolution composer."/>
</oaf_server>
-<oaf_server iid="OAFIID:evolution-executive-summary-component:evolution-mail:157f86b4-ff6a-4618-86b8-4789024c4043"
+<oaf_server iid="OAFIID:evolution-composer:evolution-mail:cd8618ea-53e1-4b9e-88cf-ec578bdb903b"
type="factory"
- location="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217">
+ location="OAFIID:evolution-composer-factory:evolution-mail:fcfda393-60ee-485f-b782-e9323434bff3">
<oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:Evolution:SummaryComponent:1.0"/>
+ <item value="IDL:Evolution:Composer:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
- value="Evolution mail executive summary component."/>
+ value="Evolution mail composer."/>
</oaf_server>
+
</oaf_info>
diff --git a/mail/evolution-mail.oafinfo b/mail/evolution-mail.oafinfo
index fda8e0ed6a..81edb07292 100644
--- a/mail/evolution-mail.oafinfo
+++ b/mail/evolution-mail.oafinfo
@@ -38,6 +38,21 @@
</oaf_server>
+<oaf_server iid="OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b"
+ type="factory"
+ location="OAFIID:evolution-shell-component-factory:evolution-mail:0ea887d5-622b-4b8c-b525-18aa1cbe18a6">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:Evolution/ShellComponent:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ value="Evolution component for handling mail."/>
+
+ <oaf_attribute name="evolution:shell-component-icon" type="string"
+ value="evolution-inbox.png"/>
+</oaf_server>
+
<oaf_server iid="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217"
type="exe"
location="evolution-mail">
@@ -50,31 +65,41 @@
value="Factory for the Mail Summary component."/>
</oaf_server>
-<oaf_server iid="OAFIID:evolution-shell-component:evolution-mail:d3cb3ed6-a654-4337-8aa0-f443751d6d1b"
- type="factory"
- location="OAFIID:evolution-shell-component-factory:evolution-mail:0ea887d5-622b-4b8c-b525-18aa1cbe18a6">
+<oaf_server iid="OAFIID:evolution-executive-summary-component:evolution-mail:157f86b4-ff6a-4618-86b8-4789024c4043"
+ type="factory"
+ location="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217">
<oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:Evolution/ShellComponent:1.0"/>
+ <item value="IDL:Evolution:SummaryComponent:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
- value="Evolution component for handling mail."/>
+ value="Evolution mail executive summary component."/>
+</oaf_server>
- <oaf_attribute name="evolution:shell-component-icon" type="string"
- value="evolution-inbox.png"/>
+<oaf_server iid="OAFIID:evolution-composer-factory:evolution-mail:fcfda393-60ee-485f-b782-e9323434bff3"
+ type="exe"
+ location="evolution-mail">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME:GenericFactory:1.0"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="description" type="string"
+ value="Factory for the Evolution composer."/>
</oaf_server>
-<oaf_server iid="OAFIID:evolution-executive-summary-component:evolution-mail:157f86b4-ff6a-4618-86b8-4789024c4043"
+<oaf_server iid="OAFIID:evolution-composer:evolution-mail:cd8618ea-53e1-4b9e-88cf-ec578bdb903b"
type="factory"
- location="OAFIID:evolution-executive-summary-component-factory:evolution-mail:be210cba-0eee-4def-84fa-643d50321217">
+ location="OAFIID:evolution-composer-factory:evolution-mail:fcfda393-60ee-485f-b782-e9323434bff3">
<oaf_attribute name="repo_ids" type="stringv">
- <item value="IDL:Evolution:SummaryComponent:1.0"/>
+ <item value="IDL:Evolution:Composer:1.0"/>
</oaf_attribute>
<oaf_attribute name="description" type="string"
- value="Evolution mail executive summary component."/>
+ value="Evolution mail composer."/>
</oaf_server>
+
</oaf_info>
diff --git a/mail/main.c b/mail/main.c
index e21982f465..88eab84fe4 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -27,6 +27,7 @@
#include <gal/widgets/e-unicode.h>
#include "component-factory.h"
+#include "composer/evolution-composer.h"
#include "mail.h"
static int blowup(int status)
@@ -79,6 +80,7 @@ main (int argc, char *argv [])
e_cursors_init ();
component_factory_init ();
+ evolution_composer_factory_init ();
signal (SIGSEGV, SIG_DFL);
signal (SIGBUS, SIG_DFL);