aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-08-08 18:51:50 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-08-08 18:51:50 +0800
commit39e2b103e8d51f6c1d932a40a8fd6d18e1680d09 (patch)
tree8f1dddc6300242744109c9d93ebe149b8a6f375e /src/ephy-notebook.c
parent97c9c18a23ad724538d9aa43db0bef78af1eae15 (diff)
downloadgsoc2013-epiphany-39e2b103e8d51f6c1d932a40a8fd6d18e1680d09.tar.gz
gsoc2013-epiphany-39e2b103e8d51f6c1d932a40a8fd6d18e1680d09.tar.zst
gsoc2013-epiphany-39e2b103e8d51f6c1d932a40a8fd6d18e1680d09.zip
Expose notebook->priv->focused_pages to extensions. Fix bug #350187.
2006-08-08 Jean-François Rameau <jframeau@cvs.gnome.org> * src/epiphany.defs: * src/ephy-notebook.h: * src/ephy-notebook.c: * src/epiphany.override: Expose notebook->priv->focused_pages to extensions. Fix bug #350187.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 001ac21f1..a250836a5 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -727,6 +727,14 @@ ephy_notebook_set_show_tabs (EphyNotebook *nb, gboolean show_tabs)
update_tabs_visibility (nb, FALSE);
}
+GList *
+ephy_notebook_get_focused_pages (EphyNotebook *nb)
+{
+ g_return_val_if_fail (EPHY_IS_NOTEBOOK (nb), NULL);
+
+ return nb->priv->focused_pages;
+}
+
static int
ephy_notebook_insert_page (GtkNotebook *gnotebook,
GtkWidget *tab_widget,