From e2b0897d8088cb4c118f4564e9f6de2845de3176 Mon Sep 17 00:00:00 2001 From: ERDI Gergo Date: Wed, 7 Jan 2004 14:29:08 +0000 Subject: Emit a hover-url signal when the user mouses over a URL, ... 2004-01-04 ERDI Gergo * em-folder-view.c (emfv_on_url_cb): Emit a hover-url signal when the user mouses over a URL, ... (emfv_hover_url_impl): ... and use BonoboUI to change the status bar message... (em_folder_view_set_statusbar): ... unless we are asked not to, ... * mail-component.c (impl_createControls): ... like in the case of the mail component, ... (view_hover_url_cb): ... that uses the ActivityHandler to do the same Add these together, and #127536 is neatly solved. 2004-01-05 ERDI Gergo * e-task-bar.c (init): Create a separate label to the left of the progress messages... (e_task_bar_message): ...and allow components to set it... * e-activity-handler.c (e_activity_handler_message): ...through this new ActivityHandler method svn path=/trunk/; revision=24086 --- shell/e-activity-handler.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'shell/e-activity-handler.c') diff --git a/shell/e-activity-handler.c b/shell/e-activity-handler.c index a6900edd93..d64bcd8f6e 100644 --- a/shell/e-activity-handler.c +++ b/shell/e-activity-handler.c @@ -279,6 +279,30 @@ e_activity_handler_new (void) return g_object_new (e_activity_handler_get_type (), 0); } +void +e_activity_handler_set_message (EActivityHandler *activity_handler, + const char *message) +{ + EActivityHandlerPrivate *priv; + GSList *i; + + priv = activity_handler->priv; + + for (i = priv->task_bars; i; i = i->next) + e_task_bar_set_message (E_TASK_BAR (i->data), message); +} + +void +e_activity_handler_unset_message (EActivityHandler *activity_handler) +{ + EActivityHandlerPrivate *priv; + GSList *i; + + priv = activity_handler->priv; + + for (i = priv->task_bars; i; i = i->next) + e_task_bar_unset_message (E_TASK_BAR (i->data)); +} void e_activity_handler_attach_task_bar (EActivityHandler *activity_handler, -- cgit