aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.h
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-14 07:15:57 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-14 07:15:57 +0800
commitd6350b598732e34420261238b01d2bfb187349c1 (patch)
tree44ae47001b310b432adf9dcdc87bb0e729d28829 /embed/ephy-history.h
parent68a134b7bbdf147afca4d3b2ba361c73155bbeba (diff)
downloadgsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar
gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.gz
gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.bz2
gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.lz
gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.xz
gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.zst
gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.zip
Add icon-updated signal to EphyHistory.
Use it to update the bookmarks icon, as it was done in EphyTab before. svn path=/trunk/; revision=7687
Diffstat (limited to 'embed/ephy-history.h')
-rw-r--r--embed/ephy-history.h45
1 files changed, 24 insertions, 21 deletions
diff --git a/embed/ephy-history.h b/embed/ephy-history.h
index a65bd93aa..151ea6394 100644
--- a/embed/ephy-history.h
+++ b/embed/ephy-history.h
@@ -63,60 +63,63 @@ struct _EphyHistory
struct _EphyHistoryClass
{
- GObjectClass parent_class;
+ GObjectClass parent_class;
/* Signals */
- gboolean (* add_page) (EphyHistory *history,
- const char *url,
- gboolean redirect,
- gboolean toplevel);
- void (* visited) (EphyHistory *history,
- const char *url);
- void (* cleared) (EphyHistory *history);
-
- void (* redirect) (EphyHistory *history,
- const char *from_uri,
- const char *to_uri);
+ gboolean (* add_page) (EphyHistory *history,
+ const char *url,
+ gboolean redirect,
+ gboolean toplevel);
+ void (* visited) (EphyHistory *history,
+ const char *url);
+ void (* cleared) (EphyHistory *history);
+
+ void (* redirect) (EphyHistory *history,
+ const char *from_uri,
+ const char *to_uri);
+ void (* icon_updated) (EphyHistory *history,
+ const char *address
+ const char *icon);
};
GType ephy_history_get_type (void);
EphyHistory *ephy_history_new (void);
-EphyNode *ephy_history_get_hosts (EphyHistory *gh);
+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_pages (EphyHistory *gh);
-EphyNode *ephy_history_get_page (EphyHistory *gh,
+EphyNode *ephy_history_get_page (EphyHistory *gh,
const char *url);
-void ephy_history_add_page (EphyHistory *gh,
+void ephy_history_add_page (EphyHistory *gh,
const char *url,
gboolean redirect,
gboolean toplevel);
-gboolean ephy_history_is_page_visited (EphyHistory *gh,
+gboolean ephy_history_is_page_visited (EphyHistory *gh,
const char *url);
-int ephy_history_get_page_visits (EphyHistory *gh,
+int ephy_history_get_page_visits (EphyHistory *gh,
const char *url);
-void ephy_history_set_page_title (EphyHistory *gh,
+void ephy_history_set_page_title (EphyHistory *gh,
const char *url,
const char *title);
const char *ephy_history_get_last_page (EphyHistory *gh);
-void ephy_history_set_icon (EphyHistory *gh,
+void ephy_history_set_icon (EphyHistory *gh,
const char *url,
const char *icon);
const char *ephy_history_get_icon (EphyHistory *gh,
const char *url);
-void ephy_history_clear (EphyHistory *gh);
+void ephy_history_clear (EphyHistory *gh);
gboolean ephy_history_is_enabled (EphyHistory *history);