diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-24 22:48:34 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-24 22:48:34 +0800 |
commit | b0f66eed569bdc92c55cb8c39f62b5694b7f62b3 (patch) | |
tree | 16b2f0a1106cdf05e2a7a05c0572f656307a1e2e /lib/widgets/ephy-editable-toolbar.h | |
parent | 459e4b6f3a76d3904c84127b1147a14676586ed7 (diff) | |
download | gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar.gz gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar.bz2 gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar.lz gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar.xz gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar.zst gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.zip |
Implement the data part of the toolbar editor. Partial implementation of
2003-01-24 Marco Pesenti Gritti <marco@it.gnome.org>
* NEWS:
* configure.in:
* data/ui/epiphany-toolbar.xml.in:
* lib/egg/Makefile.am:
* lib/widgets/Makefile.am:
* lib/widgets/ephy-editable-toolbar.c:
(ephy_editable_toolbar_get_type), (find_action),
(add_action_to_list), (parse_item_list), (parse_toolbars),
(load_defaults), (load_toolbar), (toolbar_list_to_xml),
(toolbar_list_to_string), (do_merge),
(ephy_editable_toolbar_set_merge),
(ephy_editable_toolbar_set_property),
(ephy_editable_toolbar_get_property),
(ephy_editable_toolbar_class_init), (ephy_editable_toolbar_init),
(ephy_editable_toolbar_save), (ephy_editable_toolbar_finalize),
(ephy_editable_toolbar_new):
* lib/widgets/ephy-editable-toolbar.h:
* src/Makefile.am:
* src/bookmarks/Makefile.am:
* src/bookmarks/ephy-bookmark-action.c:
(ephy_bookmark_action_get_type), (create_tool_item),
(ephy_bookmark_action_sync_label), (connect_proxy),
(ephy_bookmark_action_set_property),
(ephy_bookmark_action_get_property),
(ephy_bookmark_action_class_init), (ephy_bookmark_action_init),
(ephy_bookmark_action_new):
* src/bookmarks/ephy-bookmark-action.h:
* src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_set_location):
* src/toolbar.c: (toolbar_get_type), (toolbar_set_window),
(editable_toolbar_request_action), (toolbar_init),
(toolbar_finalize):
* src/toolbar.h:
Implement the data part of the toolbar editor.
Partial implementation of Bookmark action.
Try to fix crashes when switching tabs.
Diffstat (limited to 'lib/widgets/ephy-editable-toolbar.h')
-rwxr-xr-x | lib/widgets/ephy-editable-toolbar.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/lib/widgets/ephy-editable-toolbar.h b/lib/widgets/ephy-editable-toolbar.h new file mode 100755 index 000000000..21b195b6d --- /dev/null +++ b/lib/widgets/ephy-editable-toolbar.h @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2003 Marco Pesenti Gritti + * + * 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, 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. + */ + +#ifndef EPHY_EDITABLE_TOOLBAR_H +#define EPHY_EDITABLE_TOOLBAR_H + +#include <glib-object.h> +#include <glib.h> +#include "egg-menu-merge.h" + +G_BEGIN_DECLS + +typedef struct EphyEditableToolbarClass EphyEditableToolbarClass; + +#define EPHY_EDITABLE_TOOLBAR_TYPE (ephy_editable_toolbar_get_type ()) +#define EPHY_EDITABLE_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_EDITABLE_TOOLBAR_TYPE, EphyEditableToolbar)) +#define EPHY_EDITABLE_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_EDITABLE_TOOLBAR_TYPE, EphyEditableToolbarClass)) +#define IS_EPHY_EDITABLE_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPHY_EDITABLE_TOOLBAR_TYPE)) +#define IS_EPHY_EDITABLE_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EPHY_EDITABLE_TOOLBAR_TYPE)) + +typedef struct EphyEditableToolbar EphyEditableToolbar; +typedef struct EphyEditableToolbarPrivate EphyEditableToolbarPrivate; + +struct EphyEditableToolbar +{ + GObject parent_object; + EphyEditableToolbarPrivate *priv; +}; + +struct EphyEditableToolbarClass +{ + GObjectClass parent_class; + + void (* request_action) (EphyEditableToolbar *etoolbar, + const char *action_name); +}; + +GType ephy_editable_toolbar_get_type (void); + +EphyEditableToolbar *ephy_editable_toolbar_new (EggMenuMerge *merge); + +G_END_DECLS + +#endif |