aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-activity.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-03-09 11:31:24 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-03-09 11:31:24 +0800
commitf963cc39a7d21f64f578dae50fd08c44181a3bf6 (patch)
tree7cdf0c0c9bab037272ba6fca48aebbccd4c0de74 /widgets/misc/e-activity.h
parent85d0142d21286ce87cd5f6c3d1e2f71aa994151f (diff)
downloadgsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.gz
gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.tar.zst
gsoc2013-evolution-f963cc39a7d21f64f578dae50fd08c44181a3bf6.zip
Cleaning up the attachment bar, centralizing its popup menu, and converting
everything to GtkUIManager/GtkActions. Saving progress mid-stream... not sure about the MIME part utilities yet. Also, add some EActivity subclasses. Considering an EFileActivity subclass for asynchronous GIO operations (loading/saving attachments, etc.), but still ironing out details. svn path=/branches/kill-bonobo/; revision=37389
Diffstat (limited to 'widgets/misc/e-activity.h')
-rw-r--r--widgets/misc/e-activity.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/widgets/misc/e-activity.h b/widgets/misc/e-activity.h
index d949860333..5050d9e611 100644
--- a/widgets/misc/e-activity.h
+++ b/widgets/misc/e-activity.h
@@ -56,6 +56,14 @@ struct _EActivity {
struct _EActivityClass {
GObjectClass parent_class;
+
+ /* Methods */
+ gchar * (*describe) (EActivity *activity);
+
+ /* Signals */
+ void (*cancelled) (EActivity *activity);
+ void (*completed) (EActivity *activity);
+ void (*clicked) (EActivity *activity);
};
GType e_activity_get_type (void);
@@ -66,9 +74,6 @@ void e_activity_clicked (EActivity *activity);
gchar * e_activity_describe (EActivity *activity);
gboolean e_activity_is_cancelled (EActivity *activity);
gboolean e_activity_is_completed (EActivity *activity);
-void e_activity_add_timeout (EActivity *activity,
- guint seconds);
-void e_activity_cancel_timeout (EActivity *activity);
gboolean e_activity_get_blocking (EActivity *activity);
void e_activity_set_blocking (EActivity *activity,
gboolean blocking);
@@ -91,12 +96,6 @@ const gchar * e_activity_get_secondary_text (EActivity *activity);
void e_activity_set_secondary_text (EActivity *activity,
const gchar *secondary_text);
-/* XXX Hacky integration with error dialogs. */
-void e_activity_error (EActivity *activity,
- GtkWidget *error_dialog);
-void e_activity_info (EActivity *activity,
- GtkWidget *info_dialog);
-
G_END_DECLS
#endif /* E_ACTIVITY_H */