aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-17 02:53:41 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-17 02:53:41 +0800
commitbbc813a37feca5e67d2a69e6aba1cd39458660a6 (patch)
treece01afb782f13c99b3185872fa6620fc2809bfca /src/ephy-session.c
parent7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad (diff)
downloadgsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar.gz
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar.bz2
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar.lz
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar.xz
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.tar.zst
gsoc2013-epiphany-bbc813a37feca5e67d2a69e6aba1cd39458660a6.zip
Move active-tab property to the embed-container interface.
Rename it to active-child and fix a bug in the set_property function in EphyWindow, where the wrong function was being called for this property. svn path=/trunk/; revision=7703
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 9ad5c271c..6eca2d2ce 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -1103,7 +1103,7 @@ write_active_tab (xmlTextWriterPtr writer,
current = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook));
- ret = xmlTextWriterWriteFormatAttribute (writer, (const xmlChar *) "active-tab", "%d", current);
+ ret = xmlTextWriterWriteFormatAttribute (writer, (const xmlChar *) "active-child", "%d", current);
return ret;
}
@@ -1487,7 +1487,7 @@ ephy_session_load (EphySession *session,
parse_embed (child->children, window, session);
/* Set focus to something sane */
- tmp = xmlGetProp (child, (xmlChar *) "active-tab");
+ tmp = xmlGetProp (child, (xmlChar *) "active-child");
if (tmp != NULL)
{
gboolean success;