From 6dadef323fb59daefac69200014b1d5f238a911a Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 2 Jul 2004 09:03:42 +0000 Subject: Move in the bookmarks dir. 2004-07-02 Marco Pesenti Gritti * 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. --- src/ephy-favorites-menu.h | 59 ----------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 src/ephy-favorites-menu.h (limited to 'src/ephy-favorites-menu.h') diff --git a/src/ephy-favorites-menu.h b/src/ephy-favorites-menu.h deleted file mode 100644 index 48c6fbd27..000000000 --- a/src/ephy-favorites-menu.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * 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 -- cgit v1.2.3