aboutsummaryrefslogtreecommitdiffstats
path: root/mail/subscribe-dialog.h
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-07 03:02:00 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-07 03:02:00 +0800
commitd7562e99ae9fa1c7a2dc894087b580a9e503fa71 (patch)
tree4bfdab5bbe5dc2e23c3e6b96059ad4905f29ebf6 /mail/subscribe-dialog.h
parentf789abbd422604206c386199c80fb5eac8e34733 (diff)
downloadgsoc2013-evolution-d7562e99ae9fa1c7a2dc894087b580a9e503fa71.tar.gz
gsoc2013-evolution-d7562e99ae9fa1c7a2dc894087b580a9e503fa71.tar.zst
gsoc2013-evolution-d7562e99ae9fa1c7a2dc894087b580a9e503fa71.zip
Reimplement to be asynchronous and pretty, with progressive folder loading
2001-08-06 Peter Williams <peterw@ximian.com> * subscribe-dialog.[ch]: Reimplement to be asynchronous and pretty, with progressive folder loading and all sorts of wonderful improvements. * mail-callbacks.c (manage_subscriptions): Change to reflect API update. * component-factory.c (mail_load_storages): Don't add the storage if it has been disabled. * Makefile.am (etspec_DATA): Add subscribe-dialog.etspec. (glade_DATA): And the glade file. * subscribe-dialog.etspec: New file, break out the specification from inside the subscribe-dialog.c * subscribe-dialog.glade: Update this, actually use it now. svn path=/trunk/; revision=11706
Diffstat (limited to 'mail/subscribe-dialog.h')
-rw-r--r--mail/subscribe-dialog.h34
1 files changed, 8 insertions, 26 deletions
diff --git a/mail/subscribe-dialog.h b/mail/subscribe-dialog.h
index 2696acf2e2..10fa5d9f44 100644
--- a/mail/subscribe-dialog.h
+++ b/mail/subscribe-dialog.h
@@ -1,6 +1,7 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Authors: Chris Toshok <toshok@ximian.com>
+ * Peter Williams <peterw@ximian.com>
*
* Copyright 2000 Ximian, Inc. (www.ximian.com)
*
@@ -39,32 +40,12 @@
#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))
+typedef struct _SubscribeDialogPrivate SubscribeDialogPrivate;
struct _SubscribeDialog {
- GtkObject parent;
+ GtkObject parent;
- GNOME_Evolution_Shell shell;
-
- GtkWidget *app;
-
- GtkWidget *hpaned;
- GtkWidget *table;
- GtkWidget *description;
-
- GtkWidget *store_etable;
- ETableModel *store_model;
-
- GtkWidget *folder_etree;
- ETreeModel *folder_model;
- ETreePath folder_root;
-
- CamelStore *store;
- EvolutionStorage *storage;
- CamelFolderInfo *folder_info;
-
- GList *store_list;
-
- GtkWidget *search_entry;
- char *search_top;
+ GtkWidget *app;
+ SubscribeDialogPrivate *priv;
};
@@ -72,7 +53,8 @@ typedef struct {
GtkObjectClass parent_class;
} SubscribeDialogClass;
-GtkType subscribe_dialog_get_type (void);
-GtkWidget *subscribe_dialog_new (GNOME_Evolution_Shell shell);
+GtkType subscribe_dialog_get_type (void);
+GtkObject *subscribe_dialog_new (void);
+void subscribe_dialog_run_and_close (SubscribeDialog *dialog);
#endif /* _SUBSCRIBE_DIALOG_H_ */