aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-04 19:59:38 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-04 19:59:38 +0800
commit29bbfe00469fe536bbf0f1025cde834cec3bec0b (patch)
tree63a51af7a1f508ba64b5e0e8bec023eee2af7f98 /src/ephy-window.c
parent15358f9939f56b8ba5bc9df4499a72d65535ce41 (diff)
downloadgsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar
gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.gz
gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.bz2
gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.lz
gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.xz
gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.zst
gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.zip
Implement bookmarks menu, might need to be optimized later.
2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (bookmarks_changed_cb), (bookmarks_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_not_categorized): * src/bookmarks/ephy-bookmarks.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_finalize): Implement bookmarks menu, might need to be optimized later.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index b4f47c9d5..f73606b50 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -23,6 +23,7 @@
#endif
#include "ephy-window.h"
+#include "ephy-bookmarks-menu.h"
#include "ephy-favorites-menu.h"
#include "ephy-state.h"
#include "ephy-gobject-misc.h"
@@ -269,6 +270,7 @@ struct EphyWindowPrivate
EphyFavoritesMenu *fav_menu;
EphyEncodingMenu *enc_menu;
EphyTabsMenu *tabs_menu;
+ EphyBookmarksMenu *bmk_menu;
PPViewToolbar *ppview_toolbar;
GtkNotebook *notebook;
EphyTab *active_tab;
@@ -604,6 +606,7 @@ ephy_window_init (EphyWindow *window)
window->priv->tabs_menu = ephy_tabs_menu_new (window);
window->priv->fav_menu = ephy_favorites_menu_new (window);
window->priv->enc_menu = ephy_encoding_menu_new (window);
+ window->priv->bmk_menu = ephy_bookmarks_menu_new (window);
/* Once window is fully created, add it to the session list*/
session_add_window (session, window);
@@ -663,6 +666,7 @@ ephy_window_finalize (GObject *object)
g_object_unref (window->priv->fav_menu);
g_object_unref (window->priv->enc_menu);
g_object_unref (window->priv->tabs_menu);
+ g_object_unref (window->priv->bmk_menu);
if (window->priv->ppview_toolbar)
{