X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-details-dialog.h;h=081425739699a9d3ffe5bce51ba682694529645d;hb=8951c81ffcab3127897391ddf312a2f990a12c12;hp=47ab7d455780af602ead4dccf5fc48e8b1d5e088;hpb=de16c483379936730f8cff868f961c46b1ce46ba;p=modest diff --git a/src/widgets/modest-details-dialog.h b/src/widgets/modest-details-dialog.h index 47ab7d4..0814257 100644 --- a/src/widgets/modest-details-dialog.h +++ b/src/widgets/modest-details-dialog.h @@ -70,15 +70,17 @@ typedef struct { /* virtual methods */ void (*create_container_func) (ModestDetailsDialog *self); void (*add_data_func) (ModestDetailsDialog *self, const gchar *label, const gchar *value); - void (*set_header_func) (ModestDetailsDialog *self, TnyHeader *header); + void (*set_header_func) (ModestDetailsDialog *self, TnyHeader *header, gboolean get_size); void (*set_folder_func) (ModestDetailsDialog *self, TnyFolder *folder); + void (*set_message_size_func) (ModestDetailsDialog *self, guint message_size); } ModestDetailsDialogClass; GType modest_details_dialog_get_type (void); GtkWidget* modest_details_dialog_new_with_header (GtkWindow *parent, - TnyHeader *header); + TnyHeader *header, + gboolean get_size); GtkWidget* modest_details_dialog_new_with_folder (GtkWindow *parent, TnyFolder *folder); @@ -87,6 +89,9 @@ void modest_details_dialog_add_data (ModestDetailsDialog *self, const gchar *label, const gchar *value); +void modest_details_dialog_set_message_size (ModestDetailsDialog *self, + guint message_size); + G_END_DECLS #endif /* __MODEST_DETAILS_DIALOG */