From 44f24cdf5a76bd8b6288cfa94e275453565c92f0 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 5 Aug 2005 06:53:35 +0000 Subject: ** See bug #273885. 2005-08-04 Not Zed ** See bug #273885. * em-utils.c (em_utils_edit_filters): setup filter source names properly translated. * em-filter-editor.c (em_filter_editor_construct): take an array of structs for the filter source so the incoming/outgoing is properly translated. ** See bug #312397. * em-format-quote.c (emfq_format_message): dont quote credits here. (emfq_format_message_prefix): new prefix handler for credits. (emfq_format_clone): invoke the message prefix before anything else. ** See bug #310840. * em-icon-stream.c (em_icon_stream_get_image): check for /0 possibility. ** See bug #308512. * em-account-editor.c (emae_authtype_changed): take into account the writability of the password when sensitising remember password. (get_password): small hack to disable the save-password button when appropriate. svn path=/trunk/; revision=29997 --- mail/em-filter-editor.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'mail/em-filter-editor.h') diff --git a/mail/em-filter-editor.h b/mail/em-filter-editor.h index ff65be5222..bccca3eb53 100644 --- a/mail/em-filter-editor.h +++ b/mail/em-filter-editor.h @@ -35,22 +35,24 @@ typedef struct _EMFilterEditor EMFilterEditor; typedef struct _EMFilterEditorClass EMFilterEditorClass; +typedef struct _EMFilterSource EMFilterSource; + +struct _EMFilterSource { + char *source; + char *name; +}; + struct _EMFilterEditor { RuleEditor parent_object; - }; struct _EMFilterEditorClass { RuleEditorClass parent_class; - - /* virtual methods */ - - /* signals */ }; GtkType em_filter_editor_get_type (void); -EMFilterEditor *em_filter_editor_new (EMFilterContext *f, const char **source_names); -void em_filter_editor_construct (EMFilterEditor *fe, EMFilterContext *fc, GladeXML *gui, const char **source_names); +EMFilterEditor *em_filter_editor_new (EMFilterContext *f, const EMFilterSource *source_names); +void em_filter_editor_construct (EMFilterEditor *fe, EMFilterContext *fc, GladeXML *gui, const EMFilterSource *source_names); #endif /* ! _EM_FILTER_EDITOR_H */ -- cgit v1.2.3