From aea82dfd606493e4a65f1088e631fe394746d8f0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 28 Apr 2003 16:00:47 +0000 Subject: Made toplevel container widgets set a border-width (including toplevel 2003-04-25 Jeffrey Stedfast * mail-config.glade: Made toplevel container widgets set a border-width (including toplevel widgets within frames), set the table/hbox/vbox spacings, set the spacing between an image and the description text in hboxes to 12pts (as suggested by the HIG), Changed Add/Delete buttons to the stock Add/Remove buttons, etc 2003-04-24 Jeffrey Stedfast * mail-config.c (mail_config_init): Cache the allowable mime-types. (mail_config_get_allowable_mime_types): New public function to get an array of allowable mime-types. * mail-format.c (mail_lookup_handler): Only allow a bonobo-component handler if the mime-type is something handled by evolution or the user has specifically chosen that type as available for viewing with a bonobo component in the gconf database. (mime_type_uses_evolution_component): New convenience function. (mime_type_can_use_component): Checks gconf to see if the user has allowed the mime-type to be viewed by a component. svn path=/trunk/; revision=20983 --- mail/mail-config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-config.h') diff --git a/mail/mail-config.h b/mail/mail-config.h index b84f262273..3abc9588f8 100644 --- a/mail/mail-config.h +++ b/mail/mail-config.h @@ -107,6 +107,8 @@ GSList *mail_config_get_labels (void); const char *mail_config_get_label_color_by_name (const char *name); const char *mail_config_get_label_color_by_index (int index); +const char **mail_config_get_allowable_mime_types (void); + void mail_config_service_set_save_passwd (EAccountService *service, gboolean save_passwd); gboolean mail_config_find_account (EAccount *account); -- cgit v1.2.3