diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-08 06:23:40 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-08 06:23:40 +0800 |
commit | 0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8 (patch) | |
tree | a3ef62262ee8d70c93df905b2ad4ffe0671504ab /shell/e-shell-settings-dialog.h | |
parent | 4c85b0318ef51e52451657ef0ce6eabc25b08ea8 (diff) | |
download | gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.gz gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.bz2 gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.lz gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.xz gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.tar.zst gsoc2013-evolution-0a7abd8b7fe1e51a1a18b8dfc4c670aae163b0c8.zip |
New function to create a test configuration page for the test component.
* evolution-test-component.c (create_configuration_page): New
function to create a test configuration page for the test
component.
(configuration_control_factory_fn): Factory function for the
configuration controls.
(register_configuration_control_factory): New function to register
the factory.
(main): Call it.
* e-shell-view-menu.c: Add verb "Settings".
(command_settings): Implementation for the "Settings" verb.
* GNOME_Evolution_TestComponent.oaf: Add a configuration control.
* e-shell-settings-dialog.c: New.
* e-shell-settings-dialog.h: New.
svn path=/trunk/; revision=15977
Diffstat (limited to 'shell/e-shell-settings-dialog.h')
-rw-r--r-- | shell/e-shell-settings-dialog.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/shell/e-shell-settings-dialog.h b/shell/e-shell-settings-dialog.h new file mode 100644 index 0000000000..93d136ac0f --- /dev/null +++ b/shell/e-shell-settings-dialog.h @@ -0,0 +1,67 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* e-shell-settings-dialog.h + * + * Copyright (C) 2002 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_SHELL_SETTINGS_DIALOG_H_ +#define _E_SHELL_SETTINGS_DIALOG_H_ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "e-multi-config-dialog.h" + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +#define E_TYPE_SHELL_SETTINGS_DIALOG (e_shell_settings_dialog_get_type ()) +#define E_SHELL_SETTINGS_DIALOG(obj) (GTK_CHECK_CAST ((obj), E_TYPE_SHELL_SETTINGS_DIALOG, EShellSettingsDialog)) +#define E_SHELL_SETTINGS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SHELL_SETTINGS_DIALOG, EShellSettingsDialogClass)) +#define E_IS_SHELL_SETTINGS_DIALOG(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_SHELL_SETTINGS_DIALOG)) +#define E_IS_SHELL_SETTINGS_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SHELL_SETTINGS_DIALOG)) + + +typedef struct _EShellSettingsDialog EShellSettingsDialog; +typedef struct _EShellSettingsDialogPrivate EShellSettingsDialogPrivate; +typedef struct _EShellSettingsDialogClass EShellSettingsDialogClass; + +struct _EShellSettingsDialog { + EMultiConfigDialog parent; + + EShellSettingsDialogPrivate *priv; +}; + +struct _EShellSettingsDialogClass { + EMultiConfigDialogClass parent_class; +}; + + +GtkType e_shell_settings_dialog_get_type (void); +GtkWidget *e_shell_settings_dialog_new (void); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _E_SHELL_SETTINGS_DIALOG_H_ */ |