aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnu.org>2000-01-16 04:08:30 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-16 04:08:30 +0800
commit3c49032de459fa26e8512005b859c8eb8768caf8 (patch)
tree31c06aa6698678a67d41532a60b270fb6b492793 /shell/e-folder.h
parent19a9abb138faf5f77afdca76670a23a476a7a922 (diff)
downloadgsoc2013-evolution-3c49032de459fa26e8512005b859c8eb8768caf8.tar
gsoc2013-evolution-3c49032de459fa26e8512005b859c8eb8768caf8.tar.gz
gsoc2013-evolution-3c49032de459fa26e8512005b859c8eb8768caf8.tar.bz2
gsoc2013-evolution-3c49032de459fa26e8512005b859c8eb8768caf8.tar.lz
gsoc2013-evolution-3c49032de459fa26e8512005b859c8eb8768caf8.tar.xz
gsoc2013-evolution-3c49032de459fa26e8512005b859c8eb8768caf8.tar.zst
gsoc2013-evolution-3c49032de459fa26e8512005b859c8eb8768caf8.zip
Use e_bar_set_item_data.
2000-01-10 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-shortcut-bar.c (e_shortcut_bar_add_item): Use e_bar_set_item_data. Drop item_url; Require image argument; Require user data argument. 2000-01-09 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_init): Turn on anti-aliasing. svn path=/trunk/; revision=1573
Diffstat (limited to 'shell/e-folder.h')
-rw-r--r--shell/e-folder.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/shell/e-folder.h b/shell/e-folder.h
index d41a02e6ce..d262859c3d 100644
--- a/shell/e-folder.h
+++ b/shell/e-folder.h
@@ -15,9 +15,19 @@ typedef enum {
E_FOLDER_DND_AS_MOVE_COPY
} EFolderDragDropAction;
+typedef enum {
+ E_FOLDER_MAIL,
+ E_FOLDER_CONTACTS,
+ E_FOLDER_CALENDAR,
+ E_FOLDER_TASKS,
+ E_FOLDER_OTHER
+} EFolderType;
+
typedef struct {
GtkObject parent_object;
+ EFolderType type;
+
/*
* General properties
*/
@@ -36,19 +46,17 @@ typedef struct {
GtkObjectClass parent_class;
/*
- * Virtual methods
+ * Notifies views of visible changes in the Efolder
*/
- /* eg: "Folder containing mail items */
- const char *(*get_type_name) (EFolder *efolder);
-
- /*
- * Signals
- */
- void (*view_changed) (EFolder *efolder);
+ void (*changed) (EFolder *efolder);
} EFolderClass;
GtkType e_folder_get_type (void);
-void e_folder_construct (EFolder *efolder,
+void e_folder_construct (EFolder *efolder, EFolderType type,
+ const char *uri, const char *name,
+ const char *desc, const char *home_page,
+ const char *view_name);
+EFolder *e_folder_new (EFolderType type,
const char *uri, const char *name,
const char *desc, const char *home_page,
const char *view_name);