diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-10-31 21:22:10 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-10-31 21:22:10 +0800 |
commit | 6b866168d7d5b3702f709b5ecb59454761b9e790 (patch) | |
tree | be857c5857c135318677208e63d94ec1d5c88471 /embed/ephy-history.h | |
parent | 1ff25e7c76cafd5abae29b7e7c058cee3f2f2299 (diff) | |
download | gsoc2013-epiphany-6b866168d7d5b3702f709b5ecb59454761b9e790.tar gsoc2013-epiphany-6b866168d7d5b3702f709b5ecb59454761b9e790.tar.gz gsoc2013-epiphany-6b866168d7d5b3702f709b5ecb59454761b9e790.tar.bz2 gsoc2013-epiphany-6b866168d7d5b3702f709b5ecb59454761b9e790.tar.lz gsoc2013-epiphany-6b866168d7d5b3702f709b5ecb59454761b9e790.tar.xz gsoc2013-epiphany-6b866168d7d5b3702f709b5ecb59454761b9e790.tar.zst gsoc2013-epiphany-6b866168d7d5b3702f709b5ecb59454761b9e790.zip |
Store the redirect and toplevel attributes when adding pages to the
2005-10-31 Christian Persch <chpe@cvs.gnome.org>
* 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.
Diffstat (limited to 'embed/ephy-history.h')
-rw-r--r-- | embed/ephy-history.h | 11 |
1 files changed, 8 insertions, 3 deletions
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); |