From c0c98fc178b604a10c4b15d3ff1c73b50ccf8d6f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 11 May 2004 19:29:49 +0000 Subject: Remove the mail folder control factory * GNOME_Evolution_Mail.server.in.in: Remove the mail folder control factory * mail-component-factory.c (factory): Remove support for the mail folder control * mail-component.c: Remove the property bag stuff (mail_control_new): Gone svn path=/trunk/; revision=25858 --- mail/ChangeLog | 11 ++++++ mail/GNOME_Evolution_Mail.server.in.in | 15 -------- mail/mail-component-factory.c | 3 -- mail/mail-component.c | 68 ---------------------------------- mail/mail-component.h | 2 - 5 files changed, 11 insertions(+), 88 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index e3abdd617c..cdd72b130e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,14 @@ +2004-05-11 Dan Winship + + * GNOME_Evolution_Mail.server.in.in: Remove the mail folder + control factory + + * mail-component-factory.c (factory): Remove support for the mail + folder control + + * mail-component.c: Remove the property bag stuff + (mail_control_new): Gone + 2004-05-10 David Malcolm * em-subscribe-editor.c (sub_queue_fill_level): Fixed warning diff --git a/mail/GNOME_Evolution_Mail.server.in.in b/mail/GNOME_Evolution_Mail.server.in.in index eaca251026..8ddebd765a 100644 --- a/mail/GNOME_Evolution_Mail.server.in.in +++ b/mail/GNOME_Evolution_Mail.server.in.in @@ -76,21 +76,6 @@ _value="Evolution Mail composer"/> - - - - - - - - - - - - folder_uri) - BONOBO_ARG_SET_STRING (arg, view->folder_uri); - else - BONOBO_ARG_SET_STRING (arg, ""); - break; - default: - g_warning ("Unhandled arg %d\n", arg_id); - } -} - static int check_autosave(void *data) { @@ -850,38 +814,6 @@ mail_component_init (MailComponent *component) } /* Public API. */ -BonoboControl * -mail_control_new (void) -{ - BonoboControl *view_control; - GtkWidget *view_widget; - BonoboPropertyBag *pbag; - - view_widget = em_folder_browser_new (); - em_folder_view_set_statusbar ((EMFolderView *) view_widget, FALSE); - gtk_widget_show (view_widget); - - view_control = bonobo_control_new (view_widget); - pbag = bonobo_property_bag_new (get_prop, set_prop, view_control); - - bonobo_property_bag_add (pbag, - PROPERTY_FOLDER_URI, - PROPERTY_FOLDER_URI_IDX, - BONOBO_ARG_STRING, - NULL, - _("URI of the mail source that the view will display"), - 0); - - bonobo_control_set_properties (view_control, - bonobo_object_corba_objref (BONOBO_OBJECT (pbag)), - NULL); - bonobo_object_unref (BONOBO_OBJECT (pbag)); - - g_signal_connect (view_control, "activate", G_CALLBACK (view_control_activate_cb), view_widget); - - return view_control; -} - MailComponent * mail_component_peek (void) { diff --git a/mail/mail-component.h b/mail/mail-component.h index adedf00ba3..806b53263e 100644 --- a/mail/mail-component.h +++ b/mail/mail-component.h @@ -64,8 +64,6 @@ struct _MailComponentClass { GType mail_component_get_type (void); -struct _BonoboControl *mail_control_new(void); - MailComponent *mail_component_peek (void); /* NOTE: Using NULL as the component implies using the default component */ -- cgit