diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-03-13 05:10:12 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-03-13 05:10:12 +0800 |
commit | fff110978aa79dcde9654c8386eb828b1c752c63 (patch) | |
tree | b280395f967b7a532a7b36e15a7982f35723872b /mail/folder-browser-window.h | |
parent | e19514f1319263d57cb9ebf900513518b011c3b3 (diff) | |
download | gsoc2013-evolution-fff110978aa79dcde9654c8386eb828b1c752c63.tar gsoc2013-evolution-fff110978aa79dcde9654c8386eb828b1c752c63.tar.gz gsoc2013-evolution-fff110978aa79dcde9654c8386eb828b1c752c63.tar.bz2 gsoc2013-evolution-fff110978aa79dcde9654c8386eb828b1c752c63.tar.lz gsoc2013-evolution-fff110978aa79dcde9654c8386eb828b1c752c63.tar.xz gsoc2013-evolution-fff110978aa79dcde9654c8386eb828b1c752c63.tar.zst gsoc2013-evolution-fff110978aa79dcde9654c8386eb828b1c752c63.zip |
Set the folder on a folder-browser object.
2002-03-12 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (folder_browser_set_folder): Set the folder on
a folder-browser object.
* folder-browser-window.c (folder_browser_window_new): Simple
window to display a folder-browser.
* mail-callbacks.c (view_digest): New callback to open a
folder-browser-window with a digest folder.
svn path=/trunk/; revision=16127
Diffstat (limited to 'mail/folder-browser-window.h')
-rw-r--r-- | mail/folder-browser-window.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/mail/folder-browser-window.h b/mail/folder-browser-window.h new file mode 100644 index 0000000000..fdd9b1315b --- /dev/null +++ b/mail/folder-browser-window.h @@ -0,0 +1,64 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Jeffrey Stedfast <fejj@ximian.com> + * + * Copyright 2002 Ximian, Inc. (www.ximian.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + + +#ifndef __FOLDER_BROWSER_WINDOW_H__ +#define __FOLDER_BROWSER_WINDOW_H__ + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +#include <bonobo/bonobo-win.h> + +#include "folder-browser.h" + +#define FOLDER_BROWSER_WINDOW_TYPE (folder_browser_window_get_type ()) +#define FOLDER_BROWSER_WINDOW(o) (GTK_CHECK_CAST ((o), FOLDER_BROWSER_WINDOW_TYPE, FolderBrowserWindow)) +#define FOLDER_BROWSER_WINDOW_CLASS(k) (GTK_CHECK_CLASS_CAST((k), FOLDER_BROWSER_WINDOW_TYPE, FolderBrowserWindowClass)) +#define IS_FOLDER_BROWSER_WINDOW(o) (GTK_CHECK_TYPE ((o), FOLDER_BROWSER_WINDOW_TYPE)) +#define IS_FOLDER_BROWSER_WINDOW_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), FOLDER_BROWSER_WINDOW_TYPE)) + +typedef struct _FolderBrowserWindowClass FolderBrowserWindowClass; +typedef struct _FolderBrowserWindow FolderBrowserWindow; + +struct _FolderBrowserWindow { + BonoboWindow parent; + + FolderBrowser *folder_browser; +}; + +struct _FolderBrowserWindowClass { + BonoboWindowClass parent_class; + +}; + +GtkType folder_browser_window_get_type (void); + +GtkWidget *folder_browser_window_new (FolderBrowser *fb); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __FOLDER_BROWSER_WINDOW_H__ */ |