diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 2f5292c4b2..8dc66a58d4 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1176,6 +1176,12 @@ filter_druid_clicked (GtkWidget *w, int button, FolderBrowser *fb) } } +static const char *filter_source_names[] = { + "incoming", + "outgoing", + NULL, +}; + void filter_edit (BonoboUIComponent *uih, void *user_data, const char *path) { @@ -1204,7 +1210,7 @@ filter_edit (BonoboUIComponent *uih, void *user_data, const char *path) return; } - w = filter_editor_construct (fc); + w = (GtkWidget *)filter_editor_new(fc, filter_source_names); gtk_object_set_data_full (GTK_OBJECT (w), "context", fc, (GtkDestroyNotify)gtk_object_unref); gtk_signal_connect (GTK_OBJECT (w), "clicked", filter_druid_clicked, fb); gtk_widget_show (GTK_WIDGET (w)); |