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 | |
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')
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | 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,5 +1,13 @@ 2001-06-23 Ettore Perazzoli <ettore@ximian.com> + * 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 <ettore@ximian.com> + * e-shell.c (e_shell_construct): Set `splash' to NULL when @show_splash is false, so the compiler doesn't complain. 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 |