diff options
author | Not Zed <NotZed@Ximian.com> | 2003-01-09 20:17:19 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-01-09 20:17:19 +0800 |
commit | 6e9cb1e2bf29610e0d111572e72244b11542cc8d (patch) | |
tree | 21db40dbfab1d71cd0316457ed3679f362bef96f /mail/folder-info.c | |
parent | 45d0c39700d2d6ee12f45c17778d69f3119ba078 (diff) | |
download | gsoc2013-evolution-6e9cb1e2bf29610e0d111572e72244b11542cc8d.tar.gz gsoc2013-evolution-6e9cb1e2bf29610e0d111572e72244b11542cc8d.tar.zst gsoc2013-evolution-6e9cb1e2bf29610e0d111572e72244b11542cc8d.zip |
Added druidpagestart1 to the pages list. (construct): Change the limits on
2003-01-09 Not Zed <NotZed@Ximian.com>
* mail-config-druid.c: Added druidpagestart1 to the pages list.
(construct): Change the limits on the page initialisation, and
widget_show_all on the page rather than the content.
* GNOME_Evolution_Mail.server.in.in: Make Mail a shlib component.
* folder-info.c (evolution_folder_info_factory_init): Removed.
(evolution_folder_info_factory_fn): renamed to evolution_folder_info_new().
* mail-config-druid.c (evolution_mail_config_wizard_factory_fn):
Renamed to evolution_mail_config_wizard_new().
(evolution_mail_config_wizard_init): Removed.
* mail-config-factory.c (mail_config_register_factory): Remove.
(config_control_factory_cb): make this public.
* Makefile.am: setup evolution-mail as a shared library.
* component-factory.c (make_factory): implement the bonobo-plugin
factory for shlib operation. Also, preliminary work to setup mailer-specific
(factory): Implement the factory which starts various components.
* mail-config.c (xml_get_prop): g_free->xmlFree
(account_to_xml): copy xml memory to glib memory when adding the 0
on the end of the string.
(accounts_save): Use slightly different logic with appending to
the tail of the list, we can't use the &node trick with gslists.
(accounts_changed): Same here.
svn path=/trunk/; revision=19362
Diffstat (limited to 'mail/folder-info.c')
-rw-r--r-- | mail/folder-info.c | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/mail/folder-info.c b/mail/folder-info.c index 5dda928863..3e2d8eb785 100644 --- a/mail/folder-info.c +++ b/mail/folder-info.c @@ -10,8 +10,6 @@ #include <config.h> #endif -#include "folder-info.h" - #include "Mailer.h" #include <glib.h> @@ -22,6 +20,8 @@ #include <bonobo/bonobo-context.h> #include <bonobo/bonobo-exception.h> +#include "folder-info.h" + #include "mail.h" #include "mail-mt.h" #include "mail-tools.h" @@ -139,7 +139,7 @@ mail_get_info (const char *foldername, m = mail_msg_new (&get_info_op, NULL, sizeof (*m)); -/* g_print ("Folder: %s", foldername); */ + /*g_print ("Folder: %s", foldername);*/ m->foldername = g_strdup (foldername); CORBA_exception_init (&ev); @@ -225,10 +225,8 @@ get_prop (BonoboPropertyBag *bag, } } -static BonoboObject * -evolution_folder_info_factory_fn (BonoboGenericFactory *factory, - const char *id, - void *closure) +BonoboObject * +evolution_folder_info_new (void) { EvolutionFolderInfo *info; BonoboPropertyBag *pb; @@ -251,27 +249,6 @@ evolution_folder_info_factory_fn (BonoboGenericFactory *factory, return BONOBO_OBJECT (info); } -gboolean -evolution_folder_info_factory_init (void) -{ - BonoboGenericFactory *factory; - - folder_infos = NULL; - ready = FALSE; - - factory = bonobo_generic_factory_new (FOLDER_INFO_IID, - evolution_folder_info_factory_fn, - NULL); - - if (factory == NULL) { - g_warning ("Error starting FolderInfo"); - return FALSE; - } - - bonobo_running_context_auto_exit_unref (BONOBO_OBJECT (factory)); - return TRUE; -} - void evolution_folder_info_notify_ready (void) { |