From 86027d9cf0929da9aa6bbe9e3213a75f9ea36708 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 23 Jun 2001 09:42:11 +0000 Subject: Get rid of the tons of ugly Bonobo Warnings by removing the code that tried to put messages in the status bar which doesn't exist anymore. svn path=/trunk/; revision=10441 --- shell/ChangeLog | 8 ++++++++ shell/e-shell-view.c | 44 ++++---------------------------------------- 2 files changed, 12 insertions(+), 40 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 9de97b9b80..eccd3cf70d 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-06-23 Ettore Perazzoli + + * e-shell-view.c (corba_interface_set_message_cb): Replaced with + an empty stub, as the "set_message" method is going to be + deprecated. + (corba_interface_unset_message_cb): Likewise for the + "unset_message" method. + 2001-06-23 Ettore Perazzoli * e-shell.c (e_shell_construct): Set `splash' to NULL when diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index ae481cf7e3..cdff06a444 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -1086,52 +1086,16 @@ corba_interface_set_message_cb (EvolutionShellView *shell_view, gboolean busy, void *data) { - char *status; - EShellView *view; - - view = E_SHELL_VIEW (data); - - g_return_if_fail (view != NULL); - - if (message != NULL) { - const char *newline; - - newline = strchr (message, '\n'); - if (newline == NULL) - status = g_strdup (message); - else - status = g_strndup (message, newline - message); - } else { - status = g_strdup (""); - } - - bonobo_ui_component_set_status (view->priv->ui_component, status, NULL); - - g_free (status); - -#if 0 - if (busy) - start_progress_bar (E_SHELL_VIEW (data)); - else - stop_progress_bar (E_SHELL_VIEW (data)); -#endif + /* Don't do anything here anymore. The interface is going to be + deprecated soon. */ } static void corba_interface_unset_message_cb (EvolutionShellView *shell_view, void *data) { - EShellView *view; - - view = E_SHELL_VIEW (data); - - g_return_if_fail (view != NULL); - - bonobo_ui_component_set_status (view->priv->ui_component, "", NULL); - -#if 0 - stop_progress_bar (E_SHELL_VIEW (data)); -#endif + /* Don't do anything here anymore. The interface is going to be + deprecated soon. */ } static void -- cgit v1.2.3