aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tabs-menu.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-tabs-menu.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-tabs-menu.c')
-rw-r--r--src/ephy-tabs-menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c
index e49b3ce14..a8ec273db 100644
--- a/src/ephy-tabs-menu.c
+++ b/src/ephy-tabs-menu.c
@@ -219,7 +219,7 @@ notebook_page_added_cb (EphyNotebook *notebook,
group = gtk_radio_action_get_group (GTK_RADIO_ACTION (priv->anchor_action));
gtk_radio_action_set_group (GTK_RADIO_ACTION (action), group);
- /* set this here too, since tab-added comes after notify::active-tab */
+ /* set this here too, since tab-added comes after notify::active-child */
if (ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (priv->window)) == embed)
{
gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE);
@@ -307,7 +307,7 @@ sync_active_tab (EphyWindow *window,
LOG ("active tab is embed %p", embed);
action = g_object_get_data (G_OBJECT (embed), DATA_KEY);
- /* happens initially, since the ::active-tab comes before
+ /* happens initially, since the ::active-child comes before
* the ::tab-added signal
*/
/* FIXME that's not true with gtk+ 2.9 anymore */
@@ -339,7 +339,7 @@ ephy_tabs_menu_set_window (EphyTabsMenu *menu,
g_signal_connect (priv->action_group, "connect-proxy",
G_CALLBACK (connect_proxy_cb), NULL);
- g_signal_connect (window, "notify::active-tab",
+ g_signal_connect (window, "notify::active-child",
G_CALLBACK (sync_active_tab), menu);
notebook = ephy_window_get_notebook (window);