aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-view.c44
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