From 3c075e5ac84195117f546c780c2c95df4e7da3bf Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 19 Oct 2000 03:17:26 +0000 Subject: cripple, not worth updating to new UI code. 2000-10-18 Michael Meeks * notes/component-factory.c (control_activate, control_deactivate), (create_view): cripple, not worth updating to new UI code. svn path=/trunk/; revision=6021 --- notes/component-factory.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/notes/component-factory.c b/notes/component-factory.c index dcdefa2216..df7d14c129 100644 --- a/notes/component-factory.c +++ b/notes/component-factory.c @@ -28,6 +28,8 @@ static GnomeUIInfo gnome_toolbar [] = { GNOMEUIINFO_END }; +#ifdef THIS_NEEDS_UPDATING_FOR_NEW_BONOBOS + static void control_deactivate (BonoboControl *control, BonoboUIHandler *uih) { @@ -83,7 +85,7 @@ control_activate_cb (BonoboControl *control, else control_deactivate (control, uih); } - +#endif static BonoboControl * create_view (EvolutionShellComponent *shell_component, @@ -94,8 +96,10 @@ create_view (EvolutionShellComponent *shell_component, control = notes_factory_new_control (); +#ifdef THIS_CODE_IS_TOTALY_DEAD gtk_signal_connect (GTK_OBJECT (control), "activate", control_activate_cb, NULL); +#endif return control; -- cgit