diff options
author | ERDI Gergo <cactus@cactus.rulez.org> | 2004-01-07 22:29:08 +0800 |
---|---|---|
committer | ÉRDI Gergo <cactus@src.gnome.org> | 2004-01-07 22:29:08 +0800 |
commit | e2b0897d8088cb4c118f4564e9f6de2845de3176 (patch) | |
tree | 23af259b80ece4d26fe94085123f326e7f60582b /shell/e-activity-handler.c | |
parent | 79373d6650bfb2f10b91772e10aafcd52badfb26 (diff) | |
download | gsoc2013-evolution-e2b0897d8088cb4c118f4564e9f6de2845de3176.tar gsoc2013-evolution-e2b0897d8088cb4c118f4564e9f6de2845de3176.tar.gz gsoc2013-evolution-e2b0897d8088cb4c118f4564e9f6de2845de3176.tar.bz2 gsoc2013-evolution-e2b0897d8088cb4c118f4564e9f6de2845de3176.tar.lz gsoc2013-evolution-e2b0897d8088cb4c118f4564e9f6de2845de3176.tar.xz gsoc2013-evolution-e2b0897d8088cb4c118f4564e9f6de2845de3176.tar.zst gsoc2013-evolution-e2b0897d8088cb4c118f4564e9f6de2845de3176.zip |
Emit a hover-url signal when the user mouses over a URL, ...
2004-01-04 ERDI Gergo <cactus@cactus.rulez.org>
* 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 <cactus@cactus.rulez.org>
* 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
Diffstat (limited to 'shell/e-activity-handler.c')
-rw-r--r-- | shell/e-activity-handler.c | 24 |
1 files changed, 24 insertions, 0 deletions
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, |