aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-task-widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-task-widget.h')
-rw-r--r--widgets/misc/e-task-widget.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/widgets/misc/e-task-widget.h b/widgets/misc/e-task-widget.h
index 0eb4fbb167..fb47b95095 100644
--- a/widgets/misc/e-task-widget.h
+++ b/widgets/misc/e-task-widget.h
@@ -46,6 +46,7 @@ struct _ETaskWidget {
GtkEventBox parent;
ETaskWidgetPrivate *priv;
+ guint id;
};
struct _ETaskWidgetClass {
@@ -57,14 +58,25 @@ GtkType e_task_widget_get_type (void);
void e_task_widget_construct (ETaskWidget *task_widget,
GdkPixbuf *icon_pixbuf,
const char *component_id,
- const char *information);
+ const char *information,
+ void (*cancel_func) (gpointer data),
+ gpointer data);
GtkWidget *e_task_widget_new (GdkPixbuf *icon_pixbuf,
const char *component_id,
const char *information);
+GtkWidget *
+e_task_widget_new_with_cancel (GdkPixbuf *icon_pixbuf,
+ const char *component_id,
+ const char *information,
+ void (*cancel_func) (gpointer data),
+ gpointer data);
void e_task_widget_update (ETaskWidget *task_widget,
const char *information,
double completion);
+GtkWidget *
+e_task_widget_update_image (ETaskWidget *task_widget,
+ char *stock, char *text);
void e_task_wiget_alert (ETaskWidget *task_widget);
void e_task_wiget_unalert (ETaskWidget *task_widget);