diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-10-03 04:06:11 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-10-03 04:06:11 +0800 |
commit | bfe2227dd0f527b2c8da97d73ed2361a564f08bd (patch) | |
tree | f500e26f95bf24753565cfaddefdbdd996d84bf0 /mail/subscribe-dialog.h | |
parent | 26973c935a4ec47fe20f248885d0881b18560fe0 (diff) | |
download | gsoc2013-evolution-bfe2227dd0f527b2c8da97d73ed2361a564f08bd.tar.gz gsoc2013-evolution-bfe2227dd0f527b2c8da97d73ed2361a564f08bd.tar.zst gsoc2013-evolution-bfe2227dd0f527b2c8da97d73ed2361a564f08bd.zip |
subscribe-control.[ch] -> subscribe_dialog.[ch]
2000-10-02 Chris Toshok <toshok@helixcode.com>
* Makefile.am (evolution_mail_SOURCES): subscribe-control.[ch] -> subscribe_dialog.[ch]
* mail-callbacks.c (manage_subscriptions): subscribe_control ->
subscribe_dialog. Also, pass the shell to subscribe_dialog_new.
* mail-types.h: SubscribeControl -> SubscribeDialog.
* subscribe-dialog.c, subscribe-dialog.h: rename from subscribe-control.[ch].
* subscribe-dialog.c (subscribe_dialog_construct): pass
Evolution_Shell in.
(subscribe_dialog_new): takes Evolution_Shell argument now.
svn path=/trunk/; revision=5668
Diffstat (limited to 'mail/subscribe-dialog.h')
-rw-r--r-- | mail/subscribe-dialog.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/mail/subscribe-dialog.h b/mail/subscribe-dialog.h new file mode 100644 index 0000000000..5805c50b5f --- /dev/null +++ b/mail/subscribe-dialog.h @@ -0,0 +1,47 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + + +#ifndef _SUBSCRIBE_DIALOG_H_ +#define _SUBSCRIBE_DIALOG_H_ + +#include "mail-types.h" +#include <gtk/gtktable.h> +#include <gal/e-table/e-tree-model.h> +#include <bonobo/bonobo-ui-compat.h> +#include <bonobo/bonobo-property-bag.h> +#include "shell/Evolution.h" + + +#define SUBSCRIBE_DIALOG_TYPE (subscribe_dialog_get_type ()) +#define SUBSCRIBE_DIALOG(o) (GTK_CHECK_CAST ((o), SUBSCRIBE_DIALOG_TYPE, SubscribeDialog)) +#define SUBSCRIBE_DIALOG_CLASS(k) (GTK_CHECK_CLASS_CAST((k), SUBSCRIBE_DIALOG_TYPE, SubscribeDialogClass)) +#define IS_SUBSCRIBE_DIALOG(o) (GTK_CHECK_TYPE ((o), SUBSCRIBE_DIALOG_TYPE)) +#define IS_SUBSCRIBE_DIALOG_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), SUBSCRIBE_DIALOG_TYPE)) + +struct _SubscribeDialog { + GtkObject parent; + + Evolution_Shell shell; + + BonoboUIHandler *uih; + + GtkWidget *app; + + GtkWidget *storage_set_view; + GtkWidget *hpaned; + GtkWidget *table; + GtkWidget *description; + GtkWidget *etable; + ETreeModel *model; + ETreePath *root; +}; + + +typedef struct { + GtkObjectClass parent_class; +} SubscribeDialogClass; + +GtkType subscribe_dialog_get_type (void); +GtkWidget *subscribe_dialog_new (Evolution_Shell shell); + +#endif /* _SUBSCRIBE_DIALOG_H_ */ |