aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-10-30 03:49:38 +0800
committerChristian Persch <chpe@src.gnome.org>2003-10-30 03:49:38 +0800
commitdd37d52cd37c158e9a6219163336b25b90a33764 (patch)
tree73dde9aa809c4202486eac659996b766e991a5da /embed/ephy-history.h
parentcc10162908abf03fe5e1998d5cee1b41f21e791c (diff)
downloadgsoc2013-epiphany-dd37d52cd37c158e9a6219163336b25b90a33764.tar.gz
gsoc2013-epiphany-dd37d52cd37c158e9a6219163336b25b90a33764.tar.zst
gsoc2013-epiphany-dd37d52cd37c158e9a6219163336b25b90a33764.zip
Add public function to get a host node from a page url.
2003-10-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_add_host), (ephy_history_get_host): * embed/ephy-history.h: Add public function to get a host node from a page url. * src/ephy-tab.c: (address_has_web_scheme), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (open_link_in_new_tab), (ephy_tab_init): Persist zoom settings per host.
Diffstat (limited to 'embed/ephy-history.h')
-rw-r--r--embed/ephy-history.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/ephy-history.h b/embed/ephy-history.h
index 80565aba7..52948b65c 100644
--- a/embed/ephy-history.h
+++ b/embed/ephy-history.h
@@ -45,7 +45,8 @@ enum
EPHY_NODE_PAGE_PROP_FIRST_VISIT = 6,
EPHY_NODE_PAGE_PROP_HOST_ID = 7,
EPHY_NODE_PAGE_PROP_PRIORITY = 8,
- EPHY_NODE_PAGE_PROP_ICON = 9
+ EPHY_NODE_PAGE_PROP_ICON = 9,
+ EPHY_NODE_HOST_PROP_ZOOM = 10
};
struct EphyHistory
@@ -67,6 +68,9 @@ EphyHistory *ephy_history_new (void);
EphyNode *ephy_history_get_hosts (EphyHistory *gh);
+EphyNode *ephy_history_get_host (EphyHistory *gh,
+ const char *url);
+
EphyNode *ephy_history_get_pages (EphyHistory *gh);
EphyNode *ephy_history_get_page (EphyHistory *gh,