diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-12 06:06:26 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-12 06:06:26 +0800 |
commit | 45aa254e9c7d745fe0d8aaa1627fced919b0bbdc (patch) | |
tree | f3729ebbf884d7ccf69cc60f9e23a244b11127fc /src/bookmarks/ephy-bookmark-toolitem.h | |
parent | 0daded02b044566c4b9f8495c762508cbce39a0b (diff) | |
download | gsoc2013-epiphany-45aa254e9c7d745fe0d8aaa1627fced919b0bbdc.tar gsoc2013-epiphany-45aa254e9c7d745fe0d8aaa1627fced919b0bbdc.tar.gz gsoc2013-epiphany-45aa254e9c7d745fe0d8aaa1627fced919b0bbdc.tar.bz2 gsoc2013-epiphany-45aa254e9c7d745fe0d8aaa1627fced919b0bbdc.tar.lz gsoc2013-epiphany-45aa254e9c7d745fe0d8aaa1627fced919b0bbdc.tar.xz gsoc2013-epiphany-45aa254e9c7d745fe0d8aaa1627fced919b0bbdc.tar.zst gsoc2013-epiphany-45aa254e9c7d745fe0d8aaa1627fced919b0bbdc.zip |
Moved bookmark tool item creation to a dedicated tool item. That way we
2003-06-11 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmark-toolitem.h:
* src/bookmarks/ephy-bookmark-toolitem.c:
* src/bookmarks/ephy-bookmark-action.c: (create_tool_item),
(create_menu_item), (ephy_bookmark_action_class_init):
Moved bookmark tool item creation to a dedicated tool item. That way we
can provide toolbar overflow menu items.
Diffstat (limited to 'src/bookmarks/ephy-bookmark-toolitem.h')
-rw-r--r-- | src/bookmarks/ephy-bookmark-toolitem.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmark-toolitem.h b/src/bookmarks/ephy-bookmark-toolitem.h new file mode 100644 index 000000000..1e817b0b7 --- /dev/null +++ b/src/bookmarks/ephy-bookmark-toolitem.h @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2003 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, 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_BOOKMARK_TOOLITEM_H +#define EPHY_BOOKMARK_TOOLITEM_H + +#include "eggtoolitem.h" + +G_BEGIN_DECLS + +/* object forward declarations */ + +typedef struct _EphyBookmarkToolitem EphyBookmarkToolitem; +typedef struct _EphyBookmarkToolitemClass EphyBookmarkToolitemClass; +typedef struct _EphyBookmarkToolitemPrivate EphyBookmarkToolitemPrivate; + +/** + * EphyBookmarkToolitem object + */ + +#define EPHY_TYPE_BOOKMARK_TOOLITEM (ephy_bookmark_toolitem_get_type()) +#define EPHY_BOOKMARK_TOOLITEM(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_BOOKMARK_TOOLITEM, EphyBookmarkToolitem)) +#define EPHY_BOOKMARK_TOOLITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_BOOKMARK_TOOLITEM, EphyBookmarkToolitemClass)) +#define EPHY_IS_BOOKMARK_TOOLITEM(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_BOOKMARK_TOOLITEM)) +#define EPHY_IS_BOOKMARK_TOOLITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_BOOKMARK_TOOLITEM)) +#define EPHY_BOOKMARK_TOOLITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_BOOKMARK_TOOLITEM, EphyBookmarkToolitemClass)) + +struct _EphyBookmarkToolitemClass +{ + EggToolItemClass parent_class; +}; + +struct _EphyBookmarkToolitem +{ + EggToolItem parent_object; +}; + +GType ephy_bookmark_toolitem_get_type (void); + +G_END_DECLS + +#endif |