diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-09-30 04:36:03 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-09-30 04:36:03 +0800 |
commit | c237eba138cda7af87e718e19fe08453fc9602da (patch) | |
tree | cd0405a01c48995a8b650e52fb986724b479e3a1 /mail/subscribe-control.h | |
parent | 7d63b93c516dd80bfc703e92c1502e55ae3c1f97 (diff) | |
download | gsoc2013-evolution-c237eba138cda7af87e718e19fe08453fc9602da.tar gsoc2013-evolution-c237eba138cda7af87e718e19fe08453fc9602da.tar.gz gsoc2013-evolution-c237eba138cda7af87e718e19fe08453fc9602da.tar.bz2 gsoc2013-evolution-c237eba138cda7af87e718e19fe08453fc9602da.tar.lz gsoc2013-evolution-c237eba138cda7af87e718e19fe08453fc9602da.tar.xz gsoc2013-evolution-c237eba138cda7af87e718e19fe08453fc9602da.tar.zst gsoc2013-evolution-c237eba138cda7af87e718e19fe08453fc9602da.zip |
nuked.
2000-09-29 Chris Toshok <toshok@helixcode.com>
* 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
Diffstat (limited to 'mail/subscribe-control.h')
-rw-r--r-- | mail/subscribe-control.h | 39 |
1 files changed, 11 insertions, 28 deletions
diff --git a/mail/subscribe-control.h b/mail/subscribe-control.h index 1822f32980..18a47dd73e 100644 --- a/mail/subscribe-control.h +++ b/mail/subscribe-control.h @@ -7,7 +7,7 @@ #include "mail-types.h" #include <gtk/gtktable.h> #include <gal/e-table/e-tree-model.h> -#include <bonobo/bonobo-ui-handler.h> +#include <bonobo/bonobo-ui-compat.h> #include <bonobo/bonobo-property-bag.h> #include "shell/Evolution.h" @@ -19,44 +19,27 @@ #define IS_SUBSCRIBE_CONTROL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), SUBSCRIBE_CONTROL_TYPE)) struct _SubscribeControl { - GtkTable parent; - - BonoboPropertyBag *properties; - - Evolution_Shell shell; - - /* This is a kludge for the toolbar problem. */ - int serial; + GtkObject parent; - /* - * The current URI being displayed by the SubscribeControl - */ - char *uri; - gboolean is_news; + BonoboUIHandler *uih; - GtkWidget *description; + GtkWidget *app; + + GtkWidget *storage_set_view; + GtkWidget *hpaned; GtkWidget *table; + GtkWidget *description; + GtkWidget *etable; ETreeModel *model; ETreePath *root; }; typedef struct { - GtkTableClass parent_class; + GtkObjectClass parent_class; } SubscribeControlClass; GtkType subscribe_control_get_type (void); -GtkWidget *subscribe_control_new (const Evolution_Shell shell); - -gboolean subscribe_control_set_uri (SubscribeControl *subscribe_control, - const char *uri); - -/* menu/toolbar callbacks */ -void subscribe_select_all (BonoboUIHandler *uih, void *user_data, const char *path); -void subscribe_unselect_all (BonoboUIHandler *uih, void *user_data, const char *path); -void subscribe_folder (GtkWidget *widget, gpointer user_data); -void unsubscribe_folder (GtkWidget *widget, gpointer user_data); -void subscribe_refresh_list (GtkWidget *widget, gpointer user_data); -void subscribe_search (GtkWidget *widget, gpointer user_data); +GtkWidget *subscribe_control_new (void); #endif /* _SUBSCRIBE_CONTROL_H_ */ |