From 40711386d6bff4321c410f8dde035c2e1a8527df Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 14 Nov 2003 20:01:50 +0000 Subject: Removed most of the code. This is basically now a nop. Need to somehow get 2003-11-14 Jeffrey Stedfast * mail-mt.c (set_stop): Removed most of the code. This is basically now a nop. Need to somehow get the uic and fix this. svn path=/trunk/; revision=23361 --- mail/ChangeLog | 3 +++ mail/mail-mt.c | 23 ++++------------------- 2 files changed, 7 insertions(+), 19 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 32c12a7581..240eb65ce5 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2003-11-14 Jeffrey Stedfast + * mail-mt.c (set_stop): Removed most of the code. This is + basically now a nop. Need to somehow get the uic and fix this. + * folder-browser-factory.[c,h]: Removed. * mail-component.c (folder_selected_cb): Don't create a new view diff --git a/mail/mail-mt.c b/mail/mail-mt.c index cb75fe93bf..b9e0df4cb8 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -17,7 +17,6 @@ #include #include -#include "folder-browser-factory.h" #include "e-util/e-msgport.h" #include "camel/camel-operation.h" @@ -996,27 +995,13 @@ mail_operation_status (struct _CamelOperation *op, const char *what, int pc, voi /* ******************** */ static void -set_stop(int sensitive) +set_stop (int sensitive) { - EList *controls; - EIterator *it; static int last = FALSE; - + if (last == sensitive) return; - - controls = folder_browser_factory_get_control_list (); - for (it = e_list_get_iterator (controls); e_iterator_is_valid (it); e_iterator_next (it)) { - BonoboControl *control; - BonoboUIComponent *uic; - - control = BONOBO_CONTROL (e_iterator_get (it)); - uic = bonobo_control_get_ui_component (control); - if (uic == CORBA_OBJECT_NIL || bonobo_ui_component_get_container(uic) == CORBA_OBJECT_NIL) - continue; - - bonobo_ui_component_set_prop(uic, "/commands/MailStop", "sensitive", sensitive?"1":"0", NULL); - } - g_object_unref(it); + + /*bonobo_ui_component_set_prop (uic, "/commands/MailStop", "sensitive", sensitive ? "1" : "0", NULL);*/ last = sensitive; } -- cgit v1.2.3