aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-15 14:57:20 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-15 14:57:20 +0800
commit6e5821b6d29a75b2987a30c3348eeee39bdeb304 (patch)
tree3dda9b39964ad663a0955fbc1c7e5476d910357d /mail/mail-callbacks.c
parent2f95668944daf2989a58abcd1328458d35f4bfdb (diff)
downloadgsoc2013-evolution-6e5821b6d29a75b2987a30c3348eeee39bdeb304.tar
gsoc2013-evolution-6e5821b6d29a75b2987a30c3348eeee39bdeb304.tar.gz
gsoc2013-evolution-6e5821b6d29a75b2987a30c3348eeee39bdeb304.tar.bz2
gsoc2013-evolution-6e5821b6d29a75b2987a30c3348eeee39bdeb304.tar.lz
gsoc2013-evolution-6e5821b6d29a75b2987a30c3348eeee39bdeb304.tar.xz
gsoc2013-evolution-6e5821b6d29a75b2987a30c3348eeee39bdeb304.tar.zst
gsoc2013-evolution-6e5821b6d29a75b2987a30c3348eeee39bdeb304.zip
Added edit item to search-bar menu.
2001-03-15 Not Zed <NotZed@Ximian.com> * folder-browser.c: Added edit item to search-bar menu. * mail-callbacks.c (filter_edit): Changed for filter_editor_new() api addition/change. * mail-vfolder.c (vfolder_edit): Use vfolder_editor_new intead. svn path=/trunk/; revision=8731
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c8
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));