From 6b866168d7d5b3702f709b5ecb59454761b9e790 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 31 Oct 2005 13:22:10 +0000 Subject: Store the redirect and toplevel attributes when adding pages to the 2005-10-31 Christian Persch * embed/ephy-history.c: (ephy_history_class_init), (ephy_history_add_page), (impl_add_page): * embed/ephy-history.h: * embed/mozilla/GlobalHistory.cpp: * lib/ephy-marshal.list: * src/epiphany.defs: Store the redirect and toplevel attributes when adding pages to the history (doesn't do anything with the info yet, though). Based on a galeon patch by tko. --- embed/ephy-history.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'embed/ephy-history.h') diff --git a/embed/ephy-history.h b/embed/ephy-history.h index ef4b62d1e..8f7cdd3e4 100644 --- a/embed/ephy-history.h +++ b/embed/ephy-history.h @@ -49,7 +49,8 @@ enum EPHY_NODE_PAGE_PROP_PRIORITY = 8, EPHY_NODE_PAGE_PROP_ICON = 9, EPHY_NODE_HOST_PROP_ZOOM = 10, - EPHY_NODE_PAGE_PROP_GECKO_FLAGS = 11 + EPHY_NODE_PAGE_PROP_GECKO_FLAGS = 11, + EPHY_NODE_PAGE_PROP_EXTRA_FLAGS = 12 }; struct _EphyHistory @@ -66,7 +67,9 @@ struct _EphyHistoryClass /* Signals */ gboolean (* add_page) (EphyHistory *history, - const char *url); + const char *url, + gboolean redirect, + gboolean toplevel); void (* visited) (EphyHistory *history, const char *url); void (* cleared) (EphyHistory *history); @@ -91,7 +94,9 @@ EphyNode *ephy_history_get_page (EphyHistory *gh, const char *url); void ephy_history_add_page (EphyHistory *gh, - const char *url); + const char *url, + gboolean redirect, + gboolean toplevel); gboolean ephy_history_is_page_visited (EphyHistory *gh, const char *url); -- cgit v1.2.3