diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-30 04:53:49 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-30 04:53:49 +0800 |
commit | b1d9cd1f773f6f2fc6fe054d964bf71179388f91 (patch) | |
tree | d11bb18400a3624a72d51627f8c172c1e7cc7a7d /src/bookmarks/ephy-bookmarks-menu.h | |
parent | efd191cf64c092e8f47997b8731d6eb52a6f5326 (diff) | |
download | gsoc2013-epiphany-b1d9cd1f773f6f2fc6fe054d964bf71179388f91.tar gsoc2013-epiphany-b1d9cd1f773f6f2fc6fe054d964bf71179388f91.tar.gz gsoc2013-epiphany-b1d9cd1f773f6f2fc6fe054d964bf71179388f91.tar.bz2 gsoc2013-epiphany-b1d9cd1f773f6f2fc6fe054d964bf71179388f91.tar.lz gsoc2013-epiphany-b1d9cd1f773f6f2fc6fe054d964bf71179388f91.tar.xz gsoc2013-epiphany-b1d9cd1f773f6f2fc6fe054d964bf71179388f91.tar.zst gsoc2013-epiphany-b1d9cd1f773f6f2fc6fe054d964bf71179388f91.zip |
Slightly refactor bookmarks menu, to take a configurable path where to
2004-10-29 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-bookmarks-menu.c: (open_bookmark_cb),
(open_bookmark_in_tab_cb), (add_action_for_bookmark),
(create_submenu), (ephy_bookmarks_menu_rebuild),
(ephy_bookmarks_menu_set_property),
(ephy_bookmarks_menu_get_property),
(ephy_bookmarks_menu_constructor), (ephy_bookmarks_menu_finalize),
(ephy_bookmarks_menu_class_init), (ephy_bookmarks_menu_new):
* src/bookmarks/ephy-bookmarks-menu.h:
* src/ephy-window.c: (open_bookmark_cb), (ephy_window_init):
Slightly refactor bookmarks menu, to take a configurable path
where to merge its UI.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-menu.h')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-menu.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks-menu.h b/src/bookmarks/ephy-bookmarks-menu.h index 890b388fe..b22e55a7f 100644 --- a/src/bookmarks/ephy-bookmarks-menu.h +++ b/src/bookmarks/ephy-bookmarks-menu.h @@ -21,7 +21,8 @@ #ifndef EPHY_BOOKMARKS_MENU_H #define EPHY_BOOKMARKS_MENU_H -#include "ephy-window.h" +#include <glib-object.h> +#include <gtk/gtkuimanager.h> G_BEGIN_DECLS @@ -39,6 +40,10 @@ typedef struct _EphyBookmarksMenuPrivate EphyBookmarksMenuPrivate; struct _EphyBookmarksMenuClass { GObjectClass parent_class; + + void (*open) (EphyBookmarksMenu *menu, + const char *address, + gboolean open_in_new); }; struct _EphyBookmarksMenu @@ -51,7 +56,8 @@ struct _EphyBookmarksMenu GType ephy_bookmarks_menu_get_type (void); -EphyBookmarksMenu *ephy_bookmarks_menu_new (EphyWindow *window); +EphyBookmarksMenu *ephy_bookmarks_menu_new (GtkUIManager *manager, + const char *path); G_END_DECLS |