From 429ac6ac1df8c8e91a615c9c0fb3f709230e52bc Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 4 Dec 2003 14:14:36 +0000 Subject: monitor gconf key /apps/evolution/mail/junk/check_incoming and keep 2003-12-04 Radek Doulik * mail-session.c: monitor gconf key /apps/evolution/mail/junk/check_incoming and keep session junk flag uptodate * em-mailer-prefs.c (em_mailer_prefs_construct): added junk preferences svn path=/trunk/; revision=23630 --- mail/em-junk-plugin.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'mail/em-junk-plugin.h') diff --git a/mail/em-junk-plugin.h b/mail/em-junk-plugin.h index 0c7eacd165..bd4af4cf9a 100644 --- a/mail/em-junk-plugin.h +++ b/mail/em-junk-plugin.h @@ -34,14 +34,13 @@ struct _EMJunkPlugin { CamelJunkPlugin csp; - /* when called, it should insert own GUI configuration into supplied. - container. returns data pointer which is later passed to apply, + /* when called, it should return widget containing UI configuration. plugin has to call (*changed_cb) (); whenever configuration - is changed to notify settings dialog about a change. - if setup_config_ui is NULL, it means there are no options */ + is changed to notify settings dialog about that change. + if setup_widget is NULL, it means there is no UI configuration */ - gpointer (*setup_config_ui) (GtkWidget *container, void (*changed_cb) ()); - void (*apply) (gpointer data); + GtkWidget (*setup_widget) (void (*changed_cb) ()); + void (*apply) (); }; #endif -- cgit v1.2.3