diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-12 23:34:53 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-12 23:34:53 +0800 |
commit | 1285912f049822720b8643d2417bfd6b7ad58fc6 (patch) | |
tree | 207a8628079b566c1e9a6fe89a0377b6f617465b /shell/e-gray-bar.h | |
parent | 51f77f649b27e6013038c642c532d0547c7fdddd (diff) | |
download | gsoc2013-evolution-1285912f049822720b8643d2417bfd6b7ad58fc6.tar.gz gsoc2013-evolution-1285912f049822720b8643d2417bfd6b7ad58fc6.tar.zst gsoc2013-evolution-1285912f049822720b8643d2417bfd6b7ad58fc6.zip |
Put the folder title bar into an EGrayBar.
* e-shell-view.c (setup_widgets): Put the folder title bar into an
EGrayBar.
* e-gray-bar.c: New.
* e-gray-bar.h: New.
svn path=/trunk/; revision=11932
Diffstat (limited to 'shell/e-gray-bar.h')
-rw-r--r-- | shell/e-gray-bar.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/shell/e-gray-bar.h b/shell/e-gray-bar.h new file mode 100644 index 0000000000..72a699ce0f --- /dev/null +++ b/shell/e-gray-bar.h @@ -0,0 +1,61 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* e-gray-bar.h + * + * Copyright (C) 2001 Ximian, Inc. + * + * 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 Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Author: Ettore Perazzoli <ettore@ximian.com> + */ + +#ifndef _E_GRAY_BAR_H_ +#define _E_GRAY_BAR_H_ + +#include <gtk/gtkeventbox.h> + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +#define E_TYPE_GRAY_BAR (e_gray_bar_get_type ()) +#define E_GRAY_BAR(obj) (GTK_CHECK_CAST ((obj), E_TYPE_GRAY_BAR, EGrayBar)) +#define E_GRAY_BAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_GRAY_BAR, EGrayBarClass)) +#define E_IS_GRAY_BAR(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_GRAY_BAR)) +#define E_IS_GRAY_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_GRAY_BAR)) + + +typedef struct _EGrayBar EGrayBar; +typedef struct _EGrayBarPrivate EGrayBarPrivate; +typedef struct _EGrayBarClass EGrayBarClass; + +struct _EGrayBar { + GtkEventBox parent; +}; + +struct _EGrayBarClass { + GtkEventBoxClass parent_class; +}; + + +GtkType e_gray_bar_get_type (void); +GtkWidget *e_gray_bar_new (void); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _E_GRAY_BAR_H_ */ |