diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-02 17:03:42 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-02 17:03:42 +0800 |
commit | 6dadef323fb59daefac69200014b1d5f238a911a (patch) | |
tree | f44b28f70a91dee49b95ebbc8d5c7a86a7ea9f3c /src/bookmarks/ephy-favorites-menu.h | |
parent | 5788200966658bf840916954af8718426d33c177 (diff) | |
download | gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.gz gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.bz2 gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.lz gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.xz gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.tar.zst gsoc2013-epiphany-6dadef323fb59daefac69200014b1d5f238a911a.zip |
Move in the bookmarks dir.
2004-07-02 Marco Pesenti Gritti <marco@gnome.org>
* src/bookmarks/ephy-favorites-menu.c:
* src/bookmarks/ephy-favorites-menu.h:
Move in the bookmarks dir.
* lib/ephy-gui.c: (ephy_gui_select_row_by_key),
(ephy_gui_is_middle_click):
* lib/ephy-gui.h:
Add a function to check if menus was activated
by a middle or a ctrl+click (which is equivalent in epiphany)
* lib/ephy-marshal.list:
* src/Makefile.am:
* src/bookmarks/Makefile.am:
* src/bookmarks/ephy-bookmark-action.c: (activate_cb),
(ephy_bookmark_action_class_init):
* src/bookmarks/ephy-bookmark-action.h:
* src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb),
(create_menu):
* src/bookmarks/ephy-bookmarksbar.c: (bookmark_open_in_tab_cb),
(bookmark_open_cb), (ephy_bookmarksbar_action_request):
* src/bookmarks/ephy-topic-action.c: (menu_activate_cb),
(ephy_topic_action_class_init):
* src/bookmarks/ephy-topic-action.h:
Add signals to open bookmarks in new window/tab. I'll need
them for context menus.
Use them for middle/ctrl click.
Diffstat (limited to 'src/bookmarks/ephy-favorites-menu.h')
-rw-r--r-- | src/bookmarks/ephy-favorites-menu.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-favorites-menu.h b/src/bookmarks/ephy-favorites-menu.h new file mode 100644 index 000000000..48c6fbd27 --- /dev/null +++ b/src/bookmarks/ephy-favorites-menu.h @@ -0,0 +1,59 @@ +/* + * Copyright (C) 2002 Ricardo Fernández Pascual + * 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. + * + * $Id$ + */ + +#ifndef EPHY_FAVORITES_MENU_H +#define EPHY_FAVORITES_MENU_H + +#include "ephy-window.h" + +G_BEGIN_DECLS + +#define EPHY_TYPE_FAVORITES_MENU (ephy_favorites_menu_get_type()) +#define EPHY_FAVORITES_MENU(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenu)) +#define EPHY_FAVORITES_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenuClass)) +#define EPHY_IS_FAVORITES_MENU(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_FAVORITES_MENU)) +#define EPHY_IS_FAVORITES_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_FAVORITES_MENU)) +#define EPHY_FAVORITES_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_FAVORITES_MENU, EphyFavoritesMenuClass)) + +typedef struct _EphyFavoritesMenu EphyFavoritesMenu; +typedef struct _EphyFavoritesMenuClass EphyFavoritesMenuClass; +typedef struct _EphyFavoritesMenuPrivate EphyFavoritesMenuPrivate; + +struct _EphyFavoritesMenuClass +{ + GObjectClass parent_class; +}; + +struct _EphyFavoritesMenu +{ + GObject parent_object; + + /*< private >*/ + EphyFavoritesMenuPrivate *priv; +}; + +GType ephy_favorites_menu_get_type (void); + +EphyFavoritesMenu *ephy_favorites_menu_new (EphyWindow *window); + +G_END_DECLS + +#endif |