From c237eba138cda7af87e718e19fe08453fc9602da Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 29 Sep 2000 20:36:03 +0000 Subject: nuked. 2000-09-29 Chris Toshok * subscribe-control-factory.c, subscribe-control-factory.h: nuked. * subscribe-control.c, subscribe-control.h: lots of changes. we now pop up a dialog, and will have a storage set view on our left side, like the shell does. * mail.h: add prototype for manage_subscriptions. * mail-callbacks.c (manage_subscriptions): new function, pops up the subscribe dialog. * folder-browser-factory.c: add the verb for managing subscriptions. * Makefile.am (evolution_mail_SOURCES): add subscribe-control.[ch] again. svn path=/trunk/; revision=5637 --- mail/mail-callbacks.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mail/mail-callbacks.c') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index b513e2478a..118dc5d4bb 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -37,6 +37,7 @@ #include "mail-ops.h" #include "mail-local.h" #include "folder-browser.h" +#include "subscribe-control.h" #include "filter/filter-editor.h" #include "filter/filter-driver.h" #include @@ -722,6 +723,15 @@ providers_config (BonoboUIHandler *uih, void *user_data, const char *path) mail_config ((FOLDER_BROWSER (user_data))->shell); } +void +manage_subscriptions (BonoboUIHandler *uih, void *user_data, const char *path) +{ + /* XXX pass in the selected storage */ + GtkWidget *subscribe = subscribe_control_new (); + + gtk_widget_show (subscribe); +} + void mail_print_msg (MailDisplay *md) { -- cgit