aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar-editor.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-10 08:23:14 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-10 08:23:14 +0800
commit46c10af32a80037c438c3c54f455a1db43a93e25 (patch)
tree1cdc8ed5fb94a1a1c99314581ef0fe7379e47388 /src/ephy-toolbar-editor.h
parent0db1c0f440d4388e7000eaa6aa2ea8e53776aded (diff)
downloadgsoc2013-epiphany-46c10af32a80037c438c3c54f455a1db43a93e25.tar
gsoc2013-epiphany-46c10af32a80037c438c3c54f455a1db43a93e25.tar.gz
gsoc2013-epiphany-46c10af32a80037c438c3c54f455a1db43a93e25.tar.bz2
gsoc2013-epiphany-46c10af32a80037c438c3c54f455a1db43a93e25.tar.lz
gsoc2013-epiphany-46c10af32a80037c438c3c54f455a1db43a93e25.tar.xz
gsoc2013-epiphany-46c10af32a80037c438c3c54f455a1db43a93e25.tar.zst
gsoc2013-epiphany-46c10af32a80037c438c3c54f455a1db43a93e25.zip
A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h:
2005-01-10 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-notebook.c: (tab_label_style_set_cb): * src/ephy-shell.c: (ephy_shell_finalize), (toolbar_style_notifier), (ephy_shell_get_toolbars_model): A src/ephy-toolbar-editor.c: A src/ephy-toolbar-editor.h: * src/window-commands.c: (window_cmd_edit_toolbar): Move toolbar editor dialogue into its own class, and implement a toolbar style override there. Fixes bug #102520.
Diffstat (limited to 'src/ephy-toolbar-editor.h')
-rw-r--r--src/ephy-toolbar-editor.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/ephy-toolbar-editor.h b/src/ephy-toolbar-editor.h
new file mode 100644
index 000000000..effd647b4
--- /dev/null
+++ b/src/ephy-toolbar-editor.h
@@ -0,0 +1,60 @@
+/*
+ * Copyright (C) 2000-2004 Marco Pesenti Gritti
+ * Copyright (C) 2003-2005 Christian Persch
+ *
+ * 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.
+ *
+ * $Id$
+ */
+
+#ifndef EPHY_TOOLBAR_EDITOR_H
+#define EPHY_TOOLBAR_EDITOR_H
+
+#include <gtk/gtkdialog.h>
+#include "ephy-window.h"
+
+G_BEGIN_DECLS
+
+#define EPHY_TYPE_TOOLBAR_EDITOR (ephy_toolbar_editor_get_type ())
+#define EPHY_TOOLBAR_EDITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_TOOLBAR_EDITOR, EphyToolbarEditor))
+#define EPHY_TOOLBAR_EDITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_TOOLBAR_EDITOR, EphyToolbarEditorClass))
+#define EPHY_IS_TOOLBAR_EDITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_TOOLBAR_EDITOR))
+#define EPHY_IS_TOOLBAR_EDITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_TOOLBAR_EDITOR))
+#define EPHY_TOOLBAR_EDITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_TOOLBAR_EDITOR, EphyToolbarEditorClass))
+
+typedef struct _EphyToolbarEditor EphyToolbarEditor;
+typedef struct _EphyToolbarEditorPrivate EphyToolbarEditorPrivate;
+typedef struct _EphyToolbarEditorClass EphyToolbarEditorClass;
+
+struct _EphyToolbarEditor
+{
+ GtkDialog parent_instance;
+
+ /*< private >*/
+ EphyToolbarEditorPrivate *priv;
+};
+
+struct _EphyToolbarEditorClass
+{
+ GtkDialogClass parent_class;
+};
+
+GType ephy_toolbar_editor_get_type (void);
+
+GtkWidget *ephy_toolbar_editor_show (EphyWindow *window);
+
+G_END_DECLS
+
+#endif /* !EPHY_TOOLBAR_EDITOR_H */