diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-23 17:42:11 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-23 17:42:11 +0800 |
commit | 86027d9cf0929da9aa6bbe9e3213a75f9ea36708 (patch) | |
tree | 0f07e0c14992681cece85f3442632bb37b6b43fc /shell/e-shell-view.c | |
parent | 91cc026904ed4cef8baf2e376940a850d02865ae (diff) | |
download | gsoc2013-evolution-86027d9cf0929da9aa6bbe9e3213a75f9ea36708.tar.gz gsoc2013-evolution-86027d9cf0929da9aa6bbe9e3213a75f9ea36708.tar.zst gsoc2013-evolution-86027d9cf0929da9aa6bbe9e3213a75f9ea36708.zip |
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
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 44 |
1 files changed, 4 insertions, 40 deletions
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 |