diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 2000-01-09 13:21:37 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-01-09 13:21:37 +0800 |
commit | 89db309e06bda8777c005857ebccd6a34ac95739 (patch) | |
tree | 72193c5d553291fd91db2bfef4dcd338606c36de /shell/e-folder-mail.c | |
parent | 25606cbf7d12360f4a8bca7a4631ce7613894597 (diff) | |
download | gsoc2013-evolution-89db309e06bda8777c005857ebccd6a34ac95739.tar.gz gsoc2013-evolution-89db309e06bda8777c005857ebccd6a34ac95739.tar.zst gsoc2013-evolution-89db309e06bda8777c005857ebccd6a34ac95739.zip |
More work. Before the shortcut changes -mig
svn path=/trunk/; revision=1545
Diffstat (limited to 'shell/e-folder-mail.c')
-rw-r--r-- | shell/e-folder-mail.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/shell/e-folder-mail.c b/shell/e-folder-mail.c new file mode 100644 index 0000000000..72010194c5 --- /dev/null +++ b/shell/e-folder-mail.c @@ -0,0 +1,50 @@ +/* + * e-folder-mail.c: Mail folder + * + * Author: + * Miguel de Icaza (miguel@helixcode.com) + * + * (C) 2000 Helix Code, Inc. + */ +#include <config.h> +#include <glib.h> +#include <libgnome/gnome-defs.h> +#include <libgnome/gnome-i18n.h> +#include "e-util/e-util.h" +#include "e-folder-mail.h" + +#define PARENT_TYPE e_folder_get_type () + +static const char * +efm_get_type_name (EFolder *efolder) +{ + return _("Folder containing Mail Items"); +} + +static void +e_folder_mail_class_init (GtkObjectClass *object_class) +{ + EFolderClass *efc = (EFolderClass *) object_class; + + efc->get_type_name = efm_get_type_name; +} + +static void +e_folder_mail_init (GtkObject *object) +{ +} + +E_MAKE_TYPE (e_folder_mail, "EFolderMail", EFolderMail, e_folder_mail_class_init, e_folder_mail_init, PARENT_TYPE) + +EFolder * +e_folder_mail_new (const char *uri, const char *name, const char *desc, + const char *home_page, const char *view_name) +{ + EFolderMail *efm = gtk_type_new (e_folder_mail_get_type ()); + + e_folder_construct (E_FOLDER (efm), uri, name, desc, home_page, view_name); + + return E_FOLDER (efm); +} + + |