aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-activity.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-17 11:48:03 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-17 11:48:03 +0800
commit54b80a7271e8ce1b2f3ccc68bb553940a24b80e2 (patch)
tree74dd75a7dca547164ff4be88c07d407517663105 /widgets/misc/e-activity.h
parent79aa45cfed7e87150de85869795ef0dd3be06db0 (diff)
downloadgsoc2013-evolution-54b80a7271e8ce1b2f3ccc68bb553940a24b80e2.tar.gz
gsoc2013-evolution-54b80a7271e8ce1b2f3ccc68bb553940a24b80e2.tar.zst
gsoc2013-evolution-54b80a7271e8ce1b2f3ccc68bb553940a24b80e2.zip
Get the mail folder tree compiling, though I'm not yet sure why it's not
showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
Diffstat (limited to 'widgets/misc/e-activity.h')
-rw-r--r--widgets/misc/e-activity.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/widgets/misc/e-activity.h b/widgets/misc/e-activity.h
index 48a19ff91d..d949860333 100644
--- a/widgets/misc/e-activity.h
+++ b/widgets/misc/e-activity.h
@@ -22,7 +22,7 @@
#ifndef E_ACTIVITY_H
#define E_ACTIVITY_H
-#include <glib-object.h>
+#include <gtk/gtk.h>
/* Standard GObject macros */
#define E_TYPE_ACTIVITY \
@@ -62,12 +62,22 @@ GType e_activity_get_type (void);
EActivity * e_activity_new (const gchar *primary_text);
void e_activity_cancel (EActivity *activity);
void e_activity_complete (EActivity *activity);
+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);
gboolean e_activity_get_cancellable (EActivity *activity);
void e_activity_set_cancellable (EActivity *activity,
gboolean cancellable);
+gboolean e_activity_get_clickable (EActivity *activity);
+void e_activity_set_clickable (EActivity *activity,
+ gboolean clickable);
const gchar * e_activity_get_icon_name (EActivity *activity);
void e_activity_set_icon_name (EActivity *activity,
const gchar *icon_name);
@@ -81,6 +91,12 @@ 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 */