aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-06-08 19:18:00 +0800
committerXan Lopez <xan@gnome.org>2009-06-08 19:18:00 +0800
commit6df28df51d598e2fc034e709ff875fd8cff67e9a (patch)
tree105ba7f3f55c9902fb2e7162f461df5f6f767b7d
parenta36fa2b258e671506d2c433839e09a34939f4cb1 (diff)
downloadgsoc2013-epiphany-6df28df51d598e2fc034e709ff875fd8cff67e9a.tar
gsoc2013-epiphany-6df28df51d598e2fc034e709ff875fd8cff67e9a.tar.gz
gsoc2013-epiphany-6df28df51d598e2fc034e709ff875fd8cff67e9a.tar.bz2
gsoc2013-epiphany-6df28df51d598e2fc034e709ff875fd8cff67e9a.tar.lz
gsoc2013-epiphany-6df28df51d598e2fc034e709ff875fd8cff67e9a.tar.xz
gsoc2013-epiphany-6df28df51d598e2fc034e709ff875fd8cff67e9a.tar.zst
gsoc2013-epiphany-6df28df51d598e2fc034e709ff875fd8cff67e9a.zip
ephy-tabs-menu.c: tab titles are not updated.
Code was not updated to reflect latest refactorings. Bug #585139
-rw-r--r--src/ephy-tabs-menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c
index 6963ef324..e7d7ba89f 100644
--- a/src/ephy-tabs-menu.c
+++ b/src/ephy-tabs-menu.c
@@ -170,13 +170,13 @@ tab_action_activate_cb (GtkToggleAction *action,
}
static void
-sync_tab_title (EphyEmbed *embed,
+sync_tab_title (EphyWebView *view,
GParamSpec *pspec,
GtkAction *action)
{
const char *title;
- title = ephy_embed_utils_get_title_composite (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed));
+ title = ephy_embed_utils_get_title_composite (view);
g_object_set (action, "label", title, NULL);
}
@@ -203,7 +203,7 @@ notebook_page_added_cb (EphyNotebook *notebook,
sync_tab_title (embed, NULL, action);
/* make sure the action is alive when handling the signal, see bug #169833 */
- g_signal_connect_object (embed, "notify::title",
+ g_signal_connect_object (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), "notify::embed-title",
G_CALLBACK (sync_tab_title), action, 0);
gtk_action_group_add_action_with_accel (priv->action_group, action, NULL);
@@ -245,7 +245,7 @@ notebook_page_removed_cb (EphyNotebook *notebook,
free_tab_id (action);
g_signal_handlers_disconnect_by_func
- (embed, G_CALLBACK (sync_tab_title), action);
+ (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), G_CALLBACK (sync_tab_title), action);
g_signal_handlers_disconnect_by_func
(action, G_CALLBACK (tab_action_activate_cb), menu);