diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-12 02:21:23 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-14 04:21:46 +0800 |
commit | 042f09bcf84db2ade9aa18f881ac5064aacbf116 (patch) | |
tree | 00a2a71a94d286561b5773387e1a7a5afc79a4b6 /src/ephy-page-menu-action.h | |
parent | ade53ab2fdcec609ca42b1277be1f8889bafbaa7 (diff) | |
download | gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.gz gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.bz2 gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.lz gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.xz gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.tar.zst gsoc2013-epiphany-042f09bcf84db2ade9aa18f881ac5064aacbf116.zip |
Drop menubar and create an actions menu button in the toolbar
Similar to Chrome's wrench menu, but used only (in the future) for
page-related actions. For now we have mechanically moved most stuff
there, now we need to start removing them one by one when appropriate.
Diffstat (limited to 'src/ephy-page-menu-action.h')
-rw-r--r-- | src/ephy-page-menu-action.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/ephy-page-menu-action.h b/src/ephy-page-menu-action.h new file mode 100644 index 000000000..c7239b655 --- /dev/null +++ b/src/ephy-page-menu-action.h @@ -0,0 +1,52 @@ +/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* + * Copyright © 2012 Igalia S.L. + * + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef __EPHY_PAGE_MENU_ACTION_H__ +#define __EPHY_PAGE_MENU_ACTION_H__ + +#include "ephy-navigation-action.h" + +#include <gtk/gtk.h> + +G_BEGIN_DECLS + +#define EPHY_TYPE_PAGE_MENU_ACTION (ephy_page_menu_action_get_type()) +#define EPHY_PAGE_MENU_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_TYPE_PAGE_MENU_ACTION, EphyPageMenuAction)) +#define EPHY_PAGE_MENU_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_PAGE_MENU_ACTION, EphyPageMenuActionClass)) +#define EPHY_IS_PAGE_MENU_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPHY_TYPE_PAGE_MENU_ACTION)) +#define EPHY_IS_PAGE_MENU_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EPHY_TYPE_PAGE_MENU_ACTION)) +#define EPHY_PAGE_MENU_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EPHY_TYPE_PAGE_MENU_ACTION, EphyPageMenuActionClass)) + +typedef struct _EphyPageMenuAction EphyPageMenuAction; +typedef struct _EphyPageMenuActionClass EphyPageMenuActionClass; + +struct _EphyPageMenuActionClass { + EphyNavigationActionClass parent_class; +}; + +struct _EphyPageMenuAction { + EphyNavigationAction parent_instance; +}; + +GType ephy_page_menu_action_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __EPHY_PAGE_MENU_ACTION_H__ */ |