diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-11-15 04:01:50 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-11-15 04:01:50 +0800 |
commit | 40711386d6bff4321c410f8dde035c2e1a8527df (patch) | |
tree | 61f7c19bbff8a6249a87bc60bd1a34dc8af01b1a /mail | |
parent | 151829030a4aa8ee9cc98438c6a809b5889f3c3e (diff) | |
download | gsoc2013-evolution-40711386d6bff4321c410f8dde035c2e1a8527df.tar gsoc2013-evolution-40711386d6bff4321c410f8dde035c2e1a8527df.tar.gz gsoc2013-evolution-40711386d6bff4321c410f8dde035c2e1a8527df.tar.bz2 gsoc2013-evolution-40711386d6bff4321c410f8dde035c2e1a8527df.tar.lz gsoc2013-evolution-40711386d6bff4321c410f8dde035c2e1a8527df.tar.xz gsoc2013-evolution-40711386d6bff4321c410f8dde035c2e1a8527df.tar.zst gsoc2013-evolution-40711386d6bff4321c410f8dde035c2e1a8527df.zip |
Removed most of the code. This is basically now a nop. Need to somehow get
2003-11-14 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-mt.c | 23 |
2 files changed, 7 insertions, 19 deletions
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 <fejj@ximian.com> + * 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 <libgnome/gnome-i18n.h> #include <gal/widgets/e-gui-utils.h> -#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; } |