diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-24 21:13:50 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-06-24 21:13:50 +0800 |
commit | ea40bb0823d313579eb992f441d6fd08f7ef23a7 (patch) | |
tree | 36eaa395508d25f0c8ae26d56ed0ddf44f40793d /shell/e-activity-handler.c | |
parent | 5b52672a1524bd6fda554c2abab496f856a5bbee (diff) | |
download | gsoc2013-evolution-ea40bb0823d313579eb992f441d6fd08f7ef23a7.tar.gz gsoc2013-evolution-ea40bb0823d313579eb992f441d6fd08f7ef23a7.tar.zst gsoc2013-evolution-ea40bb0823d313579eb992f441d6fd08f7ef23a7.zip |
Added an EvolutionActivityClient object to libeshell, to handle
updating of progress information from the component's side. This
object allows to automatically set a lower limit to the delay between
CORBA calls towards the shell, so that the component isn't slowed down
too much by doing too frequent updates.
Also changed the test component to use this instead of doing CORBA
calls directly.
svn path=/trunk/; revision=10449
Diffstat (limited to 'shell/e-activity-handler.c')
-rw-r--r-- | shell/e-activity-handler.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/shell/e-activity-handler.c b/shell/e-activity-handler.c index 4ae3e0ccde..09342b1af4 100644 --- a/shell/e-activity-handler.c +++ b/shell/e-activity-handler.c @@ -42,7 +42,7 @@ static BonoboXObjectClass *parent_class = NULL; struct _ActivityInfo { GdkPixbuf *icon_pixbuf; - GNOME_Evolution_Activity_ActivityID id; + GNOME_Evolution_Activity_ActivityId id; CORBA_char *information; CORBA_boolean cancellable; Bonobo_Listener event_listener; @@ -51,7 +51,7 @@ struct _ActivityInfo { typedef struct _ActivityInfo ActivityInfo; struct _EActivityHandlerPrivate { - GNOME_Evolution_Activity_ActivityID next_activity_id; + GNOME_Evolution_Activity_ActivityId next_activity_id; GList *activity_infos; GSList *task_bars; }; @@ -113,7 +113,7 @@ get_new_activity_id (EActivityHandler *activity_handler) static GList * lookup_activity (GList *list, - GNOME_Evolution_Activity_ActivityID activity_id, + GNOME_Evolution_Activity_ActivityId activity_id, int *order_number_return) { GList *p; @@ -137,7 +137,7 @@ lookup_activity (GList *list, /* Creating and destroying ActivityInfos. */ static ActivityInfo * -activity_info_new (GNOME_Evolution_Activity_ActivityID id, +activity_info_new (GNOME_Evolution_Activity_ActivityId id, GdkPixbuf *icon, const CORBA_char *information, CORBA_boolean cancellable, @@ -256,7 +256,7 @@ impl_operationStarted (PortableServer_Servant servant, const CORBA_char *information, const CORBA_boolean cancellable, const Bonobo_Listener event_listener, - GNOME_Evolution_Activity_ActivityID *activity_id_return, + GNOME_Evolution_Activity_ActivityId *activity_id_return, CORBA_boolean *suggest_display_return, CORBA_Environment *ev) { @@ -296,7 +296,7 @@ impl_operationStarted (PortableServer_Servant servant, static void impl_operationProgressing (PortableServer_Servant servant, - const GNOME_Evolution_Activity_ActivityID activity_id, + const GNOME_Evolution_Activity_ActivityId activity_id, const CORBA_char *information, const CORBA_float progress, CORBA_Environment *ev) @@ -340,7 +340,7 @@ impl_operationProgressing (PortableServer_Servant servant, static void impl_operationFinished (PortableServer_Servant servant, - const GNOME_Evolution_Activity_ActivityID activity_id, + const GNOME_Evolution_Activity_ActivityId activity_id, CORBA_Environment *ev) { EActivityHandler *activity_handler; @@ -367,7 +367,7 @@ impl_operationFinished (PortableServer_Servant servant, static GNOME_Evolution_Activity_DialogAction impl_requestDialog (PortableServer_Servant servant, - const GNOME_Evolution_Activity_ActivityID activity_id, + const GNOME_Evolution_Activity_ActivityId activity_id, const GNOME_Evolution_Activity_DialogType dialog_type, CORBA_Environment *ev) { |